Abstract class for permutation tests.
Active bindings
typeThe way to calculate the p-value.
methodThe method used.
scoringThe scoring system used.
alternativeThe alternative hypothesis.
null_valueThe hypothesized value of the parameter in the null hypothesis.
conf_levelThe confidence level of the interval.
n_permuThe number of permutations used.
dataThe data.
statisticThe test statistic.
p_valueThe p-value.
estimateThe estimated value of the parameter.
conf_intThe confidence interval of the parameter.
Methods
Method test()
Perform test on sample(s).
Method print()
Print the results of the test.
Method plot()
Plot histogram(s) of the permutation distribution. Note that this method only works if type is set to "permu".
Usage
PermuTest$plot(style = c("graphics", "ggplot2"), ...)Arguments
stylea character string specifying which package to use.
...passed to
graphics::hist.default()orggplot2::stat_bin().