I am currently in a tricky situation. I have a dataset with 83,311 observations and 109 variables. I need to add a categorical variable, "year", to it ("year" is either =2015 or =2016). I have created from other files a new Stata dataset with that one variable, "year", only, also with the same 83,311 observations. How do I incorporate this new variables (with matching observations) into my first dataset, with all the other variables?
Best and happy easter!
Vitor
Related Posts with Merging datasets together
Cointegration testHi i am doing panel analiz for banking sector i have data for 8 year for 231 banks the panel data d…
SURE modelEstimation via SURE model(Seemingly Unrelated Equation Models) Today, 00:43 dependent variabl…
Forgot how I calculated a particular variableHi Stata community, Sorry to bother you all for such a silly query. I forgot how I calculated a pa…
How do I make multiple variables in each dataset the same 'type' in order to append datasets and avoid losing data?I have a large number of datasets that contain 30+ of the same variables. I am attempting to append …
Potential problems with probit models and SolutionsDear all users of Statalist, I'm currently working on the my master thesis with the topic of farmer…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets together
Post a Comment