Description Usage Arguments Value
A function to compute statistics and posterior given clustering and priors
1 | compsugsStats(n, nu_0, lambda_0, mu_0, S_0, member, X, numclust)
|
n |
The vector indicating the number of observations in each cluster |
nu_0 |
The prior degrees of freedom |
lambda_0 |
The prior mean variance |
mu_0 |
The prior mean |
S_0 |
The prior scale vector |
member |
A vector of cluster membership allocations |
X |
The data matrix with observations as rows. |
numclust |
The total number of occupied clusters |
The posterior hyperparameters for the normal inverse chisquared distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.