All,

Happy World Cup and Wimbledon.   This morning finds me with the first
of my many daily questions.

I am running a ks.test on residuals obtained from a regression model.

I use this code:
> ks.test(Year5.lm$residuals,pnorm)

and obtain this output
        One-sample Kolmogorov-Smirnov test

data:  Year5.lm$residuals
D = 0.7196, p-value < 2.2e-16
alternative hypothesis: two.sided

Warning message:
cannot compute correct p-values with ties in: ks.test(Year5.lm$residuals, pnorm)

I am wondering if anybody can tell me what this error message means.

Also, could anybody clarify how I could have a regression model with a
high Rsquared, rouglhy .67, but with nonnormal residuals?  Does this
take away from the validity of my model?

jdr

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to