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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to