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
Help with Panel GMMDear All, I hope everyone is fine and safe. I have data for about 120 countries for Five-Time perio…
Combining several smoothed plots into one paneI have longitudinal data and want to examine inter-individual differences in the within functional f…
svmat variable not found?I am trying to run the following code: Code: //create the dataset for the forestplot. matrix ipd =…
Omitted variables in a fixed effect model but low correlation between variables. What's going on?I have two indicator variables, Female and Immigrant, which are omitted when I run a fixed effect re…
actest for postestimation: run the original regression with lags, or without?Running Stata 14 on Windows 10. I'm trying to make sure I'm implementing actest correctly to test fo…
Subscribe to:
Post Comments (Atom)
0 Response to Merging Two Variables
Post a Comment