The breast-cancer data are close to separable (LR AUROC [[a:main/LR + no correction/bc_natural/auroc/mean:3]] at natural prevalence), so two further clinical tabular data sets with lower discrimination were added (Section~\ref{sec:setup}): Pima Indians diabetes at the four prevalences (LR AUROC [[a:main/LR + no correction/pima_natural/auroc/mean:3]] at natural prevalence and [[a:main/LR + no correction/pima_1to20/auroc/mean:3]] at 1:20) and mammography at its natural event rate of about two per cent (LR AUROC [[a:main/LR + no correction/mammo_natural/auroc/mean:3]]). Table~\ref{tab:clin} gives the main systems; the paired statistics follow the families of Section~\ref{sec:setup} (Pima: 24 cells per metric; mammography: 6 cells per metric, Holm within each data set).

\begin{table*}[t]\centering\caption{Pima and mammography: AUROC, Brier score, signed $a$ and balanced accuracy (at each system's cut-off), mean of 10 seeds. $^{*}$ / $^{\dagger}$: unadjusted / Holm-adjusted paired $p<[[c:alpha:2]]$ against no correction, same learner (not shown for AUROC).}\label{tab:clin}
\small\setlength{\tabcolsep}{3pt}\input{generated/clin.tex}
\end{table*}

\textbf{Discrimination.} On Pima the corrections do not improve discrimination: LR AUROC differences range from [[d:summary_pima/lr_all_auroc_dmin:3]] to $+[[d:summary_pima/lr_all_auroc_dmax:3]]$ (lower in [[d:summary_pima/lr_all_auroc_nsig:0]] cells with $p<[[c:alpha:2]]$, none after Holm) and GB differences from [[d:summary_pima/gb_all_auroc_dmin:3]] to $+[[d:summary_pima/gb_all_auroc_dmax:3]]$; the registered H1 rule is met by [[d:summary_pima/h1_refuting_cells:0]] of 48 cells (GB with reweighting at 1:50, AUPRC $+[[d:paired_pima/gb_reweight_pima_1to50_auprc_delta:3]]$, $p=[[d:paired_pima/gb_reweight_pima_1to50_auprc_p:3]]$, adjusted $p=[[d:paired_pima/gb_reweight_pima_1to50_auprc_holm:2]]$). On mammography the corrections \emph{do} raise AUROC: LR by $+[[d:paired_mammo/lr_reweight_mammo_natural_auroc_delta:3]]$ to $+[[d:paired_mammo/lr_smote_mammo_natural_auroc_delta:3]]$ and GB by $+[[d:paired_mammo/gb_smote_mammo_natural_auroc_delta:3]]$ to $+[[d:paired_mammo/gb_reweight_mammo_natural_auroc_delta:3]]$ (all six $p\le[[d:paired_mammo/gb_ros_mammo_natural_auroc_p:3]]$, adjusted $p\le[[d:paired_mammo/gb_ros_mammo_natural_auroc_holm:3]]$), and the GB gain exceeds the registered margin of [[c:h1_gain_threshold:2]]; AUPRC, by contrast, falls for LR ([[d:paired_mammo/lr_reweight_mammo_natural_auprc_delta:3]] to [[d:paired_mammo/lr_smote_mammo_natural_auprc_delta:3]]) and rises, not significantly, for GB. The claim that corrections give no gain in discrimination is therefore not general: it holds on breast cancer and Pima, not on mammography with an event rate of about two per cent.

\textbf{Calibration.} Here the corrections clearly distort LR risk. On Pima every correction lowers the signed intercept in all 12 LR cells (all [[d:summary_pima/lr_all_cal_citl_nholm:0]] after Holm), by [[d:summary_pima/lr_all_cal_citl_dmax:2]] to [[d:summary_pima/lr_all_cal_citl_dmin:2]] logits, raises $|a|$ in all 12 (by $+[[d:summary_pima/lr_all_citl_abs_dmin:2]]$ to $+[[d:summary_pima/lr_all_citl_abs_dmax:2]]$; all after Holm) and raises Brier score in all 12 ($+[[d:summary_pima/lr_all_brier_dmin:3]]$ to $+[[d:summary_pima/lr_all_brier_dmax:3]]$; [[d:summary_pima/lr_all_brier_nholm:0]] after Holm); at 1:20 LR Brier score is [[a:main/LR + no correction/pima_1to20/brier/mean:3]] without correction and [[a:main/LR + ROS/pima_1to20/brier/mean:3]] with ROS, with $a=$ [[a:main/LR + ROS/pima_1to20/cal_citl/mean:2]]. On mammography the Brier score of LR rises from [[a:main/LR + no correction/mammo_natural/brier/mean:3]] to [[a:main/LR + ROS/mammo_natural/brier/mean:3]] and $a$ falls from $+[[a:main/LR + no correction/mammo_natural/cal_citl/mean:2]]$ to [[a:main/LR + ROS/mammo_natural/cal_citl/mean:2]] (adjusted $p\le[[d:paired_mammo/lr_smote_mammo_natural_cal_citl_holm:sci1]]$ for the three corrections' $a$ and $\le[[d:paired_mammo/lr_smote_mammo_natural_brier_holm:sci1]]$ for their Brier score). For GB the Brier score is higher with a correction in [[d:summary_pima/gb_all_brier_npos:0]] of 12 Pima cells ([[d:summary_pima/gb_all_brier_nholm:0]] after Holm) and on mammography ($+[[d:paired_mammo/gb_reweight_mammo_natural_brier_delta:3]]$ to $+[[d:paired_mammo/gb_smote_mammo_natural_brier_delta:3]]$). H2 is thus supported for LR on both data sets, in contrast to breast cancer where the absolute intercept and Brier score barely moved. Why breast cancer differs is not established by these runs; Section~\ref{sec:ablations} gives a simulation in which the intercept shift of a correction is only partly absorbed when the classes are nearly separable.

\textbf{Operating point.} The corrections raise LR sensitivity in all 12 Pima cells (by $+[[d:summary_pima/lr_all_sens_dmin:2]]$ to $+[[d:summary_pima/lr_all_sens_dmax:2]]$; all after Holm) and balanced accuracy in all 12 ($+[[d:summary_pima/lr_all_bal_acc_dmin:3]]$ to $+[[d:summary_pima/lr_all_bal_acc_dmax:3]]$), with a loss of specificity. Threshold moving reaches the same or a higher balanced accuracy without changing the probabilities: for LR on Pima it is higher than each correction by $+[[d:summary_pima/thrc_lr_pima_natural_bal_acc_dmin:3]]$ to $+[[d:summary_pima/thrc_lr_pima_1to20_bal_acc_dmax:3]]$ at natural prevalence, 1:5 and 1:20 (not significant after Holm; unadjusted $p\ge[[d:summary_pima/thrc_lr_pima_natural_bal_acc_pmin:2]]$) and by $+[[d:summary_pima/thrc_lr_pima_1to50_bal_acc_dmin:3]]$ to $+[[d:summary_pima/thrc_lr_pima_1to50_bal_acc_dmax:3]]$ at 1:50 ($p\le[[d:summary_pima/thrc_lr_pima_1to50_bal_acc_pmax:5]]$); on mammography it is higher for LR by $+[[d:thr_mammo/lr_thr_vs_smote_mammo_natural_bal_acc_delta:3]]$ to $+[[d:thr_mammo/lr_thr_vs_ros_mammo_natural_bal_acc_delta:3]]$ and \emph{lower} for GB by [[d:thr_mammo/gb_thr_vs_smote_mammo_natural_bal_acc_delta:3]] to [[d:thr_mammo/gb_thr_vs_ros_mammo_natural_bal_acc_delta:3]]. The specificity-matched comparison of Section~\ref{sec:controls} was run on breast cancer only.

\textbf{Prior-shift offset.} Table~\ref{tab:abl_brier_clin} and~\ref{tab:citl_clin} give the offset ablation on Pima and mammography. For LR the offset works here: the Brier gap to no correction shrinks in all [[d:summary_prior_pima/lr_shrinks:0]] of 12 Pima cells (within [[c:h4_brier_tolerance:3]] in [[d:summary_prior_pima/lr_within:0]] of 12, against [[d:summary_prior_pima/lr_rawwithin:0]] for the raw corrections), $|a|$ is not raised by the offset in any of the 12 cells ($|a|_{\text{off}}$ [[a:clin_priorcorr/LR + ROS + prior corr/pima_1to20/citl_abs/mean:2]] against [[a:main/LR + ROS/pima_1to20/citl_abs/mean:2]] raw at 1:20, close to [[a:main/LR + no correction/pima_1to20/citl_abs/mean:2]] for no correction), and on mammography the Brier gap falls from $+[[d:prior_mammo/lr_ros_mammo_natural_gap_raw:3]]$ to $+[[d:prior_mammo/lr_ros_mammo_natural_gap_off:3]]$ with $|a|$ from [[a:main/LR + ROS/mammo_natural/citl_abs/mean:2]] to [[a:clin_priorcorr/LR + ROS + prior corr/mammo_natural/citl_abs/mean:2]]. The offset therefore restores the calibration of LR where classes overlap, as in the simulation, and fails on near-separable breast cancer. For GB the offset helps less: the Brier gap shrinks in [[d:summary_prior_pima/gb_shrinks:0]] of 12 Pima cells but $|a|$ rises in [[d:summary_prior_pima/gb_citl_up:0]] of 12, and on mammography the GB $|a|$ is [[a:clin_priorcorr/GB + ROS + prior corr/mammo_natural/citl_abs/mean:2]] with the offset against [[a:main/GB + ROS/mammo_natural/citl_abs/mean:2]] raw. These data sets differ from breast cancer in more than separability (size, number of features, event rate), so they are consistent with the simulation-based explanation but do not isolate it.

\begin{table*}[t]\centering\caption{Prior-shift ablation, Pima and mammography: mean Brier score over 10 seeds, raw versus with logit offset.}\label{tab:abl_brier_clin}
\small\input{generated/abl_prior_brier_clin.tex}
\end{table*}

\begin{table*}[t]\centering\caption{Calibration-in-the-large, Pima and mammography, mean of 10 seeds: signed $a$, $|a|$ and $|a|_{\text{off}}$ with the offset (stars as in Table~\ref{tab:citl}).}\label{tab:citl_clin}
\small\input{generated/citl_clin.tex}
\end{table*}
