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.
Repeated random sampling without replacement from a panel dataI have annual stock returns for a number of firms for about 20 years. The total firm-year obs are ab…
create a table with two "variable-groups" as x- and y-axis and the corresponding returns for each combinationHello I am trying to recreate table1, panel A from Fama & French (2015), which looks as follows…
Stepwise Regression IssueHi, I am trying to perform a stepwise regression with a lot of independent variables (790), and wit…
perfect prediction issue in mi impute chained with 3-way interaction termI am imputing the interaction terms in a three way interaction using mi impute chained; I use the Ro…
Error in Time Series Plot when laggedHello All! I am working with sectoral employment data pulled from the FRED using "import fred". Aft…
Subscribe to:
Post Comments (Atom)
0 Response to Creating a Complicated Variable.
Post a Comment