cste_surv_SCB: Calculate simultaneous confidence bands (SCB) of CSTE curve...

View source: R/cste_surv_SCB.R

cste_surv_SCBR 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 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-\alpha)-confidence level of SCB.

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.

See Also

cste_surv


CSTE documentation built on April 4, 2025, 12:27 a.m.

Related to cste_surv_SCB in CSTE...