E.step: E-step of the EM algorithm

Description Usage Arguments Examples

View source: R/E.step.R

Description

This internal function performs an E-step of the EM-algorithm

Usage

1
E.step(phat, theta)

Arguments

phat

The array of normalized counts (sample proportions) of format (r1,...,rm)

theta

The parameter vector in form of a list of size m+1. The last element is the marginal distribution of the latent variable. The other elements of the list correspond to conditional probabilities of the observed variables given the latent one.

Examples

1
E.step(phat,theta)

pzwiernik/LatentClass documentation built on May 26, 2019, 11:35 a.m.