ecm: Model estimation through ECM

Description Usage Arguments Value

View source: R/ecm.R

Description

Implements the expectation-conditional-maximization algorithm for a regularized copula-based mixture model given initial parameter values, starting with the expectation step.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
ecm(
  x,
  K,
  lambda,
  start = NULL,
  margins,
  trace = TRUE,
  maxit = 1000,
  epsilon = 1e-06,
  dist_mat = NULL
)

Arguments

x

A numeric matrix or data frame of observations. Rows correspond to observations and columns correspond to variables.

K

An integer specifying the number of components for which a regularized copula-based mixture model should be fitted.

lambda

A numeric value indicating the value of the tuning parameter for regularization.

start

A list providing the starting values for ECM. The list is produced by fit.rcbmm.

margins

A character vector specifying the marginal distributions of the components in the mixture. The vector must have a length equal to the number of columns in x. Each element must be equal to "norm", "beta" or "gamma".

trace

A logical value indicating if an update regarding the algorithm's progress should be displayed after each iteration.

maxit

A numeric value indicating the maximal number of ECM iterations.

epsilon

A numeric value specifying the tolerance associated with determining when convergence of the ECM algorithm has been achieved.

dist_mat

An object of type dist for calculating silhouette values.

Value


ben-j-barlow/rcbmm documentation built on Feb. 12, 2021, 9:14 a.m.