Skip to content
Prev 78681 / 398503 Next

details about lm()

vincent at 7d4.com wrote:

            
No!

Please, both of you, consult a basic textbook on linear regression.

You can transform the data (linear) so that P becomes (0,0), after that 
  you can estimate the slope without intercept by specifying
  lm(y ~ x - 1)
The slope estimate is still valid while your intercept can be calculated 
afterwards.

Uwe Ligges