Dear Statalist community,
I have a large panel dataset that I am attempting to do a summary statistics on. I am only using several variables (and its respective observations) and would like to drop the rest. I could drop these other variables one by one, but that would be too many.
Is there a command on Stata that I can input to say "Drop all variables except x y z" ?
Thank you.
Ashvinder
I have a large panel dataset that I am attempting to do a summary statistics on. I am only using several variables (and its respective observations) and would like to drop the rest. I could drop these other variables one by one, but that would be too many.
Is there a command on Stata that I can input to say "Drop all variables except x y z" ?
Thank you.
Ashvinder
Comment