# NOT RUN {
#--- time-to-event distribution: exponential, censoring distribution: None
out1<- StabCont.surv(data=lung, timevar="time", censorvar="status", splitvar="age", event.ind=2)
out1$pval
#--- time-to-event distribution: weibull, censoring distribution: None
StabCont.surv(data=lung, timevar="time", censorvar="status", splitvar="age",
time.dist="weibull", event.ind=2)
#--- time-to-event distribution: weibull, censoring distribution: exponential
StabCont.surv(data=lung, timevar="time", censorvar="status", splitvar="age",
time.dist="weibull", cens.dist="exponential", event.ind=2)
# }
Run the code above in your browser using DataLab