Hi all,
I have a relatively rudimentary question. I have a dataset with the same variable listed in two places. Some of the participants answered in one variable and other in the second. I want to combine these variables into one variable. How would I go about doing this?
Best,
David
Related Posts with combining variables
egen problemHi list, I want to generate a variable that equals the mean of the values of the first two nonmissi…
Assigning colors to stacked bar plot with ordinal y-variable.Dear Forum, I would like to plot a stacked bar graph of an "outcome" over hiv status (positive vs. …
"Encode" a String with another String?Hello: I am trying to create a long code list where var1 is a string and what it should represent is…
New to stata, Impossible problem for a summary table?Hello all- I'm so glad I found this forum! I've just started working with stata for a biostats class…
Diff in diff: Fix data for one-to-one matching propensity scoreI have a data set of companies with the date they were acquired by a business group and a control gr…
Subscribe to:
Post Comments (Atom)
0 Response to combining variables
Post a Comment