Hi! I'm working with my master thesis and struggling av bit with handling some of my variables in Stata. In a question from my surve the respondents are asked to choose "a maximum of two alternatives" (it's about what they consider their main activity/activities). In stata, this variable now appears as 9 distinct variables, but I hoped it would be one variable that I could recode into a dummy set. Is it possible to merge the variables and make that happen?
Thanks to anyone spending time answering.
Related Posts with Merging set of variables
Handling large percentage of zero-valued observations in the dependent variable in a panel datasetI am writing a paper using a panel dataset in which my depepent variable has an large percentage amo…
generate or replace a variable -- with a string typeHi guys I have a string variable in the dataset. It contains a long list of heart diseases. I would…
Setting manual coefficientsFor a hypothetical case in class the following question is asked: We have the following model: Y = …
Competing risks in survival analysesDear reader, I would like to know the difference in my survival analysis approach. I have 4 types o…
correlation and proportional weightsHello, I am not able to use proportional weights with correlation but can use analytical weights. Ca…
Subscribe to:
Post Comments (Atom)
0 Response to Merging set of variables
Post a Comment