degreesoffreedom {gamboostMSM}R Documentation

Degrees of Freedom

Description

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

Usage

degreesoffreedom(m, statusinfo)

Arguments

m

a boosted multi state model.

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

## Not run: degreesoffreedom(m, statusinfo)

[Package gamboostMSM version 1.1.88 Index]