Description Usage Arguments Value
Gibbs sampler for Dirichlet Process Mixture of Normals
1 2  | 
X | 
 Vector of input data.  | 
nDraws | 
 Number of draws from the Gibbs sampler (exluding burn-in).  | 
burnIn | 
 Number of burn-in draws.  | 
maxClust | 
 Maximum number of mixture components.  | 
A | 
 Prior parameter.  | 
xi_sq | 
 Prior parameter.  | 
eta1 | 
 Prior parameter.  | 
eta2 | 
 Prior parameter.  | 
nu1 | 
 Prior parameter.  | 
nu2 | 
 Prior parameter.  | 
List of MCMC draws for mu (means of mixture components), sigma_sq (variances of mixture components), p (mixing probabilities), alpha, theta, and K (assignment of observations to clusters).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.