Hello
I have the dataset as below. It is just one long row variable. I want to reshape using reshape long bV, i(group) j(year).
bV_1998_g1..... 1998 is year and is until 2010 and g1-g17 is a group. But there is no year and group variable so,this is not set as a time series variable.
How can I reshape this? Thank you!
Related Posts with reshape the dataset
Exponent operator doesn't work with generateCan anyone explain this problem I'm having in Stata 15. I just want to generate a variable which is…
Summary stats for panel dataI have the following dataset from years 2000-2010. Code: * Example generated by -dataex-. To insta…
Estimating confidence intervals of the cumulative structural impulse–response functionsHello, I have estimated csirf following the instructions from this post: https://blog.stata.com/201…
variable Omitted due to collinearityHi, I am facing the similar problem of collinearity among independent variables but my model contain…
-groups- by functionHello I want to list the "top 10" causes of death by age group. The -groups- command works nicely f…
Subscribe to:
Post Comments (Atom)
0 Response to reshape the dataset
Post a Comment