The purpose of this topic is to provide resources for writing prospective statistical analysis plans (SAPs) and to provide a place to collect suggested resources from a wider community.
Primary Resources
- A template for the authoring of statistical analysis plans by Gary Stevens, Shawn Dolley, Robin Mogg, Jason Connor, 2023.
- Guidelines for the content of statistical analysis plans in clinical trials by Carrol Gamble, Ashma Krishan, Deborah Stocken et al, 2017, with supplemental material
- Statistical errors to avoid
Specific Templates and Discussions
- Biostatistical modeling plan by Frank Harrell, original version 2010
- Bayesian biostatistical modeling plan
- Interim analysis plan for observational studies
- Guidelines for covariate adjustment in RCTs
- Power and sample size calculations in pilot studies
Dealing with Complexities
General Ideas
- SAPs are mandatory in RCTs; science would improve by also thinking of them as mandatory for observational studies
- SAPs should contain reasons for possible deviation from the signed and dated SAP, e.g., a variable was impossible to collect reliably
- Having an SAP is the best way to help investigators avoid the temptation to change the question after seeing disappointing results; the SAP protects the statistician from being the “bad guy”
- A change in the SAP for a reason that was not envisioned in the SAP raises the most red flags