Hi there - I built a new dataset in Excel and have been using it in Stata (copied and pasted in the data editor, no problem). But now I have new columns of data that I need to add to it and I can't figure out how, without starting all over and just copying and pasting the entire Excel spreadsheet all over again in a new dataset. There has to be an easier to way to add to my existing dataset.
Can anyone help?
Thanks!
(It's a dataset of info on the 50 states (rows in excel), with about 20 variables for each state (columns in excel))
Related Posts with Import new variable from Excel to existing dataset?
Finding stock beta with a forvalues loopI am performing an event study and am trying to estimate the beta of 60 different public companies d…
ivreghdfe cannot show first stage outcomeDear statalist, I am using ivreghdfe and want to know the regression in the first stage. However, s…
Problem with excluding observationsHello, everyone! I am fairly new to Stata and I am trying to work out how to exclude some oberserva…
IPWRA and PSMATCH, how to choose..Hi all, I have a longitudinal dataset with individuals some of which received a treatment at some t…
reshapeHi, I am trying to reshape my data. Stata says that the data is currently wide. The current data is…
Subscribe to:
Post Comments (Atom)
0 Response to Import new variable from Excel to existing dataset?
Post a Comment