Hello, I am lost and could need some help!
I have one variable, lets call it X, which includes living situation (alone, with one other person, with 2, with 3, etc) but this variable only exists in datasets 2000 and 2001. Then I have variable Y, which is the exact same thing, but in data sets 2002, 2003, 2005, 2006, 2008, and 2010. I have already appended all data sets into one. How do I merge variable X and Y to create one variable? ( I am looking for the coding I can write into STATA pls!)
Thank you!
Related Posts with Merging Two Variables
numbered listIs there a command to create a numbered list, e.g., from 1804 to 2018. …
Propensity matchingHello, I am new to stata and getting this error while running propensity matching. . quietly dr DI…
Estout - Showing Two Coefficients in PercentageHi Everyone, I am running following code: xtset id month eststo:xtreg rateofreturn_excess mkt_rf …
Interpreting multiplicative interaction in StataDear all, I am interested in evaluating if there is multiplicative interaction between one categori…
How to obtain confidence intervals for weighted median survival time Hello, I am seeking for guidance on how to calculate or obtain the confidence intervals for weighte…
Subscribe to:
Post Comments (Atom)
0 Response to Merging Two Variables
Post a Comment