To obtain the name of a test as well as its default number of parameters and default parameter values.
stat.cstr(stat.index, stat.pars = NULL, n = 0)
name of the test.
default number of parameters of the test.
values of the parameters
0: two.sided=bilateral, 1: less=unilateral, 2: greater=unilateral, 3: bilateral test that rejects H0 only for large values of the test statistic, 4: bilateral test that rejects H0 only for small values of the test statistic.
a single integer value corresponding to the index of a test statistic as
given by function getindex
.
vector of the values of the parameters of the test specified in
stat.index
. If NULL
, the default values are used.
integer giving the sample size (useful since some default values of the parameters might depend on the sample size).
P. Lafaye de Micheaux, V. A. Tran
Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1--42. doi:10.18637/jss.v069.i03
See law.cstr
, getindex
,
getnbparlaws
, getnbparstats
.