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

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

`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. |

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

Erik Gregory

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.