EStep {RMallow} | R Documentation |
Assigns each ranking the probability that it belongs to each cluster, given current parameters.
EStep(R, r, p, lambda, G, N, C, all.dists = NULL)
R |
Current cluster modal sequences. |
r |
The data of partial or full rankings. |
p |
The proportion of the data currently assigned to each cluster. |
lambda |
The lambda parameters from Mallow's model for each cluster. |
G |
Number of clusters, length(R). |
N |
Number of rows in the data. |
C |
Vector of normalizing coefficients for the clusters. |
all.dists |
For efficiency, provide all of the Kendall distances between each sequence and each cluster mode. |
Matrix where output[i, j] represents the current probability that subject "i" belongs to cluster "j".
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.