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

st: Fixed intercept in linear regression, How?


From   Meng Lu <[email protected]>
To   [email protected]
Subject   st: Fixed intercept in linear regression, How?
Date   Mon, 26 Aug 2002 11:17:59 -0700

Hi all,

I'd like to do a linear regression with the intercept fixed at 1, i.e.,

y = 1 + bx

I found it's quite simple in SAS and splus to do so, but I was not able
to figure out how to fullfill this in stata.

Any idea?

Best Regards,
 
Meng Lu <[email protected]>

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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