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
get matrix of all possible contrasts for a single factor variable after regI'd like to get a matrix showing all possible contrasts for a given factor variable after a regressi…
Two-way fixed effects in unbalanced panelHi everyone, I am replicating a paper in an economic journal which uses an unbalanced panel of firm…
How to draw this graph with Stata? Tempogram?Hi. I want to draw this graph with time use data and have been failing to produce one. What would be…
Understanding control variables, and how to use themHi everyone, I'm having difficultly trying to understand what control variables are, and how to use…
Setting up a 3-dimensional panel in Stata with interaction termDear All, I have a query related to a using a 3-dimensional panel in Stata which I am unable to fig…
Subscribe to:
Post Comments (Atom)
0 Response to Listing out the frequency distributions for multiple variables
Post a Comment