Description Usage Arguments Value
The SUGS clustering algorithm by Wang and Dunson (2011)
1 2 |
mydata |
Data matrix with observations as rows. |
Model |
Character string indicating whether to use PML, ML or both for model selection. "Both" defaults to PML. |
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 default value is a tenth of the column variance of the data matrix. |
betaHat |
A grid of hyperparameters for the dirichlet concentration parameter, the default is |
a |
The scale of the gamma prior for the dirichlet concentration parameter, the dafault value is |
b |
The rate of the gamma prior for the dirichlet concentration parameter, the default value is |
A matrix of cluster allocation, K the number of clusters, a matrix indicating the number of observations allocated to each cluster. The value of the model selection criteria either log PML, log ML or both.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.