I would be grateful for advice on whether I need to execute the commands step by step (in what sequence?) or if I combine all the commands. I have 6000 observations in total but only need to segregate those in specific ages (currently they are continuous) which are 50 and above. Out of these observations, I need to drop those who are retired and leave with only 3 other categories (work full time, work part time and unemployed). Then I need to further subdivide them into 4 age categories 50-54, 55-59, 60-64, 65+. How should I do it? Thank you so much.
Related Posts with combining commands to keep and drop certain observations
Creating Dummy Variable r(109) errorHi Everyone, I am trying to solve r(109) error after used the following code. Could someone please…
Ex-post MDEHi everyone, I am trying to perform some ex-post power estimations, particularly trying to estimate…
correlation analysisHi, For small study/hypothesis generating work sometimes it is recommended to do correlation analys…
Merging issue with using data since the variables cannot uniquely identify observationsHello, This is my master data. My master is repeated cross section. Code: * Example generated by -…
Getting error while creating interaction dummy with year and another variableHello, I'm trying to create distance and time interaction dummy variables with my sample dataset gi…
Subscribe to:
Post Comments (Atom)
0 Response to combining commands to keep and drop certain observations
Post a Comment