-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
predict.pamm <- function(
object,
newdata,
type = c("response", "mrl", "hazard", "cumulative hazard", "survival probability"),
se.type = c("direct", "sim", "delta"),
...) {}
-
should it have a times argument by default?
-
return value:
- expected survival time and mrl: vector of length
nrow(newdata)
- hazard, cumulative hazard and survival probability: ???
- expected survival time and mrl: vector of length
-
alternatively, only allow
response
andmrl
since other response types are covered inadd_*
functions -
what if user wants the
mgcv
predictions, i.e.predict.gam
instead ofpredict.pamm
? -
return types (
type = ...
):- hazard ("hazard")
- cumulative hazard ("cumu_hazard")
- survival probability ("surv_prob")
- expected survival time (see also Support for estimation of expected survival time and similar measures #136) ("response")
- mean residual lifetime ("mrl")