Learn R Programming

gamboostMSM (version 1.1.88)

degreesoffreedom: 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.

Value

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

Details

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

Examples

Run this code
# NOT RUN {
degreesoffreedom(m, statusinfo)
# }

Run the code above in your browser using DataLab