Re: [R] R vs. Excel (R-squared)

From: Lance Westerhoff <lance_at_quantumbioinc.com>
Date: Wed 25 Jan 2006 - 05:48:22 EST

On Jan 24, 2006, at 12:11 PM, Nordlund, Dan wrote:
>
> Lance,
>
> Did you force the regression through the origin in Excel, like you
> are doing
> with your R code? And why are you doing the regression without an
> intercept
> in R?
>
> Dan
>

Hi Dan-

The reason why the intercept is forced to be zero is because I would like to determine how well my prediction is compared to experiment. Therefore, the only point we really know is (0,0) - everything else is conjecture. Both in the excel case and the R case, the intercept is forced to be zero. In terms of your question about the regression without an intercept in R, I'm not sure what you mean. Haven't I set the intercept to be zero?

Thanks!

-Lance



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jan 25 07:15:32 2006

This archive was generated by hypermail 2.1.8 : Wed 25 Jan 2006 - 08:13:58 EST