predict.phreg: Predictions from proportional hazards model

predict.phregR Documentation

Predictions from proportional hazards model

Description

Predictions from proportional hazards model

Usage

## S3 method for class 'phreg'
predict(
  object,
  newdata,
  times = NULL,
  individual.time = FALSE,
  tminus = FALSE,
  se = TRUE,
  robust = FALSE,
  conf.type = "log",
  conf.int = 0.95,
  km = FALSE,
  ...
)

Arguments

object

phreg object

newdata

data.frame

times

Time where to predict variable, default is all time-points from the object sorted

individual.time

to use one (individual) time per subject, and then newdata and times have same length and makes only predictions for these individual times.

tminus

to make predictions in T- that is strictly before given times, useful for IPCW techniques

se

with standard errors and upper and lower confidence intervals.

robust

to get robust se's.

conf.type

transformation for suvival estimates, default is log

conf.int

significance level

km

to use Kaplan-Meier product-limit for baseline

S_{s0}(t)= (1 - dA_{s0}(t))

, otherwise take exp of cumulative baseline.

...

Additional arguments to plot functions


mets documentation built on May 29, 2024, 3:51 a.m.