Dear Statalist user,
I'm having an unbalanced panel-dataset and want to do a fixed-effects-estimation. I cluster SE at the country-level and also include quarterly time-fixed effects.
However, when adding time fixed effects, my F-statistic is not reported anymore. I checked the help-file, but do not really see why the F-statistic cannot be calculated.
My regression looks the following way:
The resulting output is as follows:
I'm having an unbalanced panel-dataset and want to do a fixed-effects-estimation. I cluster SE at the country-level and also include quarterly time-fixed effects.
However, when adding time fixed effects, my F-statistic is not reported anymore. I checked the help-file, but do not really see why the F-statistic cannot be calculated.
My regression looks the following way:
Code:
xtreg ln_fdi_l elect_d L1.elect_d F1.elect_d L2.elect_d F2.elect_d /// data497 data498 data658 data1120 i.q_date , fe vce(cluster ccode)
Code:
Fixed-effects (within) regression Number of obs = 9,646 Group variable: ccode Number of groups = 119 R-sq: Obs per group: within = 0.2433 min = 9 between = 0.4924 avg = 81.1 overall = 0.2709 max = 156 F(118,118) = . corr(u_i, Xb) = -0.7879 Prob > F = . (Std. Err. adjusted for 119 clusters in ccode) ------------------------------------------------------------------------------ | Robust ln_fdi_l | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- elect_d | --. | .0114366 .0241773 0.47 0.637 -.036441 .0593142 L1. | -.0165092 .0208586 -0.79 0.430 -.0578149 .0247964 F1. | .0205511 .026126 0.79 0.433 -.0311854 .0722877 L2. | -.0352879 .0272838 -1.29 0.198 -.0893172 .0187415 F2. | .0347876 .0277045 1.26 0.212 -.0200748 .08965 | data497 | .0073437 .0022485 3.27 0.001 .0028912 .0117963 data498 | .0000386 .0000151 2.56 0.012 8.75e-06 .0000684 data658 | -.0001534 .0001051 -1.46 0.147 -.0003614 .0000547 data1120 | 7.05e-09 1.94e-09 3.64 0.000 3.21e-09 1.09e-08 | q_date | 63 | -.0242295 .0206485 -1.17 0.243 -.0651191 .0166601 64 | -.0786142 .0343174 -2.29 0.024 -.146572 -.0106565 65 | -.1319244 .0485814 -2.72 0.008 -.2281288 -.03572 66 | .0243135 .0730829 0.33 0.740 -.1204107 .1690376 67 | .0385069 .0716588 0.54 0.592 -.103397 .1804108 68 | .0375118 .0609079 0.62 0.539 -.0831024 .158126 69 | .0467123 .0629826 0.74 0.460 -.0780103 .171435 70 | .0898097 .0652482 1.38 0.171 -.0393994 .2190189 71 | .09821 .0706432 1.39 0.167 -.0416828 .2381027 72 | .069811 .0652464 1.07 0.287 -.0593946 .1990167 73 | .0741895 .0775977 0.96 0.341 -.0794751 .2278541 74 | .0921752 .0701882 1.31 0.192 -.0468166 .2311669 75 | .084116 .0775115 1.09 0.280 -.0693778 .2376098 76 | .0334981 .079253 0.42 0.673 -.1234445 .1904406 77 | .0818282 .0794639 1.03 0.305 -.075532 .2391885 78 | .0838553 .080813 1.04 0.302 -.0761764 .243887 79 | .0870894 .0789471 1.10 0.272 -.0692474 .2434261 80 | .0879042 .082177 1.07 0.287 -.0748287 .2506371 81 | .0897231 .0916741 0.98 0.330 -.0918165 .2712627 82 | .0826496 .1000497 0.83 0.410 -.115476 .2807751 83 | .0820208 .0789809 1.04 0.301 -.0743828 .2384244 84 | .0936449 .0913912 1.02 0.308 -.0873346 .2746245 85 | .0679835 .1159625 0.59 0.559 -.1616538 .2976208 86 | .0978981 .10179 0.96 0.338 -.1036739 .2994701 87 | .1420955 .1039156 1.37 0.174 -.0636858 .3478768 88 | .0114938 .1067359 0.11 0.914 -.1998723 .2228599 89 | .097311 .1029148 0.95 0.346 -.1064883 .3011103 90 | .0990987 .0932644 1.06 0.290 -.0855903 .2837876 91 | .0638884 .1024925 0.62 0.534 -.1390746 .2668514 92 | .0400605 .084723 0.47 0.637 -.1277141 .2078351 93 | .1125806 .0918243 1.23 0.223 -.0692564 .2944177 94 | .0569003 .0938625 0.61 0.546 -.1289731 .2427737 95 | .0700592 .0853321 0.82 0.413 -.0989215 .23904 96 | .0763071 .1020234 0.75 0.456 -.125727 .2783412 97 | .0032573 .1373814 0.02 0.981 -.2687954 .2753099 98 | .0697331 .1006435 0.69 0.490 -.1295685 .2690347 99 | -.0226479 .0846387 -0.27 0.789 -.1902556 .1449598 100 | .0272374 .093552 0.29 0.771 -.1580209 .2124958 101 | .0071744 .0913672 0.08 0.938 -.1737575 .1881062 102 | -.000967 .1038971 -0.01 0.993 -.2067115 .2047776 103 | -.0061613 .0814355 -0.08 0.940 -.1674257 .1551031 104 | .0524127 .0873148 0.60 0.549 -.1204943 .2253198 105 | .0838599 .1047117 0.80 0.425 -.1234977 .2912176 106 | .06797 .1072802 0.63 0.528 -.144474 .280414 107 | .0677287 .1341325 0.50 0.615 -.1978903 .3333476 108 | .133141 .1051835 1.27 0.208 -.0751511 .341433 109 | .0354388 .111138 0.32 0.750 -.1846447 .2555224 110 | .1360479 .1172748 1.16 0.248 -.096188 .3682839 111 | .1887732 .1130257 1.67 0.098 -.0350485 .4125949 112 | .1531871 .1133764 1.35 0.179 -.0713291 .3777032 113 | .1606089 .1233376 1.30 0.195 -.083633 .4048509 114 | .231678 .112153 2.07 0.041 .0095845 .4537715 115 | .2179022 .1367173 1.59 0.114 -.0528352 .4886396 116 | .1841801 .1404581 1.31 0.192 -.0939651 .4623253 117 | .2593443 .1269119 2.04 0.043 .0080241 .5106644 118 | .191552 .1295918 1.48 0.142 -.0650751 .4481791 119 | .3418829 .1222609 2.80 0.006 .0997729 .5839928 120 | .2706548 .1344509 2.01 0.046 .0044054 .5369042 121 | .2949105 .1300078 2.27 0.025 .0374597 .5523613 122 | .2759598 .1361354 2.03 0.045 .0063748 .5455449 123 | .365766 .1274778 2.87 0.005 .1133253 .6182067 124 | .1964606 .1342924 1.46 0.146 -.0694749 .4623962 125 | .1733727 .1385654 1.25 0.213 -.1010246 .4477699 126 | .2674171 .1190133 2.25 0.027 .0317383 .5030959 127 | .1504222 .1129293 1.33 0.185 -.0732085 .3740529 128 | .2013811 .1138394 1.77 0.079 -.0240519 .4268141 129 | .1925026 .1241354 1.55 0.124 -.0533192 .4383245 130 | .1992236 .1209873 1.65 0.102 -.0403643 .4388115 131 | .1586782 .1302114 1.22 0.225 -.0991758 .4165322 132 | .2130356 .124794 1.71 0.090 -.0340904 .4601616 133 | .2338484 .129068 1.81 0.073 -.0217414 .4894382 134 | .2428987 .1344151 1.81 0.073 -.0232798 .5090772 135 | .2116095 .1208867 1.75 0.083 -.0277791 .4509981 136 | .2664201 .1259652 2.12 0.037 .0169746 .5158656 137 | .2507599 .1370196 1.83 0.070 -.0205761 .5220959 138 | .26064 .1418966 1.84 0.069 -.0203539 .5416338 139 | .312543 .1319993 2.37 0.020 .0511484 .5739376 140 | .3261879 .1332058 2.45 0.016 .0624042 .5899716 141 | .2716943 .1424145 1.91 0.059 -.0103251 .5537138 142 | .3470382 .132471 2.62 0.010 .0847096 .6093668 143 | .4823822 .1379796 3.50 0.001 .2091451 .7556193 144 | .3124669 .1494053 2.09 0.039 .0166038 .6083301 145 | .3040236 .1411083 2.15 0.033 .0245908 .5834564 146 | .3725079 .1396533 2.67 0.009 .0959563 .6490596 147 | .4073707 .1494441 2.73 0.007 .1114307 .7033106 148 | .373385 .1445251 2.58 0.011 .0871858 .6595841 149 | .3993425 .146637 2.72 0.007 .1089613 .6897238 150 | .4483316 .1464479 3.06 0.003 .1583248 .7383383 151 | .4623383 .1594198 2.90 0.004 .1466437 .7780329 152 | .4193369 .1532172 2.74 0.007 .1159251 .7227488 153 | .5061071 .1607929 3.15 0.002 .1876935 .8245208 154 | .4078365 .160625 2.54 0.012 .0897552 .7259178 155 | .5285764 .1658856 3.19 0.002 .2000777 .8570751 156 | .459087 .1571823 2.92 0.004 .1478232 .7703508 157 | .602488 .1847386 3.26 0.001 .2366553 .9683206 158 | .4693611 .1569211 2.99 0.003 .1586145 .7801076 159 | .5876982 .1653972 3.55 0.001 .2601668 .9152296 160 | .5207756 .1693356 3.08 0.003 .185445 .8561062 161 | .5022064 .1776411 2.83 0.006 .1504286 .8539841 162 | .539381 .1737443 3.10 0.002 .19532 .8834419 163 | .5072167 .1790784 2.83 0.005 .1525927 .8618407 164 | .4608808 .1651695 2.79 0.006 .1338003 .7879613 165 | .4455947 .1755366 2.54 0.012 .0979844 .793205 166 | .3788913 .1563461 2.42 0.017 .0692835 .6884991 167 | .4239653 .1587057 2.67 0.009 .1096848 .7382458 168 | .3904816 .1644056 2.38 0.019 .0649137 .7160494 169 | .4128752 .1702503 2.43 0.017 .0757333 .7500171 170 | .3603665 .16198 2.22 0.028 .039602 .6811311 171 | .4887751 .1669516 2.93 0.004 .1581655 .8193847 172 | .4118723 .1663738 2.48 0.015 .0824069 .7413378 173 | .2929846 .1730262 1.69 0.093 -.0496544 .6356236 174 | .3336438 .161609 2.06 0.041 .0136139 .6536737 175 | .3632253 .1871201 1.94 0.055 -.0073235 .7337741 176 | .3305094 .1843405 1.79 0.076 -.034535 .6955538 177 | .3699709 .1881072 1.97 0.052 -.0025325 .7424744 178 | .40748 .1630304 2.50 0.014 .0846354 .7303247 179 | .5148226 .176015 2.92 0.004 .166265 .8633802 180 | .5284791 .1617879 3.27 0.001 .2080951 .848863 181 | .4767073 .1905825 2.50 0.014 .099302 .8541125 182 | .5958493 .1786448 3.34 0.001 .242084 .9496146 183 | .628413 .1931406 3.25 0.001 .245942 1.010884 184 | .6689007 .1829918 3.66 0.000 .3065271 1.031274 185 | .5422775 .189944 2.85 0.005 .1661367 .9184182 186 | .6869088 .1818347 3.78 0.000 .3268266 1.046991 187 | .6781345 .204431 3.32 0.001 .2733055 1.082963 188 | .815548 .1936808 4.21 0.000 .4320073 1.199089 189 | .7831085 .2019487 3.88 0.000 .3831952 1.183022 190 | .7627859 .1741594 4.38 0.000 .417903 1.107669 191 | .7991028 .2115317 3.78 0.000 .3802125 1.217993 192 | .7879531 .2080489 3.79 0.000 .3759596 1.199947 193 | .6997222 .1785461 3.92 0.000 .3461524 1.053292 194 | .7038953 .204256 3.45 0.001 .2994127 1.108378 195 | .575429 .2371584 2.43 0.017 .1057908 1.045067 196 | .5109115 .1784477 2.86 0.005 .1575365 .8642866 197 | .4207373 .2252714 1.87 0.064 -.0253613 .866836 198 | .5255269 .1799654 2.92 0.004 .1691464 .8819074 199 | .578441 .188611 3.07 0.003 .2049399 .9519421 200 | .629176 .1941593 3.24 0.002 .2446877 1.013664 201 | .4439077 .1844492 2.41 0.018 .0786482 .8091673 202 | .5919404 .2030554 2.92 0.004 .1898354 .9940455 203 | .5761113 .2327998 2.47 0.015 .1151042 1.037118 204 | .6507395 .2083066 3.12 0.002 .2382357 1.063243 205 | .6264729 .1910615 3.28 0.001 .2481191 1.004827 206 | .5633758 .1819777 3.10 0.002 .2030104 .9237411 207 | .6579037 .2084198 3.16 0.002 .2451757 1.070632 208 | .7332402 .207785 3.53 0.001 .3217693 1.144711 209 | .561871 .1778738 3.16 0.002 .2096325 .9141096 210 | .6223397 .1981317 3.14 0.002 .229985 1.014694 211 | .5404157 .2274915 2.38 0.019 .0899207 .9909108 212 | .4646142 .1821058 2.55 0.012 .1039951 .8252332 213 | .491699 .1902489 2.58 0.011 .1149543 .8684437 214 | .5222486 .2130461 2.45 0.016 .1003593 .9441378 215 | .37337 .2714913 1.38 0.172 -.1642566 .9109967 216 | .1944305 .4967526 0.39 0.696 -.7892749 1.178136 217 | .6758979 .2383564 2.84 0.005 .2038874 1.147908 | _cons | -.8194075 .1962445 -4.18 0.000 -1.208025 -.4307899 -------------+---------------------------------------------------------------- sigma_u | .93503296 sigma_e | .63360056 rho | .68531924 (fraction of variance due to u_i) ------------------------------------------------------------------------------ . end of do-file
Comment