breslow: Breslow estimator for cumulative baseline hazard rate

View source: R/breslow.R

breslowR Documentation

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.

Details

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

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.

Author(s)

Holger Reulen

Examples

## Not run: breslow(f, riskset, entry, exit, trans, event)

gamboostMSM documentation built on May 6, 2022, 9:06 a.m.