piridge | R Documentation |
The Pi-function is given in (6) in Ray and Lindsay, 2005. Equating it to the mixture proportion yields locations of two-component Gaussian mixture density extrema.
piridge(alpha, mu1, mu2, Sigma1, Sigma2, showplot=FALSE)
alpha |
sequence of values between 0 and 1 for which the Pi-function is computed. |
mu1 |
mean vector of component 1. |
mu2 |
mean vector of component 2. |
Sigma1 |
covariance matrix of component 1. |
Sigma2 |
covariance matrix of component 2. |
showplot |
logical. If |
Vector of values of the Pi-function for values of alpha
.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en/
Ray, S. and Lindsay, B. G. (2005) The Topography of Multivariate Normal Mixtures, Annals of Statistics, 33, 2042-2065.
q <- piridge(seq(0,1,0.1),c(1,1),c(2,5),diag(2),diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.