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
Autocorrelation (ac and pac)I'm using the autocorrelation command ac and the partial autocorrelation command pac. I'm running th…
xtabond2: two way clustering-dynamic panelHello all. For my master thesis I am trying analyse what are the determinants of Non Performing Loan…
Understanding Abadie, Athey, Imbens, and Wooldridge (2017) using a long-difference exampleThere are 100 counties j. There are many people in each county. People do not move across counties f…
How to merge different Excel File.Hello Sir, I have 4 separate -excel files required to merge in one excel file. This is the longitud…
Using esttab to report results for Lagged VariablesHi All, My dataset resembles the following (I have panel data, so multiple observations for the sam…
Subscribe to:
Post Comments (Atom)
0 Response to Help Sorting Data by State and year
Post a Comment