Appendix B — Statistical Analysis Plan (mock): clinical performance study SIM-217-001
Two-cut-off plasma pTau217-like test vs amyloid PET. Simulated data only.
Status of this document. A teaching SAP. The study, device, data and numbers are simulated; the structure follows ICH E9 by analogy and the content items of IVDR Annex XIII Part A 2.3.2 (statistical design, endpoints, population size, method for determining true clinical status). No claim is made that a regulator accepts this plan. Tags: [S] public source, [A] assumption, [Y] my synthesis.
v0.1 outline; v1.0 locked before unblinding of reference-standard data
1. Objectives and hypotheses
Intended use (simulated). Aid in identifying amyloid pathology in adults aged 55 years and older with signs, symptoms or complaints of cognitive decline; used with other clinical information; not stand-alone; not for monitoring. [A]
Primary objective. Show that a positive result carries a high probability of amyloid-PET positivity and a negative result a low one.
Co-primary endpoint
Performance goal (H0)
Expected value
Success rule
P1: PPV of the positive category
PPV ≤ 0.75
0.88 [A]
lower limit of two-sided 95% Wilson CI > 0.75
P2: NPV of the negative category
NPV ≤ 0.90
0.95 [A]
lower limit of two-sided 95% Wilson CI > 0.90
Success requires both (intersection-union): no alpha adjustment is needed because each test is run at the one-sided 0.025 level and both must reject. [Y]
Secondary objectives. Intermediate-zone fraction; PPA and NPA with intermediates counted as non-agreement; PPV/NPV of each category with likelihood ratios; performance by pre-specified subgroups.
Reference standard. Amyloid PET visual read by a blinded reader panel (≥ 3 readers, majority rule; unreadable scan = missing). The interval between blood draw and PET is recorded; per-protocol requires ≤ 180 days. Readers are blind to the index test; index-test operators are blind to PET. [A]
Cut-offs (locked). Derived on a separate simulated derivation cohort (n = 700) by derive_two_cutoffs() with targets sensitivity ≥ 94% (rule-out) and specificity ≥ 93% (rule-in); stored in data/locked_cutoffs.csv and not re-estimated on performance-study data. Convention as in the public decision summary [S]: negative if ≤ lower cut-off, positive if > upper cut-off.
primary analysis, the diagnostic analogue of the ITT/full-analysis set [Y]
Per-protocol
evaluable, PET interval ≤ 180 days, no major deviation
sensitivity analysis
4. Endpoints and statistical methods
Proportions: Wilson 95% CIs (primary); Clopper–Pearson as sensitivity. PPV = positive-category subjects with PET+ / all positive-category subjects; NPV analogously. Both are conditional on category and prevalence-dependent; observed prevalence reported with CI.
Likelihood ratios per category with log-scale 95% CI (asymptotic, ratio of two proportions).
PPA = (positive result among PET+); NPA = (negative result among PET−); intermediates count as non-agreement (as in the public decision summary [S]). Rule-out step sensitivity and rule-in step specificity as additional descriptors.
No imputation of PET. Subgroup CIs are descriptive; interaction tests are exploratory and not used for claims.
5. Sample size
Planning assumptions [A]: positive-category frequency 0.336 and negative-category frequency 0.465, taken from the public pivotal data of a comparable cleared test (FDA K261686, p.27 [S]) and used here only as planning inputs; 8% loss to non-evaluable.
n_pos <-n_exact_goal_stable(0.88, 0.75, alpha =0.025, power =0.90) # subjects with a positive resultn_neg <-n_exact_goal_stable(0.95, 0.90, alpha =0.025, power =0.90) # subjects with a negative resultN_pos <-ceiling(n_pos /0.336); N_neg <-ceiling(n_neg /0.465)N_eval <-max(N_pos, N_neg); N_enr <-ceiling(N_eval /0.92)kable(data.frame(Endpoint =c("P1 PPV (exact one-sided 0.025, power 0.90)", "P2 NPV (exact one-sided 0.025, power 0.90)"),`Subjects needed in category`=c(n_pos, n_neg), `Evaluable subjects needed`=c(N_pos, N_neg),check.names =FALSE))
Joint power of the two co-primaries is approximately the product of the individual powers when the two are nearly independent (≈ 0.81 for 0.90 each) [Y]; the planned N exceeds the requirement, which raises it. Cross-check method: the exact calculation matches MKmisc::power.diagnostic.test (Chapter 7, tested).
6. Missing, invalid and unreadable results
Invalid assay results are repeated once per the instructions for use (not simulated); results still invalid are excluded from the evaluable set and reported in the flow table.
Unreadable PET = missing reference; excluded from evaluable. Sensitivity analysis S2 (worst case): invalid assay results among PET+ are counted as negative, among PET− as positive.
A STARD flow diagram (Table 1) documents all exclusions. [S: STARD 2015 has 30 items]
7. Subgroups (descriptive)
Age (55–70, 71–85), sex, care setting (primary, secondary), MMSE (15–24, 25–27, 28–30), kidney function by eGFR (< 30, 30–59, ≥ 60), with a minimum of 20 subjects per category for a CI to be reported. Kidney function is pre-specified because the public decision summary of the comparable test contains no eGFR-stratified analysis (only a small kidney-disease comorbidity subgroup) [S].
CDISC publishes SDTMIG for Medical Devices (v1.1, 2019) and ADaMIG for Medical Devices (v1.0, 2021) [S: cdisc.org]; no IVD-specific CDISC standard was found, and nothing verified says CDISC is required for IVDR submissions. This mock uses ADaM-style analysis datasets (subject-level ADSL, performance ADPERF) by analogy, with variable names and derivation notes in the programming specification. [Y]
10. Software and quality control
Software, validation and QC are in the companion note SAP in a regulated R environment. The primary endpoints are double-programmed; the QC comparison is executed below.
A second programmer re-derives the primary endpoints from the raw CSV without using the project helpers (different packages, different code path); the lead programmer’s results must agree.
The cut-off file hash is recorded before the performance data are analysed; any later change is a deviation and must be documented. [Y]
References
IVDR (EU) 2017/746 Annex XIII Part A 2.3.2; ISO 20916:2019; ICH E9 (1998) and E9(R1) (2019) by analogy; FDA K261686 decision summary (public pivotal data used as planning context); STARD 2015 (BMJ 2015;351:h5527); FDA 2007 statistical guidance. See claims_ledger.csv.