1
vect<-c(58,59,67,68,68,68,70,70,70,70,74,75,76,78,80,80,82,82,83,84,84,84,86,88,90,90,90,90,92,93,94,97,98,104,110,112)
ks.test(vect, "pnorm", 85, 15)

我使用了以下代码,但它显示如下:

#"Warning message:
#In ks.test(vect, "pnorm", 85, 15) :
#ties should not be present for the Kolmogorov-Smirnov test"

并且本书给出的计算答案D与上面给出的答案不同。我只是试图对我书中给出的内容进行编码。

4

0 回答 0