Hi, i have 3 variables concerning migrationsbackground: born in country (yes or no), mother born in country (yes or no) and father born in country (yes or no). What i want is to create a new variable called migrationbackground where its yes if mother and father is no or if born in country is no.
Hopefulle somebody can help me to do this. Thanks
Related Posts with Help with merging variables
Interpreting multilevel mixed-effects linear regressionHi, I am doing medical research and I am currently facing some challenges. I have received help fr…
LoopHello Stata-Community, I have a varlist called 'surgery' containing numbers from 1-5. I would like …
Margins of an interaction after xtlogit, reDear all, I run into an apparently (at least, for me) strange result. I have a longitudinal (even if…
Rolling Window Regression CAPMHello Together I would like to do a rolling window regression (i.e. explain the returns of the funds…
Interaction terms giving error "factor variables may not contain noninteger values"Hi, I have data of rainfall for each state and year, and I am explaining it based on the size of th…
Subscribe to:
Post Comments (Atom)
0 Response to Help with merging variables
Post a Comment