mStep: The M(aximisation) step

View source: R/mStep.r

mStepR Documentation

The M(aximisation) step

Description

Uses the current group membership to estimate the probabilities.

Usage

mStep(Z, D)

Arguments

Z

an n by q matrix, where n is the number of rows of dframe and q is the number of components in the mixture. During the fitting Zij holds the currently estimated probability that observation i belongs to component j. Commonly Z is initialized to a matrix of indicator columns for a partition of the data.

D

an object of class multimixSettings—see data_organise for details.

Value

an object of class multimixParamList—see initParamList for more information.

Author(s)

Murray Jorgensen


multimix documentation built on Jan. 22, 2023, 1:13 a.m.