Why Rotate Centers?
A joint model may be developed using longitudinal measurements and event outcomes collected at several centers. Its predictions can appear accurate overall while performing quite differently from one center to another. Differences in case mix, measurement schedules, follow-up, or clinical practice can all matter. An internal-external validation analysis makes this variation visible by treating each center in turn as a held-out validation sample.
The word internal indicates that validation uses centers from the available multicenter data set; external indicates that each held-out center is kept out of the model-fitting process for its fold. This is not the same as randomly splitting patients across training and validation sets. A patient-level split can place patients from the same center on both sides, allowing center-specific features to carry over and obscuring how well predictions work in a center not used for fitting.
The purpose is not merely to produce one performance number. The center-specific results show both the typical performance across the observed centers and the degree to which it varies. They do not, on their own, establish how well the model will perform in every future center or population.
Definition and Validation Target
Suppose a prediction is made at landmark time \(s\) for a patient who is event-free at \(s\), using the patient’s longitudinal history available by \(s\). For a prespecified horizon \(\tau\), the target might be the probability of an event by \(s+\tau\), conditional on being event-free at \(s\). Write the prediction for patient \(i\) in held-out center \(k\) as \(\hat p_{ik}^{(-k)}(\tau\mid s)\). The superscript \((-k)\) indicates that center \(k\) was excluded when fitting the model for that fold.
The endpoint, landmark, horizon, prediction time, and performance measures should be specified before examining center-specific results. Otherwise, selecting a favorable horizon or metric after seeing the results can make performance look better than it is. The joint model must also be refitted within each fold: this includes estimating its longitudinal and event-model parameters, as well as any data-driven preprocessing, tuning, or predictor selection.
Assumptions and a Fold-by-Fold Procedure
The validation procedure depends on having comparable outcome definitions and follow-up rules across centers. It also assumes that the held-out center’s data are not used, directly or indirectly, to develop its fold-specific predictions. Patients within a center may have related outcomes; the center is the unit being held out, not a claim that patient observations are independent across all centers. A center must contain enough eligible patients and observed outcomes to estimate the chosen metrics with useful precision.
For horizon-specific evaluation, censoring before \(s+\tau\) can leave a patient’s event status at the horizon unknown. A censoring-adjusted metric, such as an inverse-probability-weighted metric, requires an appropriate censoring model and a condition such as independent censoring conditional on the variables used in that model. If that condition is implausible, or if estimated censoring probabilities are near zero, the metric may be biased or unstable. The censoring adjustment should be applied consistently across folds.
Set the landmark, horizon, eligible population, event definition, and discrimination and calibration measures. Decide how censoring will be handled.
For fold \(k\), remove all of center \(k\) from model fitting and from any data-driven development decisions.
Fit the specified joint model using the remaining centers, then produce predictions for eligible patients in center \(k\), using only information available at their prediction times.
Calculate the prespecified validation metrics in center \(k\). Repeat until each center has served once as the held-out sample.
Report the center-specific results and their uncertainty, along with clearly defined summaries of their spread. Do not replace the center-specific results with a pooled number alone.
What to Measure in Each Held-Out Center
For discrimination at horizon \(\tau\), one option is a time-dependent area under the receiver operating characteristic curve. In a cumulative/dynamic definition, cases experience the event by \(s+\tau\), while controls remain event-free beyond that horizon. The AUC is the probability that a randomly selected case receives a higher predicted risk than a randomly selected control, with ties handled according to the chosen convention. It is a ranking measure: it does not say whether the numerical risks are accurate.
For calibration, an observed-to-expected event ratio compares the observed number of events by the horizon with the sum of predicted risks for the corresponding patients, with appropriate censoring adjustment when outcomes are not fully observed. A ratio near 1 indicates agreement in aggregate; a ratio above 1 indicates more observed events than expected, and a ratio below 1 indicates fewer. This summary does not show whether predictions are accurate across the full range of risk. A calibration slope, assessed using a suitable horizon-specific calibration analysis, describes whether predicted risks are too extreme or too compressed; its ideal value is 1.
These measures answer different questions. A center can have strong ranking but poor absolute risk calibration, or reasonable calibration on average but weak ranking. Report them separately and interpret them in the clinical units and at the horizon used for prediction.
Worked Example: Constructing the Held-Out Folds
Consider a hypothetical data set with four centers, each contributing longitudinal measurements and event follow-up. The planned prediction is 1-year event risk from a common landmark. The model and metric definitions are fixed in advance. Describe the four validation fits.
Fold 1: fit the joint model using centers 2, 3, and 4; predict 1-year risks for eligible patients in center 1; calculate center 1’s validation metrics.
Fold 2: fit using centers 1, 3, and 4; predict and evaluate in center 2. Folds 3 and 4 follow the same pattern, each excluding its own center.
Suppose center 1’s measurements were standardized using means and standard deviations calculated from all four centers before the folds were created. That would leak information from the held-out center into model development. Instead, calculate any data-dependent standardization using the three training centers in each fold, then apply those training-center values to the held-out center. The same separation applies to imputation, variable selection, and tuning.
A center with too few events may yield a very imprecise AUC or calibration estimate. The fold is still conceptually defined, but the metric should be reported as uncertain or not reliably estimable rather than treated as a precise measure of model quality.
Summarizing Between-Center Variability
Let \(\hat\theta_k\) be a validation metric for held-out center \(k\). A simple descriptive summary is the unweighted mean across centers and the sample standard deviation across centers:
The mean gives equal weight to each center, while the standard deviation describes the observed spread of center-specific estimates around that mean. The range is another useful descriptive summary. These summaries are not interchangeable with a pooled patient-level metric: a pooled metric gives more influence to centers with more eligible patients and can conceal poor performance in smaller centers.
There is also an important uncertainty distinction. Each \(\hat\theta_k\) has sampling uncertainty because it is estimated from a finite held-out sample. The observed spread across centers reflects both genuine differences in performance and this estimation noise. With few centers, the sample standard deviation is itself imprecise and should not be treated as a stable estimate of a universal distribution of center performance. Report the center-specific sample sizes, event counts, uncertainty intervals where appropriate, and the number of centers alongside the spread summary.
Worked Example: Summarizing Center-Specific Discrimination
Suppose four hypothetical held-out centers have horizon-specific AUC estimates of 0.74, 0.81, 0.68, and 0.77. Each estimate uses the same endpoint and horizon, and censoring is handled by the prespecified method.
The equal-center mean is \( (0.74+0.81+0.68+0.77)/4=3.00/4=0.750 \). The deviations from this mean are \(-0.010,\ 0.060,\ -0.070,\ 0.020\). Their squared sum is \(0.0001+0.0036+0.0049+0.0004=0.0090\). Thus, \(s_{\mathrm{center}}=\sqrt{0.0090/3}=0.0548\). The range is \(0.81-0.68=0.13\).
The center-average AUC is 0.750, and the observed sample standard deviation across these four center-specific AUC estimates is 0.0548. The range shows that the best and worst point estimates differ by 0.13. These numbers do not prove that the centers have different underlying AUCs: sampling error, especially in centers with few cases or controls, can contribute to the spread. Nor is 0.750 the same estimand as an AUC calculated by pooling every patient’s predictions.
Worked Example: Comparing Aggregate Calibration Summaries
In three hypothetical held-out centers, suppose the censoring-adjusted observed and expected event counts at the prespecified horizon are: center A, 8 observed and 10 expected; center B, 14 observed and 10 expected; center C, 5 observed and 8 expected. The center-specific observed-to-expected ratios are \(8/10=0.800\), \(14/10=1.40\), and \(5/8=0.625\).
For an equal-center summary, the mean ratio is \((0.800+1.40+0.625)/3=2.825/3=0.942\). For a pooled observed-to-expected ratio, add the counts first: \( (8+14+5)/(10+10+8)=27/28=0.964 \).
The two summaries differ because the pooled ratio gives more influence to centers with larger expected counts. The equal-center mean describes the average of the three center ratios; the pooled ratio compares total observed events with total expected events. Center B has more events than expected, while centers A and C have fewer. The pooled value near 1 therefore does not establish good calibration within each center. These calculations describe aggregate calibration only; they do not establish that risks are calibrated throughout each center’s risk range.
Diagnostics, Alternatives, and Limitations
Before interpreting the results, check that every center was genuinely held out in its fold and that the model converged. Inspect the number of eligible patients, events, censoring before the horizon, and the distribution of predicted risks in each center. Extremely sparse outcomes or nearly identical predictions can make metrics unstable or undefined. Check whether censoring weights are extreme and whether the censoring model is plausible. Large differences in follow-up or measurement schedules can also affect performance, even when the model-fitting code is identical.
Internal-external validation complements, rather than replaces, validation in an independent cohort. It uses available centers efficiently and reveals variation across them, but centers used as validation folds may still resemble the centers used to fit the other folds. A random patient-level cross-validation analysis instead estimates performance when patients are held out while their centers remain represented in training; that answers a different question and may understate the challenge of a new center. Neither approach makes an unsuitable outcome definition, poor data quality, or unrealistic censoring assumption harmless.
A further limitation is that observed center variation is not a direct explanation of why performance differs. Center-specific estimates can suggest where investigation is needed, but they cannot by themselves distinguish differences in case mix from differences in measurement practice, event ascertainment, or model fit. Keep the descriptive validation result separate from causal claims about center characteristics. The introductory material on external validation in an independent cohort provides the related setting in which a separate cohort, rather than centers rotated from the development data, is used for evaluation.
Common Pitfall
Another frequent mistake is to report only a pooled performance number. A pooled AUC or observed-to-expected ratio may look satisfactory while concealing one or more centers with notably poorer performance. Present the center-specific estimates and their uncertainty, then add a pooled or equal-center summary only after defining what that summary weights.
Check Your Understanding
Answer the questions, then compare your reasoning with the brief solutions.
- In a five-center analysis, what data are used to fit the model in the fold that validates center 3?
- Why can a pooled observed-to-expected ratio differ from the equal-center mean of center-specific ratios?
- What does a time-dependent AUC measure, and what important aspect of prediction performance does it not measure?
- A preprocessing mean is calculated using all centers before folds are formed. Explain the problem and the correction.
- Why should a large spread in center-specific metrics not automatically be interpreted as genuine differences in underlying performance?
Solutions. (1) Fit using centers 1, 2, 4, and 5; evaluate predictions in center 3. (2) The pooled ratio adds observed and expected counts before dividing, so larger centers contribute more; the equal-center mean gives each ratio the same weight. (3) It measures how often a randomly selected case is ranked above a control under the stated time-dependent definition; it does not measure whether predicted risks are numerically calibrated. (4) The held-out center influences model development through the preprocessing value. Estimate the mean using training centers in each fold and apply it to that fold’s held-out center. (5) Each center estimate has sampling error, and with few centers the observed spread is uncertain; the spread can combine estimation noise with real center variation.