Hello,

We do not understand why

*y <- 100/cars[,7]*

*x1 <- cars[,25]*

*x2 <- cars[,13] / x1*

*lm(y ~ x1 + x2) *

Produces a different model fit than

*lm(100/CityMPG ~ Weight + (Horsepower/Weight) , data=cars)*

Can you explain that behaviour ?

Thanks in advance,

Jérémy

Posted by Jeremy Gotteland on Wednesday 13 November 2013 at 14:08