baselineest: The baseline hazards function

Description Usage Arguments Value

View source: R/auxilliaryfunction.R

Description

This gives the estimate of baseline hazards function

Usage

1
baselineest(cause, s_zero, Z_int, coef_est)

Arguments

cause

the indicator records the cause. Default to all one. Zero means right censoring. Greater than or equal to two means other cause.

s_zero

the S_zero in the paper

Z_int

the integration of Z_bar

coef_est

the coefficent estimate from the fit

Value

the baseline hazard function estimate


andrewyyp/tsriadditive documentation built on May 25, 2019, 9:23 a.m.