stat.cstr: Gives information about a test statistic.

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

Description

To obtain the name of a test as well as its default number of parameters and default parameter values.

Usage

1
stat.cstr(stat.index, stat.pars = NULL)

Arguments

stat.index

a single integer value corresponding to the index of a test statistic as given by function getindex.

stat.pars

vector of the values of the parameters of the test specified in stat.index. If NULL, the default values are used.

Value

name

name of the test.

nbparams

default number of parameters of the test.

law.pars

values of the parameters

alter

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.

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 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 law.cstr, getindex, getnbparlaws, getnbparstats.

Examples

1

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

Related to stat.cstr in PoweR...