Description Usage Arguments Value References Examples
tsriadditive is used to fit additive hazards models with two stage residual inclusion method.
1 2 | 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 |
tsriadditive returns an object of class "tsriadditive". An object of class "tsriadditive" is a list containing the following components:
coef |
an estimate of the coefficients |
baseline |
an estimate of the baseline hazards function |
vcov |
an estimate of the variance covariance matrix of coef |
byprod |
a byproduct, that will used by other functions |
Ying, A., Xu, R. and Murphy, J. Two-Stage Residual Inclusion for Survival Data and Competing Risks - An Instrumental Variable Approach with Application to SEER- Medicare Linked Data. Statistics in Medicine, 38(10): 1775-1801, 2019.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.