R/confint.coxtp.R
, R/confint.coxtv.R
confint.coxtv.Rd
Get confidence intervals of time-varying coefficients from a fitted coxtv
or coxtp
object.
fitted "coxtv"
model.
the names of parameters.
the confidence level. The default value is 0.95.
the time points for which the confidence intervals to be estimated. The default value is the unique observed event times in the dataset fitting the time-varying effects model.
other parameters to function
if (FALSE) {
data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtp(event = event, z = z, time = time)
IC <- IC(fit)
confint(IC$model.mAIC)
}
if (FALSE) {
data(ExampleData)
z <- ExampleData$z
time <- ExampleData$time
event <- ExampleData$event
fit <- coxtv(event = event, z = z, time = time)
confint(fit)
}