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
"record too long" in Stata16 MPI was dealing with a dataset (about 50 thousand variables and unknown observations) download from So…
Small sample mixed methods with varying degrees of freedom and lincomHi Stata experts! I have a situation that I've been unable to Google my way to a resolution. I hav…
Creating a variable that counts the number of respondents in different ethnic groups per yearGreetings, I'm running Stata 15.1 and working with data from the American Community Survey. My goal…
Diff-in-diff analysis with two filesDear Stata community I am having some problems with my data. I want to run a diff-in-diff analysis …
Cannot get ipdfc to workI happened to come across a user written program which might be the solution to what I am attempting…
Subscribe to:
Post Comments (Atom)
0 Response to Merging Two Variables
Post a Comment