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
Standard errors for each replication(iteration) in bootstrapHello, I am trying to figure out if there is a way of saving all the individual standard errors one …
combine columns and rows into one rowHello Users, Please help with data transformation. The current data format: sub-var1 sub-var2 sub-v…
Local Projections,Hello Everyone, I need to know, How to normalize a shock to 1%of GDP in local projections Thank Y…
Independent t-test for differences other than 0Dear Stata Experts, I would like to run the independent t-test for the following dataset and want t…
Generating Single Change Variable In Panel DataHello Stata Folk! I'm reaching out with what I would guess is a question whose answer is very simpl…
Subscribe to:
Post Comments (Atom)
0 Response to Merging datasets together
Post a Comment