View source: R/varlogTTC_wei.R
varlogTTC_wei | R Documentation |
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.
varlogTTC_wei(
object = object,
z_ucured = z_ucured,
z_pcured = z_pcured,
epsilon = epsilon,
TTC
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.