Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: iterating a regression

From   "Hans J. Baumgartner" <[email protected]>
To   [email protected]
Subject   Re: st: iterating a regression
Date   Wed, 02 Mar 2005 16:01:04 +0100


I am not sure what you are trying to estimate but I guess the potential correlation between your two estimations will cause a problem.

Are you willing to restrict cj to a certain value? If yes, you could estimate


That is, inserting the second equation and multiplying out. In the new equation, only bj is estimated; cj is set, i.e. restricted.


[email protected] schrieb:

   Dear All,
   How can I iterate a regression by feeding back back some
parameter estimates at each step back into one of the regressors in
the regression? Should I use foreach forval commands?

To be specific: I have an equation y=a+b1*x1+b2*x2+c1*z+error

but z=b1*w1+b2*w2 (for some variables w1, w2)

I start with some initial z and estimate the above equation then
compute the new z with the b1 b2 estimates from the regression
output and run the regression again with this new z. I want to
iterate this until convergence is obtained. Does anyone know how to
carry out this procedure? Thank you in advance for any comments and

   Tumer Kapan
   PhD Student
   Economics Department
   Columbia University

*   For searches and help try:

Hans J. Baumgartner DIW Berlin
German Institute for Economic Research
Dept. Public Economics
K´┐Żnigin-Luise-Str. 5; 14195 Berlin; Germany
Tel.: +49/30/89789-307
Fax.: +49/30/89789-114

*   For searches and help try:

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