Skip to content

Commit

Permalink
doc: IPCW surv predictions should be evaluated at tau only
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Sep 20, 2024
1 parent 2ad288f commit 4e44927
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/PipeOpPredClassifSurvIPCW.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
#' Therefore, these predictions serve as **continuous risk scores** that can be
#' directly interpreted as `crank` predictions in the right-censored survival
#' setting. We also map them to the survival distribution prediction `distr`,
#' at the specified cutoff time point, i.e. as
#' at the specified cutoff time point \eqn{\tau}, i.e. as
#' \eqn{S_i(\tau) = 1 - \hat{\pi}(\bold{X}_i)}.
#' Survival measures that use the survival distribution (eg [ISBS][mlr_measures_surv.brier])
#' should be evaluated exactly at the cutoff time point \eqn{\tau}, see example.
#'
#' @references
#' `r format_bib("vock_2016")`
Expand Down
2 changes: 1 addition & 1 deletion R/PipeOpResponseCompositor.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
#' # mostly improper survival distributions, "median" sets the survival time
#' # to the last time point
#'
#' # RMST (default) as response, while also changing the crank = -response
#' # RMST (default) as response, while also changing the `crank` to `-response`
#' por = po("responsecompose", param_vals = list(overwrite = TRUE, add_crank = TRUE))
#' por$predict(list(pred))[[1L]]
#' }
Expand Down

0 comments on commit 4e44927

Please sign in to comment.