expectation.gmm: Compute the expected distance, GMM under the Hamming distance

Description Usage Arguments Value References Examples

Description

Compute the expected distance in the GMM under the Hamming distance

Usage

1
expectation.gmm(theta, dist.name = "kendall")

Arguments

theta

n dimensional real vector with the dispersion parameters

dist.name

optional name of the distance used in the GMM. One of: kendall (default), cayley, hamming

Value

The expected distance decomposition vector under the GMM

References

"Ekhine Irurozki, Borja Calvo, Jose A. Lozano (2016). PerMallows: An R Package for Mallows and Generalized Mallows Models. Journal of Statistical Software, 71(12), 1-30. doi:10.18637/jss.v071.i12"

Examples

1
2
3
expectation.gmm(c(0.38, 0.44, 0.1, 0.2, 1, 0.1))
expectation.gmm(c(2, 2, 2, 2),"cayley")
expectation.gmm(c(0.3, 0.1, 0.5, 0.1),"hamming")

PerMallows documentation built on May 2, 2019, 6:14 a.m.