Scientific writing

Statistical Analysis Paragraph Generator: Write the Statistics Part of Your Methods (Free)

Choose your study design, the tests you ran, how you checked assumptions, your post-hoc tests and corrections, the software and version, and how you report the data. You get a complete statistical analysis paragraph in the past tense, in passive or active voice, with suggested software citations (R Core Team, IBM SPSS, StataCorp and more) and a checklist of what reviewers ask about statistics.

✅ No login needed100% freePast tense, ready to pasteR Core Team citationYour data stays on your device
Statistical Analysis Paragraph Generator✅ Free · no login📚 Cite this tool
Your data never leaves your PC. What you write stays on your own computer. Drafts are saved only in this browser. Nothing is uploaded, stored or seen by Codanics, and no login is needed.
Tests used
Two groups or two measurements
Three or more groups, factors and blocks
Repeated measures
Relationships and prediction
Categorical data

Choosing a design ticks the usual tests. Tick a test and its non-parametric or exact alternative to describe a fallback (“… was used instead”).

Assumption checks
Post-hoc tests and multiple comparisons
Software
How data are reported
Effect sizes
Sample size justification (optional)
  • PriceFree, no login or sign-up needed
  • Your dataProcessed in your browser, never uploaded
  • Works onPhone, tablet or computer, any modern browser
  • Made byDr. Muhammad Aammar Tufail, Codanics
  • Published22 November 2026
  • Last updated22 November 2026

📚 How to cite this tool

This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.

Citation · APA 7th edition

Tufail, M. A. (2026). Statistical analysis paragraph generator [Online tool]. Codanics. Retrieved 22 November 2026, from https://codanics.com/tools/statistical-analysis-paragraph-generator/

In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)

The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 22 November 2026.

🚀 Follow Codanics channel on WhatsApp for more updatesNew free tools, scholarships, PhD positions and research tips, straight to your phone. Free lessons on YouTube too.

How to use the statistical analysis paragraph generator

  1. Pick your study design. The usual tests, assumption checks, post-hoc tests and effect sizes are ticked for you; change any of them to match what you actually did.
  2. Type your outcome(s) and your groups, factors or variables, so the sentences name them.
  3. Choose how you checked assumptions, what you did when they failed, your post-hoc tests and any correction for multiple comparisons.
  4. Choose the software, version and packages, the significance level, how you report the data, your effect sizes and how you handled missing data. Add a power analysis if you did one.
  5. Copy the paragraph (passive or active voice), add the suggested software citations to your reference list and work through the reviewer checklist.

What goes in a statistical analysis paragraph?

The statistical analysis paragraph is the last part of the methods section. It tells readers which test you used for which question, how you checked that the data met the test’s assumptions, how you handled multiple comparisons and missing data, what significance level you used and which software and version did the work. The test of a good paragraph is simple: another researcher with your data could repeat every analysis and get the same numbers.

ElementExample sentence (past tense)Why reviewers want it
Descriptive statisticsData were summarised as mean ± SD.Readers must know whether ± means SD or SE.
Assumption checksNormality of the residuals was checked with the Shapiro–Wilk test and Q-Q plots.Parametric tests are only valid when assumptions hold.
TestsDifferences among the five zinc rates were tested with one-way ANOVA.Each result must be traceable to a test.
FallbackWhen the assumptions were not met, the Kruskal–Wallis test was used instead.Shows the choice was planned, not made after seeing p-values.
Post-hoc and correctionsPairs of means were compared with Tukey’s HSD test.Many comparisons inflate false positives.
Effect sizesEffect sizes were reported as ω² with 95% CIs.APA 7 and most journals ask for effect sizes and intervals.
Missing dataTwo plots were lost to flooding and were excluded.Missing data can bias results.
Significance levelAll tests were two-tailed, with α = .05.Defines what “significant” means in your paper.
Software and versionAll analyses were performed in R version 4.4.1 (R Core Team, 2024).Results can differ between versions and packages.

Example statistical analysis paragraph

This is the paragraph the tool writes for the loaded example, a field trial with five zinc rates:

Data were summarised as mean ± standard deviation (SD) for approximately normal variables and as median (interquartile range, IQR) for skewed variables. Normality of the residuals was checked with the Shapiro–Wilk test and Q-Q plots, and homogeneity of variances with Levene’s test. Differences in grain yield and grain zinc concentration among the five zinc rates were tested with one-way analysis of variance (ANOVA). When the assumptions of ANOVA were not met, the Kruskal–Wallis test was used instead. … All analyses were performed in R version 4.4.1 (R Core Team, 2024) with the car (Fox & Weisberg, 2019) and emmeans (Lenth, [year]) packages.

Passive or active voice?

Both are correct. The passive voice (“Data were analysed …”) is traditional in methods because the action matters more than who did it. Many journals, including Nature and the BMJ, now prefer the active voice (“We analysed …”), which is shorter and clearer. Use the voice your target journal uses, and keep it the same through the whole methods section. Methods are always in the past tense, because they describe what you did.

