1 コードの例
データの読み込み。参考
use http://dss.princeton.edu/training/Panel101.dta *パネルとして認識 xtset country year |
下記のいずれでも可能。
xtreg y x1,fe areg y x1, absorb(country) xi: regress y i.country x1 i.country |
参考:OLSを含めた係数の比較
xtreg
yx1x2x3,fe |
<参考文献>
ttp://www.princeton.edu/~otorres/Panel101.pdf