Hello,
I am trying to select a couple of cases in a dataset - and perform a set of operations/changes on those cases. In SPSS, I can use SELECT IF to temporarily restrict operations to cases fiting that criteria. After saving the operations, I can remove the restrictions to work on the full dataset.
In STATA, I think I can temporarily use KEEP IF to temporarily restrict operations to data satisfying the IF condition. But once I am done with operations on those temporarily selected cases, how can I remove the restrictions and save changes to the full dataset?
Thanks for any advance - cY
Related Posts with Keep if or Drop If
Bar Graph with loopHi, I want to create a bar graph for multiple variables and combine them in a graph using a loop. B…
Princeton's Event study did not generate the predicted returnHi everyone, I've gone through the Princeton event study stata coding, everything run through (I ha…
Multicollinearity in a panel regressionHello, I have downloaded data from the Barro-Lee educational attainment data set and merged this wi…
ivreghdfeHello professor I have a question, I remember the R2 range in 0~1 range in 0~1 why I got a minus R2 …
Program a logistics commandHey everyone, I am trying to write a program that will do logistics on different variables. Final s…
Subscribe to:
Post Comments (Atom)
0 Response to Keep if or Drop If
Post a Comment