Skip to contents

The fast estimator is an empirical-Bayes fit, not a maximum of the likelihood over all of its parameters, so it has no maximised log-likelihood and AIC / BIC are undefined. Calling logLik() raises an informative error rather than returning a misleading number.

Usage

# S3 method for class 'ame_als'
logLik(object, ...)

Arguments

object

an ame_als object.

...

ignored.

Value

Never returns; raises an error.

Details

Every fit carries a Laplace approximation, at its posterior mode, to its log marginal likelihood, fit$eb$log_marginal (see Choosing the rank in ame_als), which compares fits of different latent ranks.