1. コードの例
xtregy x1, fe estimates storefixed xtreg yx1, re estimates storerandom hausmanfixed random |
If "Prob>chi2 " is < 0.05 (i.e. significant) use fixed effects.
e.g. Prob>chi2 = 0.0553
<参考文献>
ttp://www.princeton.edu/~otorres/Panel101.pdf