From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: constrained least squares, multiple equations |
Date | Thu, 04 Mar 2004 13:53:46 -0500 |
At 11:39 PM 3/3/2004 -0600, [email protected] wrote:
Dear Statalist,I just tried the following, and it SEEMED to work ok. Nonetheless, it would be nice if someone confirmed that this was the way to go. (Are you sure you want to use OLS, as opposed to reg3's default, which is 3 stage least squares? Read the help for -reg3-)
I have the model: Y1=X1*b1, Y2=X2*b1. I want to estimate these two equations
by least squares subject to constraint that b1=b2 , that is I want to estimate
the equation: [Y1 = [X1 *b
Y2] X2]
Please, let me know how to do this in Stata.
Thank you!
Olena
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |