Calculate the Generalized Dirichlet Coefficient of variation

calculateGenDirichletCV(p, k)

Arguments

p

vector of probabilities

k

vector of parameters

Value

the coefficient of variation of the marginals

Examples

calculateGenDirichletCV(c(0.5, 0.3, 0.2), c(5,5,3))
#> [1] 0.4082483 0.5443311 0.6770032