Alternate way to compute test statistic values (only) in pure R instead of C/C++, for clarity reasons.
Use the function by typing:
stat
\(j\)(x
,par1
,par2
,\(etc.\))
where \(j\) is the index of the test and par1
, par2
, \(etc.\) are the
parameters of test \(j\), if any.
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