Skip to content

warnings --- wish/bug (PR#1148)

1 message · Kjetil Halvorsen

#
An example with a local package:
Pearson Chi-square goodness of fit test

data:  rnorm(80) 
Chi-square = 19.1397, degrees of freedom = 11,
p-value = 0.05863 
alternative hypothesis: true is not equal to pnorm () 

Warning message: 
Minimum expected value is  2.61552251298291  <=5. Chi-square
approximation may be unsatisfactory in: chisq.gof(rnorm(80),
distribution = pnorm)
(where on the Rgui console (windows 98) the lines after "Warning
message"
extend out of sight)

Kjetil Halvorsen
Prof Brian D Ripley wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._