Description Usage Arguments Value
Computes the marginal probability of an observation belonging to a currently occupied cluster.
| 1 | sugsclustMarg(x, K, i, D, n, betaHat, phi, m, nu, S, lambda, intfeature)
 | 
| x | The observation currently underconsideration. | 
| K | The number of clusters. | 
| i | The current iteration state of the algorithm. | 
| D | The number of variable in the data matrix. | 
| n | The vector indicating the number of observations in each cluster | 
| betaHat | The grid of concentration parameters. | 
| phi | The probability weights of  | 
| m | The current posterior mean. | 
| nu | The current posterior degrees of freedom. | 
| S | The current posterior scale vector. | 
| lambda | The current posterior mean variance. | 
| intfeature | A binary vector indicating whether features are irrelevant (0) or relevant (1). | 
The unnormalised probability of belong to any of the currently occupied clusters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.