The statistical analysis plan template is a free, editable Word and PDF document from ResRef for pre-specifying the analyses of a clinical trial or other confirmatory study before the data are analysed. It comes with a step-by-step guide and a completed example, so you can see what a finished version looks like before you start.
What is the statistical analysis plan template?
A statistical analysis plan sets out, in more detail than the protocol, exactly how the data will be analysed. Writing it before the results are known protects against selective analysis and reporting, makes the analysis reproducible, and lets reviewers check what was planned against what was done. Published guidance on SAP content for clinical trials (Gamble et al., JAMA 2017) lists the items a SAP should cover; this template condenses them into ten sections.
Template at a glance
Template ID
RR-DAT-09
Category
Data Collection & Management
Best used for
Pre-specifying the analyses of a clinical trial or other confirmatory study before the data are analysed.
Languages
English and Arabic
Formats
Word (.docx) and PDF
Files in the download
8
Version
1.0
Last updated
2026-11
Who should use the statistical analysis plan template?
Use the statistical analysis plan template for pre-specifying the analyses of a clinical trial or other confirmatory study before the data are analysed. It suits students, clinicians and researchers at any level. In addition, the guide explains each section in plain language, so you do not need previous experience with this kind of document.
What the download includes
The statistical analysis plan template, ready to complete in Word or PDF.A guide with a completed example: why analyses must be pre-specified, what each SAP section should contain, a completed example, common mistakes and a checklist.Arabic versions of the template and guide.How to use the statistical analysis plan template
First, download the statistical analysis plan template in the language and format you need.Next, read the guide. It explains each section and shows a completed example.Then replace every highlighted prompt with your own study details, and delete the prompts.After that, check the rules of your institution, ethics committee or target journal, because they take precedence.Finally, use the checklist below before you submit or share the document.Tips for a strong result
Copy outcome definitions from the protocol and registry — word for word.State the estimand for the primary outcome: population, variable, intercurrent events and summary measure.Be specific enough to reproduce: model, covariates, effect measure and population for each outcome.Plan missing data handling and sensitivity analyses before seeing the data.Sign and date it before database lock; record any later change and its reason.Download the statistical analysis plan template
English
Word templatePDF templateWord guide with completed examplePDF guide with completed exampleArabic
Word templatePDF templateWord guide with completed examplePDF guide with completed exampleChecklist before you finish
Finally, before you share your statistical analysis plan template, check that each point below is true.
Objectives, outcomes and estimand match the protocolAnalysis populations definedMethod, effect measure and covariates given for every outcomeMissing data, sensitivity, subgroup and multiplicity approaches statedSigned before database lock; changes from protocol recordedRelated templates
In addition, these templates are often used alongside this one at the same stage of a study.
Research protocolClinical Trial Registration Template templateMissing Data Log templateCodebook - Variable Dictionary templateSources and further reading
Gamble C, et al. Guidelines for the Content of Statistical Analysis Plans in Clinical Trials. JAMA. 2017;318(23):2337–2343.ICH E9 Statistical Principles for Clinical Trials (1998) and E9(R1) Addendum on estimands and sensitivity analysis (2019).EQUATOR Network: reporting guidelines for health research.PubMed: search published research for “statistical analysis plan”Frequently asked questions
Is the statistical analysis plan template free to use?
Yes. The statistical analysis plan template is free for academic, educational and research purposes. However, commercial use, resale or commercial distribution is not allowed. Copyright in original ResRef content and designs remains with ResRef.
Is the statistical analysis plan template available in Arabic?
Yes. The template and its guide both have Arabic versions, so you can work in either language. In addition, both versions follow the same structure and the same completed example.
Can I change the template to fit my institution?
Yes. You can add, remove or rename sections, because the files are fully editable. Always follow the rules of your institution, ethics committee or journal first, since they take precedence over any template.
How do I acknowledge ResRef?
The templates have no formal citation. Instead, if a template helped your work, you may add a short acknowledgement such as “The authors gratefully acknowledge ResRef (www.resref.com) for providing the templates and supporting resources used in the preparation of this work.”
Need help with your study? You can also ask the ResRef team for free expert research consultation.
Licence and copyright
These templates are free to use for academic, educational and research purposes only.Commercial use, resale or unauthorised commercial distribution is prohibited.Copyright in original ResRef content, designs and template adaptations remains with ResRef.Any third-party content (for example reporting guidelines and checklists such as CARE, STROBE, CONSORT and PRISMA) remains subject to its original copyright and licence conditions.Acknowledging ResRef
These templates have no formal citation. If they helped your work, you may include this acknowledgement:
The authors gratefully acknowledge ResRef (www.resref.com) for providing the templates and supporting resources used in the preparation of this work.
Key takeaways
The statistical analysis plan template is free for academic, educational and research use.Read the guide and its completed example before you fill in the template.Check your institution or journal rules, and use the checklist before you submit.