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

Description Usage Arguments Value References See Also

View source: R/cste_surv_SCB.R

Description

This function calculates simultaneous confidence bands of CSTE curve for time to event outcome with right censoring.

Usage

1
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-α)-confidence level of SCB.

Value

A n*3 matrix, estimation of l^T β(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 Dec. 16, 2021, 9:07 a.m.

Related to cste_surv_SCB in CSTE...