Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: xtgls and number of observations


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: xtgls and number of observations
Date   Tue, 14 Jul 2009 17:27:01 +0200

<> 

Which "stages" are you referring to? 

In this example from the help file, the number of firm-years is calculated
just as you would expect:


*************
webuse invest2, clear
xtset company time

xtgls invest market stock,/* 
 */  panels(hetero)

di in red /* 
 */ "Number of combinations: "/* 
 */  e(N_g)*e(N_t)
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Ines Ben Salah
Gesendet: Dienstag, 14. Juli 2009 16:19
An: [email protected]
Betreff: st: xtgls and number of observations

Dear Statalisters,

I am estimating a two-stage GLS panel data model using the xtgls command.
Surprisingly, the number of firm-year observations of my second stage
regression is higher than that of the first stage. My question is:  how does
xtgls calculates the number of firm-year observations? Is it possible to
obtain
a higher number of firm-year observations for the second stage regression?
Thank you for your precious help in this regard
Ines Ben Salah
PhD candidate
Laval University, Quebec, Canada
Email: [email protected]

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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