Hi my original dataset (year 2007) had over 2000 variables and i dropped them all except from 8 variables which i kept. I did the same thing with the datasets for different years (2008, 2009, 2010, 2011 and 2012) so each dataset had the same 8 variables. Using the APPEND in stata i appended these datasets together to make one overall dataset to then carry out a cross sectional regression.
However, i have now realised i want to include a 9th variable within the overall dataset which is contained within each of the 6 individual datasets. How can i add this variable to my dataset?
Hopefully my question is clear-ish, i've tried to explain it the best i can
Thanks for any help in advance, Anya
Related Posts with Adding a variable to a dataset from another dataset
spmaps | How to overlay three (or more) polygons?Hi there, I would like to draw a map and then overlay it with two polygons (in my case the EU at NUT…
Estimation of standard error for wtpHi everyone! I have estimated willingness to pay using wtp command and now I want to calculate stand…
Create a macro of all polynomials and all possible interactions between variables that are set in one macro.Dear forum users, I have a programming problem when setting up a macro and would like to ask your h…
Create Country pair dummiesDear All, I have a dataset with one country exporting to 84 countries and importing from that 84 cou…
Forecast with panel data techniquesI am trying to use panel data techniques as a forecasting tools, although little research is dedicat…
Subscribe to:
Post Comments (Atom)
0 Response to Adding a variable to a dataset from another dataset
Post a Comment