Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Linear Regression


From   Meric Osman <meo542@mail.usask.ca>
To   statalist@hsphsun2.harvard.edu
Subject   st: Linear Regression
Date   Thu, 07 Aug 2008 15:49:51 -0600 (CST)

Hi,
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.

Warm wishes

Meric Osman

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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