View source: R/MixtureFitting.R
cmm_init_vector | R Documentation |
Estimate an initialization vector for Cauchy mixture fitting via Expectation Maximization. Proportions are set to equal, centers are equispaced through the whole domain of input sample, and scales are set to 1.
cmm_init_vector( x, m, implementation = "C" )
x |
data vector |
m |
number of mixture components |
implementation |
flag to switch between C (default) and R implementations. |
Parameter vector of 3*n parameters, where n is number of mixture components. Structure of p vector is p = c( A1, A2, ..., An, mu1, mu2, ..., mun, gamma1, gamma2, ..., gamman ), where Ai is the proportion of i-th component, mui is the center of i-th component and gammai is the Cauchy scale of i-th component.
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.