dib.fun {GWI} | R Documentation |
Function for DIb
Description
The function computes the binomial dispersion index for a given number of trials N\in \{1,2,\ldots\}
.
Usage
dib.fun(X, N)
Arguments
X |
A count random variable |
N |
The number of trials of binomial distribution |
Details
dib.fun
computes the dispersion index with respect to the binomial distribution. See Touré et al. (2020) and Weiss (2018) for more details.
Value
Returns
dib |
The binomial dispersion index |
Author(s)
Aboubacar Y. Touré and Célestin C. Kokonendji
References
Touré, A.Y., Dossou-Gbété, S. and Kokonendji, C.C. (2020). Asymptotic normality of the test statistics for relative dispersion and relative variation indexes, Journal of Applied Statistics 47, 2479-2491.
Weiss, C.H. (2018). An Introduction to Discrete-Valued Times Series. Wiley, Hoboken NJ.
Examples
X<-c(12,9,0,8,5,7,6,5,3,4,9,4)
dib.fun(X,12)
Y<-c(0,0,1,1,0,1,1)
dib.fun(Y,7)
[Package GWI version 1.0.2 Index]