Hi,
I know this topic has been discussed several times already, however, none of the solutions seem to work for me.
I have the time series dataset for GDP that I got from the BEA. This is the screenshot from STATA.
[ATTACH=CONFIG]temp_17453_1585272953942_897[/ATTACH] I want to reshape it from wide to long and use this command in STATA:
reshape long GDP, i(GeoFips) j(year)
It gives me that "variable id does not uniquely identify the observations".
Any suggestions on how to deal with this problem?
Thank you,
Lena
Related Posts with Reshaping from wide to long
Interface bug with framesDear Statalist users, I am running across an interface error that seems to be a bug in Stata 17 whe…
PcaHi dears, I would like to have help with the PCA. I have a dataset with ten variables, most of all f…
How to specify residual correlation structure in glmHello all, I'm trying to fit a Poisson model to the rate of hospitalizations for children under 5 y…
How to design a correct twoway scatter graph?Good morning to the community. I would like to design a graph like this:Array But I would like fir…
Comparing omega-squared between modelsDear Forum, Is it allowed to compare omega-squared coefficients of different independent variables a…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping from wide to long
Post a Comment