Dear all,
I have an unbalanced panel with a high number of countries over the periods 1963-2019. I want to replicate some regressions from a paper (picture attached). What the paper calls initial productivity is the first value of value added per worker for any industry i in year t for country j (all industries are within the same sector).
In addition, I would like to incorporate five year periods in my regressions in order to avoid losing observations (some countries do not observations for particular years but for sure over a time frame). For instance, I would like to incorporate log of initial productivity (1970-1975,1975-1980, 1980-1985, and so on). Thank you!
I have an unbalanced panel with a high number of countries over the periods 1963-2019. I want to replicate some regressions from a paper (picture attached). What the paper calls initial productivity is the first value of value added per worker for any industry i in year t for country j (all industries are within the same sector).
In addition, I would like to incorporate five year periods in my regressions in order to avoid losing observations (some countries do not observations for particular years but for sure over a time frame). For instance, I would like to incorporate log of initial productivity (1970-1975,1975-1980, 1980-1985, and so on). Thank you!
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int(country year) byte isic double ValueAdded byte(isiccomb sourcecode) long(Establishments Employment) double(Wages OutputINDSTAT4 GrossFixed) long(FemaleEmployees value51) 4 1981 34 . . 3 0 0 . . . . . 760 1968 35 . . 3 . . . . . . . 344 2018 33 . 33 3 . . . . . . 96 242 2017 20 42178168 20 3 30 1469 9843363 93672331 271908 142 87 608 2000 28 . 28 3 . . . . . . 32 760 1967 18 5811518 . 3 . 8580 2589005 17015707 . . . 242 2012 22 13823877 22 3 55 480 2782765 27856861 134914 105 . 608 1990 28 155858580 28 3 7404 36600 52611012 454371568 7897822 . . 156 1990 29 10115596060 . 3 48179 9890000 . 34998478009 . . . 12 2009 22 . 22 3 . . . . . . 124 780 1969 23 77300000 23 3 . 6700 . . . . . 760 1963 34 78534 . 3 . 110 26178 261780 . . . 860 2016 25 321229433 25 3 2022 14426 55804672 875025987 151945390 3295 125 512 2014 25 139738010 25 3 60 4847 62999927 469677475 7837602 271 . 156 2018 20 . 20 3 9153 1012000 . 139213419918 . . . 344 2006 22 . 22 3 . . . . . . 112 158 2008 32 . 32 3 . . . . . . 59 376 2013 32 . 32 3 . . . . . . 104 760 1975 35 . . 3 . . . . . . . 760 1971 35 . . 3 . . . . . . . 344 2003 24 251067519 24 3 378 6400 139467685 922592866 19905609 2301 76 158 2002 32 . 32 3 . . . . . . 22 608 1982 26 98829040 26 3 2477 30900 42857143 287822014 26346604 . . 48 1992 22 . 22 3 15 1421 9436170 51382979 2638298 82 . 4 2018 19 . 19 3 . . . 516070 . . 81 780 1992 32 . 32 3 . . . . . . 104 12 2009 36 . 36 3 . . . . . . 123 608 2016 17 170237535 17 3 190 27190 93235845 548655467 3853243 13310 92 608 2015 29 382811271 29 3 283 25840 150056568 1498587780 59139166 7266 100 275 2014 22 21520000 22 3 449 1487 12012400 49778800 552400 . . 818 2000 19 . 19 3 . . . . . . 1809 376 1968 29 52285714 . 3 . 9150 21142857 99714286 5182857 . . 760 1985 19 . . 3 . . . . . . . 275 2018 29 20887100 29 3 . 884 6713300 44953000 120800 19 . 48 2002 32 . . 3 . . . . . . . 344 2005 29 616406678 . 3 1753 14300 412094995 1705983272 55031718 . . 706 1979 26 2083400 26 3 . 693 562351 3870056 . . . 760 1973 17 153481985 17 3 . 40200 32129733 363041915 . . . 158 2002 23 . 23 3 . . . . . . 83 512 2009 25 . 25 3 . . . . 12583022 . . 512 2015 34 7885482 34 3 2 132 1535152 19327935 127425 20 100 760 1992 27 45256125 27 3 188 1900 14521158 223518931 . . . 780 1993 20 3120855 20 3 74 735 2429408 6204335 2859227 . 15 4 1991 33 . 33 3 . . . . . 0 . 158 1979 28 390164815 28 3 . . . 1992494588 . . . 784 2018 17 182981620 17 3 559 10042 88495575 573451327 . . . 4 2007 21 . 21 3 . . . . . . 70 706 1974 18 1301033 . 3 . 799 415409 3544083 233836 . . 242 1978 18 1721835 . 3 . 535 784155 4670684 12991 . . 780 1996 28 . 28 3 . . . . . . 8 818 2014 33 . 33 3 . . . . . . 73 344 1979 35 . . 3 . . . . . . . 608 1986 22 42333632 22 3 380 16200 20798911 143090619 3139458 . . 608 1986 25 80791995 25 3 280 30700 36005661 300210692 7848646 . . 818 2005 32 . 32 3 . . . . . . 10 780 2006 31 19976924 31 3 16 . 9362698 97904356 . . 104 818 1978 35 . . 3 . . . . . . . 608 2006 20 . 20 3 . . . . . . 99 760 1967 16 28167539 16 3 . 7580 7369110 33507853 . . . 646 2015 15 275053652 15 3 . . . 1015475858 . . 100 156 2017 35 . 35 3 4824 1683400 . 250358534967 . . . 760 1985 34 . . 3 . . . . . . . 760 1983 34 . . 3 . . . . . . . 70 2009 36 . 36 3 . . . . . . 52 70 2010 33 . 33 3 . . . . . . 324 608 2019 35 . 35 3 . . . . . . 140 760 1979 34 4152866 . 3 . 800 2305732 12993631 . . . 512 2006 18 . 18 3 . . . . 31160 . . 818 2001 26 . 26 3 . . . . . . 56 4 2005 27 . 27 3 . . . . . . 50 608 1972 23 65319898 23 3 . 1100 2696693 259631614 10472158 . . 760 1967 28 6596859 28 3 . 6490 832461 13874346 . . . 780 1988 36 1066667 36 3 . 2109 988618 3095935 . . 30 156 1990 15 6903107705 15 3 74912 4150000 . 37094978935 . . . 760 1983 28 402802548 . 3 11781 6386 31847134 886369427 . . . 512 2011 23 1446014970 23 3 18 1670 36201025 4923190596 6478146 . 89 760 1973 34 444648 . 3 . 180 128163 1307788 . . . 780 1988 33 . 33 3 . 0 . . . . . 84 1990 27 0 27 3 0 . 0 0 . . . 780 2007 32 . 32 3 2 . . . . . 298 12 1971 15 200096160 15 3 . 24245 60659874 595199565 . . . 376 1973 27 72904535 27 3 . 5800 22434368 168019093 . . . 344 2012 15 . 15 3 . . . . . . 86 760 1972 34 329843 . 3 . 150 83770 1308901 . . . 706 1975 16 . . 3 . . . . . . . 780 1985 16 48204082 16 3 1 400 9510204 58816327 1387755 . 23 608 1994 15 3289557885 15 3 2716 184200 546648322 8209385208 428569801 51314 . 158 1980 16 412904214 16 3 . . . 625620863 . . . 4 1979 17 . 17 3 . 23733 . . . . . 760 1982 36 34394904 36 3 1524 17100 10394904 228789809 . . . 706 1986 28 219889 28 3 . 219 70458 604278 . . . 662 1992 22 2348148 22 3 15 . . . . . . 784 2018 18 1090810075 18 3 11556 83297 409530293 2135330157 . . . 275 2016 22 24789100 22 3 469 1570 11910700 55569500 1610500 145 102 156 2016 21 . 21 3 6586 1336084 9847036772 220074774873 1001433070 516784 106 70 1995 18 . . 3 26 6728 . . . . . 682 2011 18 1056889867 18 3 28248 62687 287694400 1913107200 417017333 9325 . 70 2006 29 . 29 3 . . . . . . 122 156 2012 17 . 17 3 21217 . . 527287929835 13436711910 . 81 242 2004 28 12139533 28 3 45 546 4220330 51168642 141280 132 . end