deltaprob: Mean difference of a discrete random variable

Description Usage Arguments Examples

Description

Compute the Gini mean difference of a discrete random variable.

Usage

1
deltaprob(m,prob)

Arguments

m

Number of categories

prob

Probability distribution of the random variable

Examples

1
2
3
m<-7
prob<-c(0.04,0.04,0.05,0.10,0.21,0.32,0.24)
deltaprob(m,prob)


Search within the CUB package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.