[R] problem to get coefficient from lm()
jinsong_zh at yahoo.com
Sat Feb 7 03:35:23 CET 2004
Thank you very much for your response. I made a mistake for my
careless. I used the same data in Excel, and regressed x on y, and got
a different equation, and then compared it to what I got in R.
--- John Fox <jfox at mcmaster.ca> wrote:
> Dear Jinsong,
> Why do you say that the coefficients are wrong? The slope is 1 and
> intercept 0 (within rounding) -- Isn't this what you intended?
More information about the R-help