Dear all,How to reshape the data below to panel data?
clear
input double(year FDI_beijing FDI_tianjin FDI_hebei)
1995 1079.99 1520.64 541.75
1996 1552.9 2006.37 825.87
1997 1592.86 2511.35 1100.64
1998 2168 2113.61 1428.68
1999 1975.25 1763.99 1042.02
2000 1683.68 1166.01 679.23
2001 1768.18 2133.48 669.89
2002 1724.64 1581.95 782.71
2003 2191.26 1534.73 964.05
2004 2559.74 1720.91 699.54
2005 3526.38 3329 1912.56
2006 4551.91 4369 2382.74
2007 5065.72 5278 2416.21
2008 6081.72 7419.78 3418.68
2009 6120.94 9019.85 3598.24
2010 6363.58 10848.72 3830.74
2011 7054.47 13056 4680
2012 8041.6 15016 5804.86
2013 8524.18 16828.97 6447.2
2014 9040.85 18866.76 6371.96
2015 12996.35 21134.44 6180
2016 13028.58 10100 8150
2017 24309.09 10608 8489.51
2018 17310.89 4594 9080
2019 14212.99 4732 9850
2020 14100 . .
2021 15560 . .
end
[/CODE]
Related Posts with How to reshape this data to panel data?
Intercept conditional on state of the economyDear Statalisters, I am looking for some help on running a regression in which I aim to find interc…
"Convergence not achieved" - xtlogitHi all, I have a problem when performing an xtlogit regression (I've gone through a couple of threa…
Exporting results of tabulate to excelHi Statalist, Please consider the following data: Code: * Example generated by -dataex-. To instal…
Why does my logistic regression model fail the Homer and Lemeshow's test?Hello everyone, I apologize in advance if my questions seem incredibly dull. Trying to teach myself …
Accounting Research suggestions!Sorry this might be a little bit long post and not related to the forum at all. I do not know. I am …
Subscribe to:
Post Comments (Atom)
0 Response to How to reshape this data to panel data?
Post a Comment