The Brier score is the mean squared error of a survival probability prediction at a fixed horizon. Censoring makes the naive average biased, because subjects censored before the horizon have unknown status; Graf et al. reweight the observed subjects by the inverse of the censoring survival at their own event time, which restores unbiasedness. The scaled score, 1 - BS(model)/BS(null) with the Kaplan-Meier marginal as the null, is the index of prediction accuracy.
Details
R arm of the existing Python brier module.
Formula: BS(t) = (1/n) [ sum_i w_i I(T_i <= t, d_i = 1) S(t|x_i)^2 + sum_i I(T_i > t) (1 - S(t|x_i))^2 ] with w_i = 1 / G(T_i), G the Kaplan-Meier estimate of censoring.
References
Graf, E., Schmoor, C., Sauerbrei, W. and Schumacher, M. (1999). Assessment and comparison of prognostic classification schemes for survival data. Statistics in Medicine 18(17-18): 2529-2545. Gerds, T. A. and Schumacher, M. (2006). Biometrical Journal 48(6):1029-1040. doi:10.1002/bimj.200610301
