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
On the regular expression of StataI found regular expression of Stata very confusing. For instance: Code: disp regexm("010-11223344",…
Generating a new variable that contains only some values of other variablesDear all, I have a set of variables (i.e., v1 to V) from which I would like to extract some single …
Regression discontinuity design - discrete running variableI am conducting a sharp RD, with my running variable being the age of the woman in months. I am tryi…
TestTesting …
Factor not found in list of covariatesHello, I have tried searching for an answer to my question but have not be able to find one. I am r…
Subscribe to:
Post Comments (Atom)
0 Response to Listing out the frequency distributions for multiple variables
Post a Comment