Description Usage Arguments Value Note See Also Examples
View source: R/recurrisk.individual.R
A function to estimate the risk of recurrence using cancer registry disease-specific individual survival data.
1 2 3 | recurrisk.individual(data, stratum, covar, timevar, eventvar,
stagevar, stage.dist.value, link = "Log-logistic", adj.r = 1)
|
data |
The individual survival data set created using the case-listing unformatted CSV data exported from SEER*Stat software or user-generated individual data by other statistical software. |
stratum |
The user-defined strata variables which should be categorical coded as integers. One or more strata can be defined. If there is no stratum, user should define it as NULL. |
covar |
The covariates defined in the mixture cure survival model which should be categorical coded as integers. One or more covariates can be defined. If there is no covariate, user should define it as NULL. |
timevar |
The variable specified as follow-up time in the survival model. |
eventvar |
The status indicator, 0=alive, 1=dead (due to cancer). Note that, dead events due to other causes should be defined as censoring events. |
stagevar |
The stage variable defined in SEER*Stat data. If there are more than 1 stage variable, the user will need to define the one which contains the distant stage. |
stage.dist.value |
The numeric value of distant stage from the values of stage variable. |
link |
The latency distribution for the cure model (non-cured survival). The current version can handle Weibull and log-logistic distributions. The default link is log-logistic. |
adj.r |
The adjustment factor used to adjust the registry-based survival curves for sensitivity analysis. The default value is 1. |
A data frame containing the following items.
link |
The parametric survival distribution among those not cured specified in CanSurv. |
cure |
The cure fraction estimated from the mixture cure survival model. |
lambda |
The estimated scale parameter of the survival distribution for those not cured. |
k |
The estimated shape parameter of the survival distribution for those not cured. |
theta |
The exponential hazard of the time from recurrence to cancer death. |
surv_curemodel |
The survival estimated from the mixture cure survival model. |
surv_notcure |
The estimated survival for the non-cured fraction. |
median_surv_notcured |
The median survival time for the non-cured fraction. |
s1_numerical |
The numerical estimated survival to recurrence (recurrence-free survival) for the non-cured fraction. |
G_numerical |
The numerical estimated survival to recurrence. |
CI_numerical |
1-G_numerical, the numerical estimated cumulative incidence of recurrence which is the probability of progressing to cancer recurrence. |
s1_analytical |
The analytical estimated survival to recurrence (recurrence-free survival) for the non-cured fraction. |
G_analytical |
The analytical estimated survival to recurrence. |
CI_analytical |
1-G_analytical, the analytical estimated cumulative incidence of recurrence. |
se_CI_analytical |
The standard error of CI_analytical. |
obs_surv |
The observed survival from SEER*Stat. |
obs_dist_surv |
The observed survival for distant stage from SEER*Stat. |
Note that, the cure fraction and parametric survival distribution are estimated using flexsurvcure
function in R package flexsurvcure for individual data.
1 2 3 4 5 6 7 8 9 10 11 | #data("data.individual")
#timevar<-"time"
#eventvar<-"status"
#stagevar<-"stage"
#stage.dist.value<-3
#stratum<-c("stage","agegroup")
#covar<-"yeargroup"
#link<-"Log-logistic"
#adj.r<-1.2
#out<-recurrisk.individual(data.individual, stratum, covar, timevar, eventvar,
# stagevar, stage.dist.value, link, adj.r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.