Description Usage Arguments Details Value Examples
One way to get confidence intervals for mixtures on the simplex is to first specify the cluster labels for each component, and then study each of these histograms on their own. This is different from, say, smoothing the mixture distribution and identifying modes.
1 | match_matrix(X, Z)
|
X |
[numeric matrix] A matrix whose rows we want to align with X. |
Z |
[numeric matrix] A matrix whose rows we want to align with Z. |
The approach taken here is to find the two rows with maximal correlation and put that in the required permutation. Then, remove those rows and repeat.
pi_result [vector] A permutation such that X[pi_result, ] = Z (ideally).
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.