Abstract class for permutation tests.
Active bindings
type
The way to calculate the p-value.
method
The method used.
scoring
The scoring system used.
alternative
The alternative hypothesis.
null_value
The hypothesized value of the parameter in the null hypothesis.
conf_level
The confidence level of the interval.
n_permu
The number of permutations used.
data
The data.
statistic
The test statistic.
p_value
The p-value.
estimate
The estimated value of the parameter.
conf_int
The confidence interval of the parameter.
Methods
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
style
a character string specifying which package to use.
...
passed to
graphics::hist.default()
orggplot2::stat_bin()
.