Displaying 1 result from an estimated 1 matches for "tp2295193p2295230".
2010 Jul 20
4
Correct statistical inference for linear regression models without intercept in R
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: