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
Path Model with (endogenous) Treatment - which model, which command?Hello all I have collected data on the intention to create a new business of my students. I measur…
bootstrap to get the confidence intervals for a linear cobmination of regression coefficientsI am estimating a variable called tot, tot=t1+t2 t1=p1*c1 p1 is the mean of a variable, c1 is the co…
Marginal effect*Dear community! I have conducted ordered probit regression with 10 categories DV and I would like to…
Predicted probability for each DV outcomeDear community! How to create a table for predicted probability effect of each IV on each DV outcome…
Use mimix command for cross-sectional dataHi everyone, I'm interested in applying the reference-based sensitivity analyses using multiple impu…
Subscribe to:
Post Comments (Atom)
0 Response to Reshaping from wide to long
Post a Comment