Drop Variables and Drop Observations Based on Conditions in Stata

  Рет қаралды 3,253

The Data Hall

The Data Hall

Күн бұрын

Пікірлер: 6
@tiago4166
@tiago4166 10 ай бұрын
Best video about it on youtube. Clear and straight to the point! It helped me a lot. Thanks from Brazil!
@thedatahall
@thedatahall 10 ай бұрын
Glad it helped
@abdulmateen6101
@abdulmateen6101 7 ай бұрын
Excellent and precise video, please clarify what is the difference between "bys firm (year) and bys firm year"
@thedatahall
@thedatahall 7 ай бұрын
Thanks. By firm year means perform the command (whatever command comes after colon ":") for each firm and each year. By firm (date) mean perform the command on each firm but first sort data within each firm based on year
@kwizeralambert1316
@kwizeralambert1316 4 ай бұрын
Thank you for your teaching videos. They are very helpful. I was wondering if you have a video on how to combined more than one observations into one single observation in stata. To be clear, let us assume this scenario on disability types: 1- Difficulty in seeing : Yes = 1, No = 0 2- Difficulty in walking : Yes = 1, No = 0 3- Difficulty in speaking: Yes = 1, No = 0 4- Difficulty in hearing : Yes = 1, No = 0 Then we want to combine all these 4 observations into one single observation. This single observation can be named Persons with disability ( Yes: 1, No:0), Any guidance will be appreciated.
@thedatahall
@thedatahall 4 ай бұрын
Check this link m.kzbin.info/www/bejne/pn6riYeEi7uBpLc