chi.stat {Trendtwosub} | R Documentation |
chi.stat function
Description
This function calculates the $M$ statistics value as defined in the reference paper.
Usage
chi.stat(ftab)
Arguments
ftab |
it is a matrix with dimension 2 by |
Details
The statistics is defined as:
Value
chi.val, a chisuqre type of statistics value
References
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.
Examples
chi.stat(ftab=rbind(c(20,10,20),c(15,15,20)))
[Package Trendtwosub version 0.0.2 Index]