Index of dissimilarity

dissimilarity(x, y)

Arguments

x

A numeric vector

y

A numeric vector, the same length as x

Value

A number between \(0\) and \(1\). Lower is better.

References

Kuha, Jouni and Firth, David (2011). On index of dissimilarity for lack of fit in loglinear and log-multiplicative models. Computational Statistics & Data Analysis, 55(1):375--388.

See also

profile_residuals()