Dear John, 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.
Regards, Jinsong --- John Fox <[EMAIL PROTECTED]> wrote: > Dear Jinsong, > > Why do you say that the coefficients are wrong? The slope is 1 and > the > intercept 0 (within rounding) -- Isn't this what you intended? > > John > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
