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
Can I restore previously closed ado files when I restart the Stata?Dear friends, can we restore previously closed ado files when we restart the Stata? Thank you in adv…
Rescaling the variableHi, I am interested in rescaling the variable which ranges from -2.5 to 2.5 I want to rescale int…
Statistical Area fixed effectsHi, I am trying to control for the CBSA (a statistical area) in my dataset. To do this I think I wo…
Piecewise Linear mixed model with trajectories and change pointsHello, I have written before about this and I have not yet found a solution to my problem. I have p…
Creating interactions of independent variable with industry and year dummiesDear Stata Users, Can you please help me with the following issue. How can I include interactions o…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets together
Post a Comment