extractAIC.joint: Extract AIC from a joint model fit.

View source: R/loglik.R

extractAIC.jointR Documentation

Extract AIC from a joint model fit.

Description

Extract AIC from a joint model fit.

Usage

## S3 method for class 'joint'
extractAIC(fit, scale, k = 2, conditional = FALSE, ...)

Arguments

fit

A fitted joint object,

scale

See extractAIC; not used.

k

Numeric specifying the "weight" of degrees of freedom (default k=2).

conditional

Should AIC of conditional or observed log-likelihood be used? Defaults to conditional = FALSE.

...

additional arguments (none used).

Value

A numeric vector of length 2, with first and second element giving

df

The degrees of freedom for the fitted model.

AIC

The Akaike Information Criterion for the fitted model.


gmvjoint documentation built on Oct. 6, 2024, 1:07 a.m.