Learn R Programming

binequality (version 1.0.4)

theilInd: A function to calculate the Theil

Description

This fuction calculates the Theil Index.

Usage

theilInd(samps)

Arguments

samps

a (non-empty) numeric vector of values to calculate MLD over, for example, bin mid points or samples take from a fitted distribution.

Value

returns a numeric value representing the Theil Index

Details

FIXME - equations

References

FIXME - references

Examples

Run this code
# NOT RUN {
theilInd(qnorm(seq(0.001,0.999,length.out = 10), mean = 100))
# }

Run the code above in your browser using DataLab