How to cite R, SPSS and other software

SoftwareIn the textReference
RR version 4.4.1 (R Core Team, 2024)R Core Team (2024). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/
IBM SPSS StatisticsSPSS version 29.0 (IBM Corp., Armonk, NY, USA)IBM Corp. Released 2022. IBM SPSS Statistics for Windows, Version 29.0. Armonk, NY: IBM Corp.
StataStata 18 (StataCorp, College Station, TX, USA)StataCorp. 2023. Stata Statistical Software: Release 18. College Station, TX: StataCorp LLC.
PythonPython 3.12 with SciPy (Virtanen et al., 2020)Cite Python and the main libraries, e.g. SciPy: Virtanen et al. (2020), Nature Methods, 17, 261–272.

In R, type citation() for R itself and citation("lme4") for a package; R prints the reference for the version you have installed. Cite the packages that did the main analysis, not every package you loaded.

Tip: report the exact version. R 4.4.1 and SPSS 29.0.1 are versions; “the latest R” is not. Default settings change between versions (for example the default type of sums of squares or the default t-test), so the version is part of the method.

What reviewers ask about statistics

  • Is the test right for the design? Repeated measurements on the same plants or patients are not independent groups; several t-tests are not a substitute for ANOVA.
  • Were the assumptions checked, and what happened when they failed?
  • Which post-hoc test, and how were multiple comparisons controlled?
  • How big is the effect? Report effect sizes and 95% confidence intervals, not only p-values.
  • How was the sample size chosen, and how were missing data handled?
  • Is ± SD or ± SE? SD describes the spread of the data; SE describes the precision of a mean.

The tool follows the APA Publication Manual (7th ed.) for statistics, the statistical items of the EQUATOR reporting guidelines (CONSORT, STROBE, ARRIVE) and the SAMPL guidelines for basic statistical reporting. Always check your journal’s guide for authors as well.

Next steps: not sure which test fits your data? Try which statistical test should I use? Write your results with the APA results sentence generator, check them with the APA statistics format checker, and find the right reporting checklist with the reporting checklist tool. All writing tools are on the scientific writing tools page.
Scientific Writing MarathonLearn the full method, step by step, with a mentor. This tool comes from the Scientific Writing Marathon by Dr. Muhammad Aammar Tufail: a complete online course that takes you from a research question to a finished manuscript, review or thesis chapter, with daily lessons, live online classes and a writing task on your own paper. Recorded lectures stay on the LMS, so you can learn at your own pace.

Frequently asked questions

How do I write the statistical analysis section of a research paper?

Say how data are summarised (for example mean ± SD), how assumptions were checked, which test was used for each comparison, what you did when assumptions failed, which post-hoc tests and corrections you used, which effect sizes you report, how missing data were handled, the significance level and the software with its version. This generator writes that paragraph from your choices.

Should the statistical analysis paragraph be in past or present tense?

Past tense, because it describes what you did: “Data were analysed with one-way ANOVA.” Use the present tense only for general facts, such as what a test assumes.

How do I cite R in my paper?

Write the version in the text, for example “R version 4.4.1 (R Core Team, 2024)”, and add the reference: R Core Team (2024). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/. Type citation() in R to get the reference for your version.

Do I need to report the Shapiro–Wilk test?

You should say how you checked normality. Many statisticians prefer Q-Q plots of the residuals, because with large samples the Shapiro–Wilk test flags trivial departures and with small samples it misses real ones. Stating both is common and safe.

What is the difference between mean ± SD and mean ± SE?

SD (standard deviation) shows how spread out the observations are. SE (standard error) shows how precisely the mean is estimated and gets smaller as the sample grows. Most journals ask for SD to describe data, and for 95% confidence intervals to show precision.

Which post-hoc test should I use after ANOVA?

Tukey’s HSD for all pairwise comparisons with similar variances, Games–Howell when variances differ, Dunnett’s test when every treatment is compared only with a control, and Dunn’s test after a significant Kruskal–Wallis test. Fisher’s LSD and Duncan’s test are still common in agriculture but control false positives poorly when there are many groups.

Does this tool run the statistics for me?

No. It writes the methods paragraph that describes the analysis you ran. To run tests, use the free Codanics calculators for t-tests, ANOVA, non-parametric tests and regression, or R, SPSS or Python.

Do I need to log in or create an account to use the statistical analysis paragraph generator?

No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.

Free guides and courses from Codanics

More free tools

See all free Codanics tools → · Codanics on YouTube · WhatsApp channel

Made by Dr. Muhammad Aammar Tufail, Codanics. First published 22 November 2026, last updated 22 November 2026. Found a bug or have an idea for a new tool? Tell us on the WhatsApp channel or in the comments on YouTube. Results are for learning and planning; check important analyses with a statistician or your supervisor.