Hello all,
I have 7 variable all coded 0 = no and 1 = yes. (nothing else). All variables ask if you are in a certain club. I want to create a variable that includes all 7 variables. The new variable says 0= no if you are in NONE of the clubs, but if you are in any of the 7 clubs (even just 1) you would be coded as 1 = yes. Any ideas on how this would be possible? I include a screenshot of one of the 7 variables below. All help would be extremely appreciated!!
Related Posts with Creating a Complicated Variable.
What is a GROUP variable in difference in differences analysis?Query: What is a GROUP variable in difference in differences analysis? Study: Newspaper articles fr…
Testing for model specification error in fractional regressionHello, I employed fractional regression model proposed by Wooldridge and Papke to estimate the depe…
Old bugDear All, I hope someone following Stata for many years can help me with remembering: there used to…
VAR and Impulse response functionDear Statalists, I am working on a project where I need to 1. estimate the reduced form VAR to pred…
Separating a string variable into separate variablesI have a string variable CODEX which has the underlying cause of death coded first, and any secondar…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Complicated Variable.
Post a Comment