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
Help to shorten a loop:>I would like to know what error am I making. I am trying to run the next loop. I don't want to w…
Converting X Y to Lat LongHas anyone written a package that will convert X Y (e.g., NAD83) into Long Lat (e.g., WGS 1984) in S…
Identifying two prescriptions within a variable length episode of care using a date variable in a long datasetHello Statalisters, I have the following example long data set. I have matched together data on eme…
Peculiar AR(1) and AR(2) Results from xtabond2Hello! For a university project, I am investigating the impact of income inequality on economic gro…
how to deal with reverse causality in panel dataHi there, For an assignment I have to examine the causal effect of working part-time versus working…
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