degreesoffreedom: Degrees of Freedom

Description Usage Arguments Details Value Author(s) Examples

View source: R/degreesoffreedom.R

Description

This function calculates the degrees of freedom as part of the calculation of the Akaike Information Criterion (AIC).

Usage

1
degreesoffreedom(m, statusinfo)

Arguments

m

a fitted multi state model using gamboost(..., family=multistate(...)).

statusinfo

a logical indicating if information on the calculation process should be printed.

Details

This function calculates the degress of freedom as part of the calculation of the Akaike Information Criterion.

Value

A vector of length equal to the number of boosting iterations in the plugged in model object.

Author(s)

Holger Reulen

Examples

1
## Not run: degreesoffreedom(m, statusinfo)

gamboostMSM documentation built on May 1, 2019, 10:25 p.m.