R: Likelihood of the data and parameters.

Likelihood {RMallow} | R Documentation

## Likelihood of the data and parameters.

### Description

Calculates the log-likelihood of the data with the current parameters and Kendall's distance.

### Usage

      Likelihood(z, p, C.lam, lambda, all.dists.data)

### Arguments

`z` | Probability of each cluster membership.
`p` | Proportion in each cluster.
`C.lam` | Vector of normalizing coefficients for Mallows' model.
`lambda` | Current spread parameters
`all.dists.data` | All distances from the data to the modal sequences.

### Value

Current log-likelihood of the data with the current parameters.

### Author(s)

Erik Gregory

### References

"Mixtures of distance-based models for ranking data". Thomas Brendan Murphy & Donal Martin. 1 April 2002. Computational Statistics & Data Analysis 41 (2003) 645-655.

[Package RMallow version 1.0 Index]