cste_surv_SCB {CSTE} | R Documentation |
Calculate simultaneous confidence bands (SCB) of CSTE curve for time to event outcome with right censoring.
Description
This function calculates simultaneous confidence bands of CSTE curve for time to event outcome with right censoring.
Usage
cste_surv_SCB(l, x, y, z, s, h, m, alpha = 0.05)
Arguments
l |
contraction vector with dimension |
x |
samples of biomarker (or covariate) which is a |
y |
samples of time to event which is a |
z |
samples of treatment indicator which is a |
s |
samples of censoring indicator which is a |
h |
kernel bandwidth. |
m |
number of turns of resampling. |
alpha |
the |
Value
A n*3
matrix, estimation of l^T \beta(x)
and its simultaneous confidence bands.
References
Ma Y. and Zhou X. (2017). Treatment selection in a randomized clinical trial via covariate-specific treatment effect curves, Statistical Methods in Medical Research, 26(1), 124-141.