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
Bayesian iRT using bayesmhes …
Which one is better to use, fixed-effect model or simple regression controls ID and year period?Dear All, I have a question. I'm running regressions to see the aid-effectiveness by country-fixed-…
How do I use STATA to do simulations for a Bernoulli trial?Suppose I have a Bernoulli trial that has a success rate of 0.05, and I run it for 30 times. Then I …
Estimated effect opposite than scatter plots and mean differences t-test suggestDear all, I turn to you as I have a puzzle that has frustrated me to the level of despair. I don't …
Which test for case controlsHello, I have a case-control study matched 1:1 that I just want to do a simple test to see which has…
Subscribe to:
Post Comments (Atom)
0 Response to combining commands to keep and drop certain observations
Post a Comment