Compute the normalized dissimilarity measure between observed relative frequencies and estimated (theoretical) probabilities of a discrete distribution.
dissim(proba,probb)
Arguments
proba: Vector of observed relative frequencies
probb: Vector of estimated (theoretical) probabilities
Returns
Numeric value of the dissimilarity index, assessing the distance to a perfect fit.