Description Usage Arguments Value References See Also
View source: R/cste_surv_SCB.R
This function calculates simultaneous confidence bands of CSTE curve for time to event outcome with right censoring.
1 | cste_surv_SCB(l, x, y, z, s, h, m, alpha = 0.05)
|
l |
contraction vector with dimension K. |
x |
samples of biomarker (or covariate) which is a n*1 vector and should be scaled between 0 and 1. |
y |
samples of time to event which is a n*1 vector. |
z |
samples of treatment indicator which is a n*K matrix. |
s |
samples of censoring indicator which is a n*1 vector. |
h |
kernel bandwidth. |
m |
number of turns of resampling. |
alpha |
the (1-α)-confidence level of SCB. |
A n*3 matrix, estimation of l^T β(x) and its simultaneous confidence bands.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.