Learn R Programming

PoweR (version 1.0.7)

getnbparstats: Get numbers of parameters of test statistics.

Description

Return the default numbers of parameters of the test statistics in the package.

Usage

getnbparstats(stat.indices = NULL)

Arguments

stat.indices

if not NULL, select only the statistics corresponding to this vector of indices.

Value

A vector giving the numbers of parameters of test statistics corresponding to the vector of indices.

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

Examples

Run this code
# NOT RUN {
getnbparstats(c(42:53))
# }

Run the code above in your browser using DataLab