Description Usage Arguments Value
fit an additive hazards model with two stage residual inclusion method
1 2 3 | ## Default S3 method:
tsriadditive(survtime, cause = NULL,
treatment = NULL, IV = NULL, covariates = NULL)
|
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 |
the fitting result, a class called "tsriadditive"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.