Description Usage Arguments Value Author(s) References See Also Examples
Computation of critical values for several test statistics, several n values, and several level values, for a given distribution
1 2 3 |
law.index |
law index as given by function |
stat.indices |
vector of statistic indices as given by function |
M |
number of Monte Carlo repetitions to use. |
vectn |
vector of number of observations for the samples to be generated. |
levels |
vector of required level values. |
alter |
named-list with type of test for each statistical test:
alter[["statj"]]=0, 1 ,2, 3 or 4; for each j in |
law.pars |
|
parstats |
named-list of parameter values for each statistic to simulate.
The names of the list should be |
model |
NOT IMPLEMENTED YET. If |
Rlaw |
If 'law.index' is set to 0 then 'Rlaw' should be a (random generating) function. |
Rstats |
A list of same length as |
center |
Logical. Should we center the data generated |
scale |
Logical. Should we center the data generated |
An object of class critvalues
, which is a list where each element of the list contains a matrix
for the corresponding statistic. This column matrices are: n values,
level values, parameters of the test statistic (NA
if none), left critical values and right critical values).
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 print.critvalues
for a LaTeX output of the
results of this function.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.