Hello I am trying to transform my wide data (5 countries,3 variables, quarterly data from 1966-2021)into long (panel) but when I try to run the command reshape long GDP CPI REC, i(ID) j(years) ,I get either: variable id does not uniquely identify the observations or variable years contains all missing values. I am really confused because I had approximately the same format in another dataset and reshape worked just fine.
Thank you in advance
Related Posts with HELP-Variable id does not uniquely identify the observations & variable years contains all missing values
append 65.000 .csv filesI have 8 folders and in every forlder I have 35042 .csv files. I would like to import and append al…
Panel data gaps and minimum number of observationsDear Statalisters, I am currently working on my Master Thesis and thus I analyze company financials…
Storing coefficients when running same regression for different sampleDear Statalisters; I need to run the same regression for 5000 different samples. I have a separate …
rlaplace(m,b) command not workingHi, I would like to generate a random variable according to the laplace distribution. The command '…
Dealing with weights stata.In SPSS, when activate the weight variable, the data case number get multiplied by number in weight …
Subscribe to:
Post Comments (Atom)
0 Response to HELP-Variable id does not uniquely identify the observations & variable years contains all missing values
Post a Comment