Description Usage Arguments Value
A function to compute the probability of belonging to an unoccupied cluster for the SUGS algorithm
1 | sugsnewclusterProb(x, i, D, phi, betaHat, mu_0, lambda_0, nu_0, S_0)
|
x |
The current observation under consideration. |
i |
The current iteration of the SUGS algorithm |
D |
The number of variables |
phi |
The weights associated with the dirichlet grid prior |
betaHat |
The grid of values for the dirichlet concentration parameter |
mu_0 |
The mean hyperparameter, default is the column means of the data matrix. |
lambda_0 |
The variance of the Guassian mean prior, the dafault value is |
nu_0 |
The degrees of freedom hyperparameter, the default value is |
S_0 |
The scale hyperparamter, the deault value is a fifth of the column variance of the data matrix. |
The unnormlised probability of the observation belonging to a new cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.