Skip to content
Prev 167138 / 398502 Next

interpolation to abscissa

On Jan 15, 2009, at 11:31 AM, e-letter wrote:

            
I accidentally switched x and y ad then realized I could get an  
intercept value without the labor of solving by hand.
The regression line for x ~ y is *not* the same as the regression line  
for y ~ x.

If you want to check that the numbers from R agree with your other  
solutions, then take the regression equation from
 > lmmod

Call:
lm(formula = c(16, 45, 77, 101, 125) ~ c(0, 5, 10, 15, 20))

Coefficients:
        (Intercept)  c(0, 5, 10, 15, 20)
              18.00                 5.48

... and then solve for x = 0 .... as you apparently did with the other  
systems.