Code:
webuse grunfeld, clear xtset company year // (1) fixed-effect xtreg invest mvalue kstock i.year, fe robust outreg2 using fere, word dec(4) ctitle(fe) replace // (2) random-effect xtreg invest mvalue kstock i.year, robust outreg2 using fere, word dec(4) ctitle(re) append // (3) fixed-effect + random-effect? xtreg invest mvalue kstock i.company i.year, robust outreg2 using fere, word dec(4) ctitle(fe+re) append
0 Response to Stata for FE/RE models
Post a Comment