| dinb.fun {GWI} | R Documentation | 
Function for DInb
Description
The function computes the negative binomial dispersion index for a given dispersion parameter l\in (0,\infty).
Usage
dinb.fun(X, l)
Arguments
X | 
 A count random variable  | 
l | 
 The dispersion parameter of negative binomial distribution  | 
Details
dinb.fun computes the dispersion index with respect to negative binomial distribution. See Touré et al. (2020) and Abid et al. (2021) for more details.
Value
Returns
dinb | 
 The negative binomial dispersion index  | 
Author(s)
Aboubacar Y. Touré and Célestin C. Kokonendji
References
Abid, R.,Kokonendji, C.C. and Masmoudi, A. (2021). On Poisson-exponential-Tweedie models for ultra-overdispersed count data, AStA Advances in Statistical Analysis 105, 1-23.
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.
Examples
X<-c(12,9,0,8,5,7,6,5,3,4,9,4)
dinb.fun(X,12)
Y<-c(0,6,1,3,4,2,5)
dinb.fun(Y,7)