Description Usage Arguments Author(s) References See Also Examples
Transform the critical values given by function many.crit
into a LaTeX code for creating the table of critical values.
1 2 |
x |
critical values given by function |
digits |
integer indicating the number of decimal places to be used. |
latex.output |
logical. If |
template |
integer, template to use for the (LaTeX) printing of
values. Only |
... |
further arguments passed to or from other methods. |
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 Goodness-of-fit Tests in R. Journal of Statistical Software, 69(3), 1–42. doi:10.18637/jss.v069.i03
Puig, P. and Stephens, M. A. (2000), Tests of fit for the Laplace distribution, with applications, Technometrics, 42, 417–424.
See print.power
.
1 2 3 4 5 6 7 8 9 | ## Regenerate Table 1 from Puig (2000) (page 419)
# Take M = 10000 for accurate results
M <- 10
law.index <- 1
vectn <- c(10,15,20,35,50,75,100,1000)
level <- c(0.50,0.25,0.10,0.05,0.025,0.01)
table1 <- many.crit(law.index,stat.indices = c(43),M,vectn,level,
alter = list(stat43=3),law.pars = NULL,parstat = NULL)
print.critvalues(table1,digits=3,latex.output=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.