snem {snem} | R Documentation |
EM algorithm for multivariate skew normal distribution.
Description
EM algorithm in closed form.
Usage
snem(
x,
eps = 0.9,
iter.eps = 10^-6,
stop.rule = c("parameter", "log-likelihood")
)
Arguments
x |
A data matrix. Each row is an observation vector. |
eps |
Weight parameter with |
iter.eps |
Convergence threshold. Default is 10^-6. |
stop.rule |
|
Details
The parameter eps
is a tuning parameter which ensures that an initial covariance matrix is positive semi-definite.
Value
Location parameter (mu
), covariance matrix (omega
), skewness parameter (delta
), and another expression of skewness parameter (lambda
).
References
Abe, T., Fujisawa, H., and Kawashima, T. (2019) EM algorithm using overparametrization for multivariate skew-normal distribution, in preparation.
Examples
library(sn)
data(ais, package="sn")
x <- ais[c("BMI")]
snem(x, stop.rule ="log-likelihood")
[Package snem version 0.1.1 Index]