ad.test(x, null = "punif", ..., nullname)
"uniform distribution"
.
"htest"
representing the result of
the hypothesis test.null
. It is assumed that the values in x
are
independent and identically distributed random values, with some
cumulative distribution function \(F\).
The null hypothesis is that \(F\) is the function
specified by the argument null
, while the alternative
hypothesis is that \(F\) is some other function.pAD
for the null distribution of the test statistic.x <- rnorm(10, mean=2, sd=1)
ad.test(x, "pnorm", mean=2, sd=1)
Run the code above in your browser using DataCamp Workspace