Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: AW: re: Method for first stage, in xtivreg

From   "Martin Weiss" <>
To   <>
Subject   st: AW: re: Method for first stage, in xtivreg
Date   Wed, 24 Feb 2010 09:12:41 +0100


So Kit, can you provide the code to replicate the first stage here?

webuse nlswork, clear
xtivreg ln_w age c.age#c.age not_smsa  /* 
*/ 2.race (tenure = union birth south),  /* 
*/ re first


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Kit Baum
Gesendet: Mittwoch, 24. Februar 2010 01:03
Betreff: st: re: Method for first stage, in xtivreg

Hans said

And get the first stage results. That is fine, but I would like to  
know how it estimates the first stage. I tried to replicate the first  
stage with OLS, RE, BE, FE etc... I cannot get the same results? I  
wonder why?

The discussion of Methods and Formulas in the [XT] xtivreg manual  
entry, for each method, seems perfectly clear. For instance, for  
method FE, after demeaning the within estimator is a two-stage least- 
squares regression of \ytilde on \Ztilde with instruments \Xtilde.  
The FSRs are thus regressions of each \Ztilde on all of the \Xtilde.  
In their notation Z = Y + X1, where Y are included endogenous and X1  
are included exogenous. X = X1 + X2 where X2 are excluded exogenous.  
All straightforward IV setup.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index