computeAIC: Compute the approximate AIC

Description Usage Arguments Details Value

Description

computeAIC computes the approximate AIC of a given mixedMemModelVI, where the lower bound on the log-likelihood (also called ELBO) is used instead of the intractable true log-likelihood.

Usage

1
computeAIC(model)

Arguments

model

the mixedMemModelVI object for which the AIC will be calculated.

Details

AIC = -2 ELBO + 2 * p

where p is the number of estimated parameters.

Value

computeAIC returns the approximate AIC value, a real number.


ysamwang/mixedMem documentation built on May 4, 2019, 5:33 p.m.