Hello!
Quick question - I have data from a survey where participants can select multiple options for race. It comes across in our dataset as multiple yes/no (1/0) variables for each race category. I am trying to collapse them - but first I want to look at how these are distributed throughout the dataset. I am familiar with how to do this is SAS. It would be something like this:
proc freq data=have;
table var1*var2*var3*var4*var5/list missing; run;
I also use this a lot to check to make sure my newly created variables are correct. How can I replicate a similar output in STATA?
Thanks!
Related Posts with Listing out the frequency distributions for multiple variables
Dropping unnecessary variable from BRFSS data to save spaceIs there any efficient way to keep the variables I need and drop all the unnecessary variables ? In …
fe and first-difference estimator with controls and weight in baseline yearI have been learning from Statalist for some years now. Thank you for being there for us! First time…
Question about "spxtregress, re sarpanel" and serial correlationRecently saw this tweet from Jeffrey Wooldridge and it made me question my understanding of how spxt…
Converting Stata version 16 to Stata version 12 with Stat/Transfer in LinuxDear Forum Members, I have some Stata version 16 data files, which I would like to convert to Stata…
post and postfile help after regressionI am running a simple regression repeated for ~1,000 variables in a loop. I would like to capture th…
Subscribe to:
Post Comments (Atom)
0 Response to Listing out the frequency distributions for multiple variables
Post a Comment