![]() |
From | "Brian P. Poi" <bpoi@stata.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: RE: Linear Regression |
Date | Fri, 8 Aug 2008 09:18:02 -0500 (CDT) |
On Fri, 8 Aug 2008, Meric Osman wrote:
One solution is to use the -nl- command instead of -regress-. Say we want to fit the regressionHi, I have a problem about writing my regression equation. I want to add the variable and its square at the same time. Such as y = a + a^2 + ... Actually, I can do it by generating a new variable which is a*a, but I don't wanna do that because it is not an efficient way. I really appreciate if you can help me with that.
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |