Learn R Programming

simMSM (version 1.1.2)

hr: Proportional Hazard Rate Function.

Description

Calculates the proportional hazard rate for given baseline hazard function, time and linear predictor.

Usage

hr(bhr, t, eta.ij, x.i)

Arguments

bhr
transition specific baseline hazard function
t
time
eta.ij
linear predictor
x.i
vector containing the current covariate values.

Value

  • Value of the transition specific hazard rate

Details

Proportional Hazards Parameterization as proposed by Cox (1972).

References

Cox, D.R. (1972): 'Regression Models and Life-Tables', Journal of the Royal Statistical Society. Series B (Methodological), Vol. 34, No. 2. (1972), pp. 187--220.

Examples

Run this code
hr(bhr, t, eta.ij, x.i)

Run the code above in your browser using DataLab