varlogTTC_wei {curesurv} | R Documentation |
varlogTTC_wei function
Description
Calculates the variance of log(TTC)
with delta method.
The expression of this variance is expressed as:
Var(log(TTC)) = (dlog(TTC)/dtheta)Var(theta)(dlog(TTC)/dtheta)^T
where Var(theta) is the variance-covariance matrix of theta.
Usage
varlogTTC_wei(
object = object,
z_ucured = z_ucured,
z_pcured = z_pcured,
epsilon = epsilon,
TTC
)
Arguments
object |
ouput from a model implemented in curesurv |
z_ucured |
covariates matrix acting on survival function of uncured |
z_pcured |
covariates matrix acting on cure proportion |
epsilon |
value fixed by user to estimate the TTC |
TTC |
time to cure previsouly estimated by TTC_wei |
[Package curesurv version 0.1.1 Index]