gmdi.fun {GWI}R Documentation

Function for GDI and MDI

Description

The function computes the GDI and MDI indexes for multivariate count data.

Usage

gmdi.fun(Y)

Arguments

Y

A matrix of count random variables

Details

gmdi.fun computes GDI and MDI indexes introduced by Kokonendji and Puig (2018).

Value

Returns:

gdi

The generalized dispersion index

mdi

The marginal dispersion index

Author(s)

Aboubacar Y. Touré and Célestin C. Kokonendji

References

Kokonendji, C.C. and Puig, P. (2018). Fisher dispersion index for multivariate count distributions : A review and a new proposal, Journal of Multivariate Analysis 165, 180-193.

Examples

Y<-cbind(c(1,2,3,4,5,6,7,8),c(1,2,3,4,5,6,7,8))
gmdi.fun(Y)
Z<-cbind(c(1,2,3,4,5,6,7,8),c(1,2,3,4,5,6,7,8),c(1,2,3,4,5,6,7,8),c(1,2,3,4,5,6,7,8))
gmdi.fun(Z)

[Package GWI version 1.0.2 Index]