tsriadditive.default: fit an additive hazards model with two stage residual...

Description Usage Arguments Value

View source: R/tsriadditive.R

Description

fit an additive hazards model with two stage residual inclusion method

Usage

1
2
3
## Default S3 method:
tsriadditive(survtime, cause = NULL,
  treatment = NULL, IV = NULL, covariates = NULL)

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.

treatment

the treatment variable, can be null

IV

the instrumental variable

covariates

all the observed confounders

Value

the fitting result, a class called "tsriadditive"


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