TriaLab Power Studio · Method
Externally validating a prediction model — continuous outcome (Archer et al.)
Sizes an external validation study of a prediction model for a continuous outcome to Archer et al.’s four criteria — the R², the calibration-in-the-large and the calibration slope each estimated to a target standard error, and the residual variances within 10% (235 participants, the floor) — and reports which one binds.
Also known as: external validation, prediction model, calibration slope, calibration-in-the-large, R-squared, Archer, Riley, TRIPOD.
Maturity
Validated: 23 published examples from 2 independent publications (Archer et al. 2021; Riley et al. 2024) reproduce on every build (ADR-0001 §58).
What it solves for
- Precision: offered.
- Sample size: not offered — A validation sample for a prediction model has no null hypothesis to reject: Riley’s criteria are precisions and shrinkages that fall with the sample size, and the Precision target is where they live (ADR-0001 §35).
- Power: not offered — A validation sample for a prediction model has no null hypothesis to reject: Riley’s criteria are precisions and shrinkages that fall with the sample size, and the Precision target is where they live (ADR-0001 §35).
- Detectable effect: not offered — A validation sample for a prediction model has no null hypothesis to reject: Riley’s criteria are precisions and shrinkages that fall with the sample size, and the Precision target is where they live (ADR-0001 §35).
- Assurance: not offered — No source on disk states a prior on this design’s effect, so the assurance modifier is not admitted here.
- Duration: not offered — A development or validation sample is counted in participants; there is no calendar axis to solve.
Size axes:
- Participants in the validation dataset (
participants), Count
Inputs
Every field as the form shows it, with its help. A field marked advanced sits behind Expert mode.
Common to every method
- Significance level (alpha) (
alpha): a number, above 0 and below 1; default 0.05; typically 0.01 to 0.05 (0.05 in most trials; 0.01 for confirmatory claims); entered as proportion (0-1) or percent The type I error rate. Interpreted as two-sided when testing plain equality and one-sided when a margin frame is active, following the usual convention. - Target power (
power_target): a number, above 0 and below 1; default 0.8; typically 0.8 to 0.9 (0.80 is conventional; 0.90 for definitive trials); entered as proportion (0-1) or percent The chance of a significant result if the assumed effect is real. Used when solving for sample size or detectable effect; ignored when solving for power.
The method’s own
- Anticipated R² on validation (
r_squared): a number, above 0 and below 1; default 0.5; entered as proportion (0-1) or percent The proportion of the outcome’s variance the model’s predictions will explain in the validation population — the adjusted R² of the development study is the starting point; Archer et al. also try 0.1 below it. - Anticipated SD of the outcome (
sd_outcome): a number, above 0; default 20 The standard deviation of the observed outcome in the validation population; its square is Archer’s var(Y). - Standard error to hold for R² (
r_squared_se_target): a number, above 0; default 0.0255 0.0255 targets a 95% interval about 0.1 wide. - Standard error to hold for the calibration-in-the-large (
citl_se_target): a number, above 0; default 2.5 In the outcome’s units; context-specific — 2.5 mmHg for blood pressure, 0.02 on the log scale of a body mass. - Standard error to hold for the calibration slope (
slope_se_target): a number, above 0; default 0.051 0.051 targets a 95% interval about 0.2 wide (0.9 to 1.1 at a slope of 1). - Anticipated calibration slope (
calibration_slope), advanced: a number, above 0; default 1 1 is good calibration and the conservative choice; a slope below 1 lowers the sample. - R² of the calibration-in-the-large model (blank: the R² above) (
r_squared_citl), advanced: a number, above 0 and below 1; entered as proportion (0-1) or percent Equal to the R² on validation when the calibration-in-the-large is zero; a lower value is the cautious choice. - R² of the calibration model (blank: the R² above) (
r_squared_calibration), advanced: a number, above 0 and below 1; entered as proportion (0-1) or percent Equal to the R² on validation under good calibration. - Residual variances’ multiplicative margin of error (
variance_mmoe), advanced: a number, above 1; default 1.1 How far the 95% interval for the calibration model’s residual variance may reach, as a factor; 1.1 is within 10%, 235 participants. - Criteria index target (
half_width_target), advanced: a number, above 0; default 1 The design is sized so that every criterion’s shortfall is within this multiple of its allowance: 1 meets Riley’s recommendations exactly, 0.5 halves every allowance, 2 doubles them. The index reported is the worst criterion’s shortfall over its allowance at the size found.
Sizes entered when another axis is solved for
- Participants in the validation dataset (
participants): a whole number, at least 1 Participants in the validation dataset. Required when solving for power or detectable effect; produced by the solver when solving for sample size.
Modifiers admitted
dropout: Dropout
Published examples it reproduces (23)
Each is a worked example: the inputs as a user enters them, and the number the source prints, which the engine reproduces within the tolerance on every build (the Validation screen runs them on your machine).
| Source | Example | Solves for | Inputs | Published |
|---|---|---|---|---|
| Archer et al. 2021, Stat Med 40:133 | R² 0.5 at a standard error of 0.0255 => 769 (§3.1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.5; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_r_squared = 769 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | R² 0.3 at a standard error of 0.0255 => 905 (§3.1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_r_squared = 905 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | R² 0.8 at a standard error of 0.0255 => 197 (§3.1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.8; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_r_squared = 197 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Systolic blood pressure, variance 400, R² 0.5, CITL standard error 2.55 => 31 (§3.2) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.5; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_citl = 31 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | The same with the calibration-in-the-large model’s R² at 0.4 => 37 (§3.2) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.5; r_squared_citl = 0.4; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_citl = 37 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Calibration slope 1 at R² 0.5 and a standard error of 0.051 => 386 (§3.3) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 2.55; half_width_target = 1; r_squared = 0.5; r_squared_se_target = 0.0255; sd_outcome = 20; slope_se_target = 0.051; variance_mmoe = 1.1 | n_slope = 386 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: R² 0.9 at a standard error of 0.0255 => 56 (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.9; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_r_squared = 56 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: variance 0.089, R² 0.9, CITL standard error 0.02 => 23 (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.9; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_citl = 23 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: R² 0.8 at a standard error of 0.0255 => 197 (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.8; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_r_squared = 197 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: variance 0.089, R² 0.8, CITL standard error 0.02 => 45 (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.8; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_citl = 45 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: slope 1 at R² 0.9 => 44 (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.9; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_slope = 44 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | The residual variances within 10% => 235 (§3.4) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.9; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | n_variance = 235 ± 0.5 |
| Archer et al. 2021, Stat Med 40:133 | Fat-free mass: 235 in all, the residual variances binding (Table 1) | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 0.02; half_width_target = 1; r_squared = 0.9; r_squared_se_target = 0.0255; sd_outcome = 0.298329; slope_se_target = 0.051; variance_mmoe = 1.1 | participants = 235 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, pp. 3–5 | Pain intensity in low back pain: R² 0.4, SD 22.30 (variance 497.29), well calibrated; R² to a standard error of 0.0255 => 886 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.4; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_r_squared = 886 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, pp. 3–5 | Pain intensity in low back pain: R² 0.4, SD 22.30 (variance 497.29), well calibrated; calibration-in-the-large to an interval width of 5 => 184 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.4; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_citl = 184 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, pp. 3–5 | Pain intensity in low back pain: R² 0.4, SD 22.30 (variance 497.29), well calibrated; the calibration slope to an interval width of 0.3 => 258 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.4; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_slope = 258 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, pp. 3–5 | Pain intensity in low back pain: R² 0.4, SD 22.30 (variance 497.29), well calibrated; the residual variances within 10% => 235 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.4; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_variance = 235 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, pp. 3–5 | Pain intensity in low back pain: R² 0.4, SD 22.30 (variance 497.29), well calibrated; all four, R² binding => 886 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.4; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | participants = 886 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, p. 5 | Pain intensity in low back pain: R² 0.3, SD 22.30 (variance 497.29), well calibrated; R² to a standard error of 0.0255 => 905 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_r_squared = 905 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, p. 5 | Pain intensity in low back pain: R² 0.3, SD 22.30 (variance 497.29), well calibrated; calibration-in-the-large to an interval width of 5 => 214 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_citl = 214 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, p. 5 | Pain intensity in low back pain: R² 0.3, SD 22.30 (variance 497.29), well calibrated; the calibration slope to an interval width of 0.3 => 400 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_slope = 400 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, p. 5 | Pain intensity in low back pain: R² 0.3, SD 22.30 (variance 497.29), well calibrated; the residual variances within 10% => 235 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | n_variance = 235 ± 0.5 |
| Riley et al. 2024, BMJ 384:e074821, p. 5 | Pain intensity in low back pain: R² 0.3, SD 22.30 (variance 497.29), well calibrated; all four, R² binding => 905 | Precision | alpha = 0.05; calibration_slope = 1; citl_se_target = 1.27551; half_width_target = 1; r_squared = 0.3; r_squared_se_target = 0.0255; sd_outcome = 22.3; slope_se_target = 0.076531; variance_mmoe = 1.1 | participants = 905 ± 0.5 |
Sources
- Archer L, Snell KIE, Ensor J, Hudda MT, Collins GS, Riley RD. Minimum sample size for external validation of a clinical prediction model with a continuous outcome. Stat Med. 2021;40(1):133-146.
- Riley RD, Snell KIE, Archer L, Ensor J, Debray TPA, Van Calster B, et al. Evaluation of clinical prediction models (part 3): calculating the sample size required for an external validation study. BMJ. 2024;384:e074821.
This page was generated from TriaLab Power Studio 2.0.1's engine, as the method is built, and is published in English only. All methods →