Description Usage Arguments Value
This function calculates the posterior probability that each observation belongs to each of the mixture components.
1 | computeTau(x, p, mu, sigma)
|
x |
A matrix of observations with d rows (number of variables) and n columns (number of observations). |
p |
A numeric vector of proportions (one for each mixture component). |
mu |
A list of numeric vectors (which are the mean of each mixture component). |
sigma |
A list of covariance matrices (one for each mixture component). |
This function returns a matrix that contains the posterior probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.