surv.land.rct.base: Estimates survival using landmark estimation

View source: R/landest_functions.R

surv.land.rct.baseR Documentation

Estimates survival using landmark estimation

Description

Estimates the probability of survival past some specified time using landmark estimation for a randomized trial setting

Usage

surv.land.rct.base(tl, dl, tt, landmark, short = NULL, z.cov = NULL, 
weight.perturb = NULL, bw = NULL)

Arguments

tl

observed event time of primary outcome, equal to min(T, C) where T is the event time and C is the censoring time.

dl

event indicator, equal to I(T<C) where T is the event time and C is the censoring time.

tt

the time of interest, function estimates the probability of survival past this time

landmark

the landmark time

short

a matrix of intermediate event information, there should be two columns for each intermediate event, the first column contains the observed intermediate event time, equal to min(TS, C) where TS is the event time and C is the censoring time, and the second column contains the event indicator, equal to I(TS<C)

z.cov

matrix of baseline covariate information

weight.perturb

a n by x matrix of weights where n = length of tl; used for perturbation-resampling, default is null. If var or conf.int is TRUE and weight.perturb is not provided, the function generates exponential(1) weights.

bw

bandwidth used for kernel estimation, default is NULL

Details

See documentation for delta.land.rct for details.

Value

estimate of survival at the specified time

Author(s)

Layla Parast


landest documentation built on Aug. 26, 2023, 1:08 a.m.