[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: comparing xtgls and xtreg,re

Subject   st: comparing xtgls and xtreg,re
Date   Mon, 09 Jul 2007 13:44:00 +0200

Given that -xtreg, re- is referred to on the help file as "GLS random-effects (RE) model", I am puzzled that -xtgls- with default options (and -xtpcse-) produces the same coefficients as -regress- and different from both -xtreg, re- and -xtreg, mle-. Why? Most importantly, which should I trust???
Moreover, -xtgls- and -regress- produce almost identical standard errors. I don't think it depends on my data, e.g. take some panels on the web and confront:
webuse abdata
xtreg n w k ys yr198*
regress n w k ys yr198*
xtgls n w k ys yr198*
Please note that I use Stata 9.2

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index