Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

ssc install winsor2

winsor2 Tocdotangtruong, replace cuts (5 95)

findit xttest3

findit xtserial

findit esttab
encode ID, gen(FIRM)
encode ID, gen(FIRM)

xtset FIRM YEAR

sum y x1 x2 …..

corr y x1 x2 …

xtreg y x1 x2 ….,re

est sto re

xtreg y x1 x2 ….,fe

est sto fe

hausman fe re

p-value<alpha  FEM

xttest3

xtserial y x1 x2 …

p-value>alpha  REM

xttest0

xtserial y x1 x2 …

xtgls y x1 x2 , panels(h) corr(ar1)

esttab fe re gls, star (* 0.1 ** 0.05 *** 0.001) brackets nogap


esttab fe re gls, star (* 0.1 ** 0.05 *** 0.001) brackets nogap

You might also like