tsrisurvadditivefit: fit an additive hazard using IV method under survival...

Description Usage Arguments Value

View source: R/tsriadditivefit.R

Description

fit an additive hazard using IV method under survival settings

Usage

1
tsrisurvadditivefit(survtime, cause = NULL, Z)

Arguments

survtime

the event time

cause

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

Z

a variable contains all the regressors

Value

the fitting result, a list containing the cofficients, the baseline function and the byproduct including some pieces during the computing process


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