ks.test in R reject HO even when the data came from a normal Dist

33 Views Asked by At

I just realize that when I try to test if a dataset have or not a normal distribution with the next code:

ks.test(rnorm(1000, mean = 60, sd = 9 ), "pnorm")

I get the next p value: p-value < 2.2e-16

Is this correct? I think that in this case I should get a p value greater than 0.05, Any idea of what is going on here?

I expect to the H0 not being rejected.

0

There are 0 best solutions below