C++ implementation of multivariate skew t likelihood function for multiple inputs
mvstlikC(x, c, clustval, xi, psi, sigma, df, loglik = TRUE)
a list:
"indiv"
:vector of likelihood of length n;
"clust"
:vector of likelihood of length K;
"total"
:total (log)-likelihood;
data matrix of dimension p x n, p being the dimension of the data and n the number of data points
integer vector of cluster allocations with values from 1 to K
vector of unique values from c in the order corresponding to
the storage of cluster parameters in xi
, psi
, and sigma
mean vectors matrix of dimension p x K, K being the number of clusters
skew parameter vectors matrix of dimension p x K
list of length K
of variance-covariance matrices,
each of dimensions p x p
.
vector of length K
of degree of freedom parameters.
logical flag or returning the log-likelihood instead of the likelihood.
Default is TRUE
.
Boris Hejblum