Dear all,
here is a screenshot of my data. My dataset includes GDP for all 50 states over a period of three years: 2016, 2017, and 2018. But as you can see the years are not sorted. I would like to start with the GDP for the year 2018 for all 50 states stacked on top of the GDP for the year 2017 for all 50 states and then 2016? Is it possible to to sort by year and by state in alphabetical order?
Array
Thank you in advance for your help
Jason Browen
Related Posts with Help Sorting Data by State and year
How to estimate the marital status (Married and widowed) using the information on the Relationship of person to household headHello, everyone I am having a cross-sectional data on the relationship of person to household head. …
upper bound of confidence interval not providedHello, i am using STATA 16 and i am trying to calculate median survival with the stci command. i ca…
conformability 503 error in tab commandHello, I am trying to do chi2 tests and store the chi2, p, and the frequencies with the following co…
Plot number of events per month, over time (simple)Hi Folks. Sorry Stata beginner here, but wondered if others had a good approach to what I am trying …
Wilcoxon Rank Sum Test between countriesHello everyone, I was talking to my supervisor and he asked me to do a Wilxoxon ranksum test for my…
Subscribe to:
Post Comments (Atom)
0 Response to Help Sorting Data by State and year
Post a Comment