EM.algo_simultanee_Cpp: EM.algo_simultanee calculates the MLE of phi for given...

View source: R/SegTraj_EM_cpp.R

EM.algo_simultanee_CppR Documentation

EM.algo_simultanee calculates the MLE of phi for given change-point instants and for a fixed number of clusters

Description

EM.algo_simultanee calculates the MLE of phi for given change-point instants and for a fixed number of clusters

Usage

EM.algo_simultanee_Cpp(x, rupt, P, phi, eps = 1e-06, sameSigma = FALSE)

Arguments

x

bivariate signal

rupt

the sequence of change points

P

number of clusters

phi

starting value for the parameter

eps

eps

sameSigma

TRUE if segments have the same variance

Value

a list with phi, the MLE, tau =(taukj) the probability for segment k to belong to class,lvinc = lvinc,empty = empty,dv = dv


segclust2d documentation built on Aug. 21, 2023, 9:10 a.m.