Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: xtivreg predictions from first stage

From   Tunga Kantarcı <>
Subject   st: xtivreg predictions from first stage
Date   Wed, 11 Apr 2012 19:56:02 +0200


I would like to ask a simple question.

xtivreg first runs a fixed effects regression and then uses the
predictions from the first stage as instruments in the second stage.

But what are precisely the predictions in the first stage ?

Suppose the auxiliary regression in the first stage is the fixed
effects estimation of the following model:

y_it = b_0 + b_1 * x_it + n_i + u_it

So what are the predictions used in the second stage?

estimated_b_0 + estimated_b_1 * x_it + estimated_n_i (prediction of y_it) ?


estimated_b_1 * (x_it - mean_x_i) (prediction of y_it - mean_y_i) ?

My guess is that it is the second.

Thanks in advance.
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index