SAP first draft from protocol text, with open questions
Paste protocol excerpts, get a Word SAP draft with a page cite on every statement and numbered open questions.
About 20 minWordTrace-checked
What you get
Source: protocol excerpts only. Page citations are protocol page numbers. "Suggestion" marks anything that is not protocol text. The excerpt shows alpha as "D"; I read "D" as alpha throughout.
1.2 Safety population: "All patients who are enrolled in the study will be included in the efficacy analysis and the safety analysis" (p. 39). Exact definition of "enrolled" is not given (see Open question 1).
1.3 Efficacy population: In general, all patients are included in all efficacy analyses if they have a baseline measurement and at least one postrandomization measurement (p. 41).
- - Model: analysis of covariance (ANCOVA) (p. 43).
- - Terms: corresponding baseline score, investigator, and treatment (p. 43).
Q1. Population definition (p. 39 vs p. 41). Page 39 says all patients "enrolled" are included in the efficacy and safety analyses; page 41 says patients are included in efficacy analyses only if they have a baseline and at least one postrandomization measurement. These two statements differ for efficacy. Also, "enrolled" is not defined (screened, randomized, or treated?). Which is the intended efficacy population, and how is the safety population defined, for example by treatment actually received?
Q3. Randomization test (p. 46). The excerpt starts mid-sentence. What is the test statistic, how are the two dependent p-values combined, how many permutations, and what is permuted (treatment labels within investigator?)? Is the combined test the primary success criterion, or is each dose-response test also assessed separately at some level (p. 43)?
[Sections 2.3 to 5 and questions Q2, Q4 to Q11 are in the Word file. Every statement carries a protocol page.]
Swipe sideways to see every column.
Generated by Claude on 2026-10-19 from the excerpts alone. First of 11 open questions shown in full; checked against the protocol and the real SAP.
Draft for review. Public data only.
The prompt
Draft these SAP sections from the protocol excerpts below, using only the excerpts: analysis populations,
primary and secondary analyses (model, terms, hypothesis, timepoint), missing data, multiplicity, interim.
Cite the protocol page after every statement taken from the text. Label anything you add as a suggestion.
Where the text is silent, ambiguous or contradicts itself, do not fill the gap or pick a side: list it as
a numbered open question tied to its page. Invent no sample sizes, dates, software versions or numbers.
[paste protocol excerpts here]Works in any chat assistant; not tested in Microsoft 365 Copilot
Sample input used here
Protocol excerpts, CDISCPILOT01 (607 words)
Note: the PDF text layer renders some symbols as plain letters (alpha as "D", bullets as "x"). They are left exactly as extracted. "[...]" marks text omitted from inside a passage. [Protocol 2.1, p. 7 (CSR PDF p. 160)] The primary objectives of this study are x To determine if there is a statistically significant relationship (overall Type 1 error rate, D=.05) between the change in both ADAS-Cog [...] and CIBIC+ [...] scores, and drug dose (0, 50 cm2 [54 mg], and 75 cm2 [81 mg]). [Protocol 3.1, p. 8 (PDF p. 161)] Patients with probable mild to moderate AD will be studied in a randomized, double-blind, parallel (3 arm), placebo-controlled trial of 26 weeks duration. [...] The treatment arms will include a placebo arm, a low-dose xanomeline arm (50 cm2 TTS Formulation E, 54 mg xanomeline), and a high-dose xanomeline arm (75 cm2 TTS Formulation E, 81 mg xanomeline). [Protocol 3.4.4, p. 24 (PDF p. 177)] Approximately 100 patients will be randomized to each of the 3 treatment groups. [...] this sample size has 90% power to detect a 3.0 mean treatment difference in ADAS-Cog (p<.05, two-sided), based on a standard deviation of 6.5. [Protocol 3.9.1.2, p. 29 (PDF p. 182)]
CDISC pilot protocol H2Q-MC-LZZT(c), CSR Appendix 1, short excerpts credited to CDISC. Protocol page = CSR PDF page minus 153.
How this was checked
Result
Generated by Claude on 2026-10-19 (cold run on the protocol excerpts).
Trace-checked. A second Claude agent checked each statement against the source. No script recomputed it. A person did not recheck every line.
Prompt shortened for this page. The output shown came from the earlier run of the longer prompt (2026-10-19).
The longer prompt that was checked
You are helping a senior biostatistician draft a statistical analysis plan (SAP). Use ONLY the protocol excerpts above. Draft these SAP sections: (1) analysis populations, (2) primary and secondary endpoint analyses (model, terms, hypothesis, timepoint), (3) handling of missing data, (4) multiplicity, (5) interim analysis. Be specific about models and model terms. Where the excerpts are silent, ambiguous or contradict each other, do not fill the gap and do not pick a side: list it in a final section "Open questions for the protocol owner", numbered, each tied to the page it concerns. Do not invent sample sizes, dates, software versions or numbers that are not in the excerpts. Cite the protocol page after every statement taken from an excerpt. Label anything you add that is not protocol text as a suggestion.
A one-line prompt for comparison
Prompt: Write a statistical analysis plan for an Alzheimer's trial of xanomeline.
# Statistical Analysis Plan: Xanomeline in Alzheimer's Disease ## 1. Introduction This Statistical Analysis Plan (SAP) describes the planned statistical analyses for a randomized, double-blind, placebo-controlled Phase 3 study evaluating the efficacy and safety of xanomeline in patients with mild to moderate Alzheimer's disease. ## 2. Study Objectives Primary: To evaluate the efficacy of xanomeline compared with placebo on cognition and global function. Secondary: To evaluate safety and tolerability, and the effect on activities of daily living and behavioral symptoms. ## 3. Study Design Multicenter, randomized, double-blind, placebo-controlled, parallel-group study. Participants are randomized 1:1 to xanomeline or placebo for 24 weeks, stratified by site. ## 4. Sample Size Approximately 400 participants (200 per arm) will provide 90% power at a two-sided alpha of 0.05 to detect a 3-point difference in ADAS-Cog change from baseline, assuming SD of 7. ...
37 statements checked: 16 right, 9 partly right, 6 wrong, 3 wrongly said missing, 3 not in source.
Show all 37 checked statements
| Statement | Verdict | Source check |
|---|---|---|
| Good run: Safety population: "all patients who are enrolled" (p. 39); "enrolled" is not defined (Open question 1) | Right | Correct, partly settled in the protocol. Protocol p. 39 supports it, and p. 39 itself excepts the period just before the efficacy assessment (Section 3.9.1.2), which p. 41 also points to. SAP p. 8 (CSR PDF p. 424): randomized and known to have taken at least one dose. |
| Good run: Efficacy population: baseline plus at least one postrandomization measurement (p. 41) | Partly right correct | Protocol p. 41. SAP p. 8 also requires drug taken and a post-baseline value on both ADAS-Cog and CIBIC+. |
| Good run: Primary analysis keeps data up to discontinuation and drops visits with no drug in the preceding three days (p. 29) | Right | Correct for the protocol, reversed in the SAP. Protocol p. 29. SAP p. 13: assessments are valid even off study drug. SAP p. 47: the 3-day rule is not applied. |
| Good run: 24-week endpoint is the last postrandomization measurement before dose reduction (p. 42) | Right | Protocol p. 42. SAP p. 9 (LOCF on targeted, windowed assessments) and p. 10 (windows). The cold run declined to call it LOCF by name; that is true of its excerpt, though protocol p. 43 names LOCF. |
| Good run: ADAS-Cog (11) by ANCOVA with baseline score, investigator and treatment | Right | Protocol p. 43 (PDF p. 196). SAP p. 13 (PDF p. 429): baseline, site, treatment. |
| Good run: Primary hypothesis test is the linear dose response in the ANCOVA and ANOVA models | Right | Protocol p. 43. SAP p. 13: treatment included as a continuous variable. |
| Good run: CIBIC+ by ANOVA with investigator and treatment, no baseline term | Right | Protocol p. 43. SAP p. 14 (PDF p. 430): site and treatment. |
| Good run: A computed total score is missing if more than 30% of items are missing or not applicable (p. 42) | Right | Protocol p. 42. SAP p. 46 (PDF p. 462). |
| Good run: Not specified: any imputation for missing baseline covariates, investigator or CIBIC+ (Open question 7, cut from the excerpt) | Partly right correct | Missing baseline is not imputed (SAP p. 9), so the gap was real. Item rescaling below 30% is in protocol p. 42 (70/(70-10) example), so that part of Question 7 is a wrongly-missing item. |
| Good run: Two primary dose-response p-values are combined by a randomization test at the .05 level (p. 46) | Right | Correct for the protocol, dropped in the SAP. Protocol pp. 45-46. SAP p. 9 (7.3): no adjustment, each tested at 0.05. |
| Good run: Randomization test details (statistic, number of permutations, what is permuted) are not in the excerpt (Open question 3) | Missing but present | The excerpt starts mid-sentence. Protocol p. 46 (PDF p. 199) gives 10,000 random permutations and a rejection region {p1 <= alpha and p2 <= alpha}, with dose-response p-values "computed as one-sided". True of the excerpt, false of the protocol. |
| Good run: Two interim efficacy analyses at about 50% completing 8 and 24 weeks; no p-value adjustment (p. 47) | Right | Correct for the protocol, not done. Protocol p. 47. SAP p. 47: "Interim analyses will not be performed." |
| Good run: Open question 1: p. 39 and p. 41 give different efficacy populations, and "enrolled" is undefined | Right | Protocol pp. 39, 41. The protocol partly reconciles its own rules (p. 39 refers to Section 3.9.1.2). SAP p. 8 settles it. |
| Good run: Open question 2: overall alpha .05 versus one-sided .025, and the two-sided power statement on p. 24 | Partly right correct | Protocol p. 45 (PDF p. 198) says the .025 one-sided level is equivalently the two-sided .05 level, and two-sided p-values will also be presented. True within the excerpt, resolved outside it. SAP p. 8: all tests two-sided at 0.05. |
| Good run: Open question 8: the p. 29 three-day rule and the p. 42 last-measurement rule conflict when the last measurement is excluded | Right | The conflict the SAP removed (p. 13 valid even if off study drug; p. 47 not applied). The 24-week endpoint versus 26-week study point is a good observation. |
| Good run: Open question 10: is investigator pooled, and is a treatment-by-investigator interaction tested | Missing but present | Protocol pp. 43-44 (PDF pp. 196-197, cut from the excerpt): interaction tested at the .10 level; sites with fewer than 3 patients in a treatment group are combined. SAP p. 47: the site-by-treatment interaction is not tested. |
| Good run: Open question 4 (cut from the excerpt): sidedness of the dose-response test is not stated | Missing but present | Protocol p. 46 says the dose-response p-values are computed as one-sided. The SAP then made all tests 2-sided (p. 8). |
| One-line prompt run: Phase 3 study | Wrong | CSR p. 2 (PDF p. 2): Phase 2. |
| One-line prompt run: Two arms, 1:1, xanomeline vs placebo, 24 weeks | Wrong | Protocol p. 8: 3 arms (placebo, 54 mg, 81 mg), 26 weeks. SAP p. 7. |
| One-line prompt run: Randomization stratified by site | Not in source | No stratification found in the protocol text or the SAP. Site is a model term (SAP p. 13). |
| One-line prompt run: N = 400, 200 per arm | Wrong | Protocol p. 24: about 100 per arm. SAP p. 6: 295 randomized. CSR pp. 4 and 26: 254 randomized. The sources disagree with each other. |
| One-line prompt run: 90% power for a 3-point ADAS-Cog difference, SD 7 | Partly right correct | Protocol p. 24: 90% power, 3.0 difference, SD 6.5, 3 groups of about 100. |
| One-line prompt run: ITT = all randomized | Right | SAP p. 8. |
| One-line prompt run: Per-Protocol population | Not in source | SAP p. 8 defines Safety, Efficacy and Completers populations; no per-protocol set. |
| One-line prompt run: Safety = at least one dose | Right | SAP p. 8. |
| One-line prompt run: ADAS-Cog and CIBIC+ as co-primary | Right | Protocol p. 7; SAP p. 6. The ADAS-Cog (11) version is not stated. |
| One-line prompt run: ANCOVA with treatment and baseline | Partly right correct | Omits investigator/site and the linear dose-response test. Protocol p. 43; SAP p. 13. |
| One-line prompt run: CIBIC+ by Cochran-Mantel-Haenszel | Wrong | ANOVA with site and treatment. Protocol p. 43; SAP p. 14. |
| One-line prompt run: Secondary: ADCS-ADL, NPI, MMSE | Wrong | Mostly wrong. DAD, not ADCS-ADL (protocol p. 7). MMSE is an entry criterion and baseline covariate (protocol p. 11). NPI-X is correct (SAP p. 7). |
| One-line prompt run: Missing data by LOCF | Right | SAP p. 9. |
| One-line prompt run: Multiple imputation and MMRM as sensitivity | Partly right correct | MMRM is a supportive analysis in SAP p. 13. Multiple imputation is in neither document. |
| One-line prompt run: Hierarchical gatekeeping for the co-primaries | Wrong | Protocol pp. 45-46: randomization test. SAP p. 9: no adjustment. |
| One-line prompt run: No formal efficacy interim analysis | Partly right correct | Correct for the SAP, wrong for the protocol. SAP p. 47: none. Protocol p. 47: two planned. |
| One-line prompt run: DSMB reviews safety periodically | Partly right correct | Protocol pp. 8 and 47-48: a DSMB for cardiovascular findings, with specific meeting triggers. |
| One-line prompt run: Subgroups by age, sex, race, baseline severity | Partly right correct | Protocol p. 47 lists age, gender, origin, MMSE, Apo E, education. SAP p. 9: gender only. |
| One-line prompt run: SAS version 9.4 | Not in source | Protocol p. 41: "the most current production version of SAS". |
| One-line prompt run: Adverse events coded with MedDRA by SOC and PT | Right | SAP pp. 14-15 (Fisher's exact test against placebo). |
All 5 checks
- Check population definitions against the terms your analysis flags use (enrolled, randomized, treated).
- Treat the open questions as the agenda for the protocol owner, and labelled suggestions as proposals, not decisions.
Sources
- CDISC SDTM/ADaM Pilot Project (CDISCPILOT01) (Credit CDISC; used unmodified under the repository terms (no modification, no sale, attribution))
Scripts
Related workflows
All workflows. How we check. Public data only. Drafts for review, not validated output.
Get one workflow a week
Unsubscribe anytime. Privacy.