create.alter: Create a list giving the type of test statistics.

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Create a list giving the type of each test statistic for a given vector of indices of these test statistics.

Usage

1
create.alter(stat.indices = c(42, 51, 61), values.alter = NULL)

Arguments

stat.indices

vector of indices of test statistics, as given by function getindex.

values.alter

vector of the type of each test statistic in stat.indices. If NULL, the default value will be returned.

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. statxxx) 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

1

PoweR documentation built on May 2, 2019, 2:09 p.m.

Related to create.alter in PoweR...