Description Usage Arguments Details Value References Examples
This function calculates the $M$ statistics value as defined in the reference paper.
1 | chi.stat(ftab)
|
ftab |
it is a matrix with dimension 2 by K. |
The M statistics is defined as:
M=∑_{l=1}^{K}≤ft(\frac{(O_{x,l}-E_{x,l})^2}{E_{x,l}}+\frac{(O_{x,l}-E_{x,l})^2}{≤ft(n_ln_{l+1}-E_{x,l}\right)}\right)+∑_{l=1}^{K}≤ft(\frac{(O_{y,l}-E_{y,l})^2}{E_{y,l}}+\frac{(O_{y,l}-E_{y,l})^2}{≤ft(m_lm_{l+1}-E_{y,l}\right)}\right).
chi.val, a chisuqre type of statistics value
Wang, Y., Stapleton, A. E., & Chen, C. (2018). Two-sample nonparametric stochastic order inference with an application in plant physiology. Journal of Statistical Computation and Simulation, 88(14), 2668-2683.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.