Hi everyone,
I have a panel data set of more than 100 companies with different variables,
such as Dir Equity, and family equity by years from 2008 to 2019 and managerial and individual ownership from 2018 to 2012 the example is given below,
input str7 Companies int(Year Years) double(Managerialownership Individualownership Institutionalownership)
"" . . . . .
"AABS" 2008 2018 2845279 13072218 863344
"AABS" 2009 2017 2354497 1286968 863344
"AABS" 2010 2016 2553497 1526550 863344
"AABS" 2011 2015 2553497 2112150 863344
"AABS" 2012 2014 2353497 1728013 863344
"AABS" 2013 2013 2301997 556517 2246527
"AABS" 2014 2012 2550350 760982 2766391
"AABS" 2015 2015 . . .
"AABS" 2016 2016 . . .
"AABS" 2017 2017 . . .
"AABS" 2018 2018 . . .
"AABS" 2019 2019 . . .
"AASM" 2008 2018 7977744 2900602 1814370
"AASM" 2009 2017 8457083 2892597 1794370
"AASM" 2010 2016 8457083 2898103 1817370
"AASM" 2011 2015 8457083 2633262 2082211
"AASM" 2012 2014 8457083 2487363 2228108
"AASM" 2013 2013 8457083 2471863 2243610
"AASM" 2014 2012 8457083 2387463 2244101
end
[/CODE]
I want to sort years in the same order either Ascending order or Descending Order
Kindly help me in this regard
0 Response to Sorting Years in a panel data set
Post a Comment