Statalist


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

Re: st: rolling regression / xtgls


From   [email protected]
To   [email protected]
Subject   Re: st: rolling regression / xtgls
Date   Sun, 12 Aug 2007 15:06:33 +0200

You can as well move to: 
xtreg y x1... xn, fe cluster(country)
Please also note that:
-xtscc- (from ssc) produces Driscoll and Kraay (1998) standard errors for coefficients estimated by panel fixed-effects (within) regression. The error structure is assumed to be heteroskedastic, autocorrelated up to some lag, and possibly correlated between the groups (panels)
-gthacker- (from http://people.bu.edu/ralfaro/stata) fits a fixed-effects models with Newey-West standard error correction
 
Nicola

At 02.33 10/08/2007 -0400, you wrote:
>I have another question as well,
>I am also estimating a simple linear model for a panel of countries using GLS to
>take into account autoregression; but as I need to use country dummies I
>proceed as follows
>xi: xtgls y x1... xn i.country, [options]
>
>can anybody tell me if this way of proceeding is correct? Because I am basically
>trying to use fixed effects (my country dummies) with a procedure that
>estimates random effecta models only (the xtgls command)
>
>I am sorry if these questions might seem basic for the majority of you.
>
>Thank you very much for your help.
>
>Best regards
>Sergio 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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