EM: Perform Expectation Maximization Algorithm on Gaussian...

Description Usage Arguments Value

View source: R/EM.R

Description

Will perform niter_fit iterations of the expectation maximization procedure. This procedure estimates gammas, the probabilities for each class, then uses these to fit β. With the updated beta, data, and parameters, we estimate the probability of a class and true p-value based on the covariate and masked value.

Usage

1
EM(model, w_ika = NULL, preset_iter = NULL, return_w_ika = FALSE)

Arguments

model

Model class with data, args, and initialize parameters

Value

Model class with updated parameters.


patrickrchao/AdaPTGMM documentation built on Oct. 22, 2021, 7:49 a.m.