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