Code Test
Code:
xtreg ff.logny02a i.phase1##i.regulated i.phase2##i.regulated c.logfixedassets i.nace i.country i.year, re note: 2007.year omitted because of collinearity note: 2012.year omitted because of collinearity Random-effects GLS regression Number of obs = 2,558 Group variable: id Number of groups = 292 R-sq: Obs per group: within = 0.0070 min = 3 between = 0.3712 avg = 8.8 overall = 0.2377 max = 13 Wald chi2(51) = 162.25 corr(u_i, X) = 0 (assumed) Prob > chi2 = 0.0000 ---------------------------------------------------------------------------------- F2.logny02a | Coef. Std. Err. z P>|z| [95% Conf. Interval] -----------------+---------------------------------------------------------------- 1.phase1 | .0101241 .0127084 0.80 0.426 -.0147838 .0350321 1.regulated | .003628 .0232477 0.16 0.876 -.0419366 .0491927 | phase1#regulated | 1 1 | -.0060237 .0095852 -0.63 0.530 -.0248104 .0127629 | 1.phase2 | -.0007034 .0132624 -0.05 0.958 -.0266972 .0252904 | phase2#regulated | 1 1 | .0177127 .0092287 1.92 0.055 -.0003752 .0358006 | logfixedassets | .0061981 .0027125 2.29 0.022 .0008817 .0115144 | nace | 8 | .0290016 .2104337 0.14 0.890 -.3834409 .4414441 9 | .0234776 .2232734 0.11 0.916 -.4141303 .4610855 10 | .0008864 .1643965 0.01 0.996 -.3213248 .3230976 11 | .0757249 .251711 0.30 0.764 -.4176196 .5690694 13 | .0203562 .1783219 0.11 0.909 -.3291482 .3698606 16 | -.0384261 .2122432 -0.18 0.856 -.4544151 .377563 17 | -.0031096 .1527952 -0.02 0.984 -.3025828 .2963636 19 | .031958 .1917307 0.17 0.868 -.3438272 .4077432 20 | .0056104 .167111 0.03 0.973 -.3219212 .3331419 21 | .034443 .2133158 0.16 0.872 -.3836483 .4525343 22 | .0191236 .2152575 0.09 0.929 -.4027734 .4410206 23 | .0325302 .1607851 0.20 0.840 -.2826028 .3476632 24 | .0037336 .1731251 0.02 0.983 -.3355853 .3430525 27 | 1.499119 .2132399 7.03 0.000 1.081177 1.917062 35 | .0536362 .1613746 0.33 0.740 -.2626522 .3699245 46 | .0537964 .233071 0.23 0.817 -.4030145 .5106072 52 | .0276606 .2158841 0.13 0.898 -.3954644 .4507856 | country | BE | .0600377 .1493318 0.40 0.688 -.2326473 .3527226 CZ | .0202464 .1678742 0.12 0.904 -.3087809 .3492738 DE | .1480938 .1424192 1.04 0.298 -.1310428 .4272303 DK | .0677375 .171891 0.39 0.694 -.2691627 .4046377 ES | .0644635 .1407608 0.46 0.647 -.2114226 .3403495 FI | .0622976 .1711685 0.36 0.716 -.2731864 .3977817 FR | .1259783 .1460605 0.86 0.388 -.1602951 .4122517 GB | .0740235 .2003499 0.37 0.712 -.3186551 .4667021 GR | .0581592 .1969004 0.30 0.768 -.3277586 .444077 HU | .074964 .1997593 0.38 0.707 -.316557 .4664851 LT | .0116591 .1935566 0.06 0.952 -.3677048 .391023 LU | .0182345 .1934972 0.09 0.925 -.361013 .3974821 LV | .0723337 .1733379 0.42 0.676 -.2674023 .4120698 NL | .0655655 .1517265 0.43 0.666 -.231813 .362944 PL | .0407992 .1415842 0.29 0.773 -.2367007 .3182992 PT | .0509181 .1698178 0.30 0.764 -.2819187 .3837549 SE | .0376538 .1561086 0.24 0.809 -.2683135 .3436211 SK | .04975 .1967363 0.25 0.800 -.3358461 .4353461 | year | 2001 | -.0063204 .0123494 -0.51 0.609 -.0305247 .0178839 2002 | -.0064758 .0117849 -0.55 0.583 -.0295737 .0166222 2003 | -.0007683 .0113831 -0.07 0.946 -.0230788 .0215422 2004 | .0034138 .0111773 0.31 0.760 -.0184933 .0253208 2005 | -.0076782 .0086933 -0.88 0.377 -.0247168 .0093604 2006 | -.0071781 .0087441 -0.82 0.412 -.0243162 .00996 2007 | 0 (omitted) 2008 | -.001685 .0098269 -0.17 0.864 -.0209455 .0175754 2009 | -.0036274 .0099309 -0.37 0.715 -.0230916 .0158368 2010 | -.0048517 .0097169 -0.50 0.618 -.0238964 .014193 2011 | -.003239 .0101769 -0.32 0.750 -.0231855 .0167074 2012 | 0 (omitted) | _cons | -.1941572 .2185391 -0.89 0.374 -.6224859 .2341715 -----------------+---------------------------------------------------------------- sigma_u | .19093497 sigma_e | .09082892 rho | .81546365 (fraction of variance due to u_i) ----------------------------------------------------------------------------------