EM_M_step: EM M-step Function

Description Usage Arguments Value

View source: R/EM_M_step.R

Description

M-step to calculate the coefficients and covariance matrix in EM algorithm

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
EM_M_step(
  Ymatrix,
  Xmatrix,
  split,
  t,
  N,
  pden.post,
  VarMatrix,
  Beta,
  K,
  Lambda = 0
)

Arguments

Ymatrix

matrix of dependent variables, multiple dimensions eligible

Xmatrix

matrix of independent variables

split

index of columns with no penalty

t

length of trajectory

N

number of trajectories

pden.post

probablity density from E-step

VarMatrix

covariance matrix

Beta

coefficient matrix

K

number of clusters

Lambda

penalty coefficient

Value

list of outputs used for M-step


ericchen12377/mixDP documentation built on June 23, 2021, 12:02 p.m.