Learn R Programming

gamboostMSM (version 1.1.88)

breslow: Breslow estimator for cumulative baseline hazard rate

Description

This function calculates the Breslow estimator for the cumulative baseline hazard rate, given fitted linear predictor values.

Usage

breslow(f, riskset, entry, exit, trans, event)

Arguments

f

fitted linear predictor values

riskset

riskset list as generated by buildrisksets.

entry

entry times.

exit

exit times.

trans

transition index.

event

observed event indicator.

Value

A list of length Q with each element including including elements

times

a vector of observed event times,

cbhr

a vector of calculated cumulative hazard rate values.

Details

This function calculates the Breslow estimator for the cumulative baseline hazard rate, given fitted linear predictor values.

Examples

Run this code
# NOT RUN {
breslow(f, riskset, entry, exit, trans, event)
# }

Run the code above in your browser using DataLab