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
Academic due diligence and robustness testing for a Fixed Effects modelHello Statalist! I have a large N, small T panel dataset on which I have run some fixed effects reg…
How to use the variance of a variableThis may be a noob question. I have been given individual-level data on 10000 person. I have variab…
Counting the number of total active and inactive medication by patient and general advice on Cox regressionDear Statalisters, I just started using Stata. I would like to create a panel data for each patient…
Blue-gray thin frame when combining graphsHi Everyone, I want to combine two graphs using 'gr combine' command. Each individual graph looks a…
Import label value from .csv fileHi, i've a file with all my labels values, and i would like to put them into my database. My .csv i…
Subscribe to:
Post Comments (Atom)
0 Response to Keep if or Drop If
Post a Comment