[R] Correct statistical inference for linear regression models without intercept in R
StatWM
wmusial at gmx.de
Tue Jul 20 11:41:36 CEST 2010
Dear R community,
is there a way to get correct t- and p-values and R squared for linear
regression models specified without an intercept?
example model:
summary(lm(y ~ 0 + x))
This gives too low p-values and too high R squared. Is there a way to
correct it? Or should I specify with intercept to get the correct values?
Thank you in advance!
Wojtek Musial
--
View this message in context: http://r.789695.n4.nabble.com/Correct-statistical-inference-for-linear-regression-models-without-intercept-in-R-tp2295193p2295193.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list