Calculates the Brier score at specified evaluation times and the Integrated Brier Score (IBS) up to \(\tau\), using IPCW to handle censoring.
compute_ibrier(eval_times, surv_mat, time_vec, status_vec, tau, censor_eval_fn)A list with ibs (the scalar IBS value) and curve (a
numeric vector of Brier scores at eval_times).
Numeric vector of evaluation time points.
Matrix of predicted survival probabilities (rows=subjects, cols=eval_times).
Numeric vector of test times.
Numeric vector of test statuses.
The time horizon \(\tau\) for integration.
A function (from create_censor_eval) that
evaluates the censoring survival function \(G(t)\).