From | Richard Williams <[email protected]> |
To | [email protected] |
Subject | Re: st: re: constraints |
Date | Wed, 29 Jun 2005 02:02:42 -0500 |
At 07:39 AM 6/29/2005 +0100, Vidya Mahambare wrote:
Following Kit's suggestion I redefined the constraint L.wpi+L2.wpi+L3.wpi=1 asThere is still the original suggestion from the FAQ - basically run cnsreg, compute the predicted values, and correlate them with the observed values. That seems like the simplest approach, unless there is a problem I am overlooking.
b(L3) = 1-b(L)-b(L2), and regressed
(wpi - L.wpi) on (L.wpi-L3.wpi), (L2.wpi-L3.wpi) and other variables.
This does not produce a correct R^2, as Richard suspected. It is much lower
because of variables transformations, I think. Is there a way to to calculate a
correct R^2 after using -reg- for this problem?
Thanks,
Vidya
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |