create.alter {PoweR} | R Documentation |
Create a list giving the type of test statistics.
Description
Create a list giving the type of each test statistic for a given vector of indices of these test statistics.
Usage
create.alter(stat.indices = c(42, 51, 61), values.alter = NULL)
Arguments
stat.indices |
vector of indices of test statistics, as given by
function |
values.alter |
vector of the type of each test statistic in |
Details
See Section 3.3 in Lafaye de Micheaux, P. and Tran, V. A. (2014).
Value
A named list. Each component of the list has the name of the
corresponding index in stat.indices
(e.g. stat
xxx
)
and has the value (in {0,1,2,3,4}) of the type of test (see Details above).
Author(s)
P. Lafaye de Micheaux, V. A. Tran
References
Pierre Lafaye de Micheaux, Viet Anh Tran (2016). PoweR: A Reproducible Research Tool to Ease Monte Carlo Power Simulation Studies for Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1–42. doi:10.18637/jss.v069.i03
See Also
See getindex
.
Examples
create.alter()