deltaprob | R Documentation |
Compute the Gini mean difference of a discrete distribution
deltaprob(prob)
prob |
Vector of the probability distribution |
Numeric value of the Gini mean difference of the input probability distribution, computed according to the de Finetti-Paciello formulation.
prob<-c(0.04,0.04,0.05,0.10,0.21,0.32,0.24)
deltaprob(prob)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.