Statistical Analysis for Medical Researchers: Methods and Free Software

How to plan, run and report your analysis, and which programs to use.

YITD-LUX asbl

11/28/20261 min read

a man riding a skateboard down the side of a ramp
a man riding a skateboard down the side of a ramp

Step 1: Write a statistical analysis plan before you look at the results: the primary outcome, the main comparison, the tests you will use and how you will handle missing data.

Step 2: Describe your data first. Report means with standard deviations for normally distributed variables, medians with interquartile ranges for skewed ones, and counts with percentages for categories.

Step 3: Choose the test that fits the data: t-test or Mann-Whitney U for two groups; ANOVA or Kruskal-Wallis for more than two; chi-square or Fisher's exact test for proportions; correlation or regression for relationships; Kaplan-Meier and Cox regression for time-to-event outcomes.

Step 4: Report effect sizes with 95% confidence intervals, not only p-values. Give exact p-values (p = 0.032) rather than "p < 0.05".

Step 5: Check assumptions (normality, equal variances, independence) and say in the Methods how you checked them.

Free software:

• jamovi and JASP: point-and-click programs built on R, easy for beginners.

• R with RStudio: the most complete free option, with packages for almost every method.

• PSPP: a free alternative that looks like SPSS.

• Python (pandas, SciPy, statsmodels) for those who already code.

Commercial options include SPSS, Stata and GraphPad Prism.

Reporting: follow the SAMPL guidelines for basic statistical reporting, and state the software and version you used. Keep your analysis script or output so that the results can be reproduced.

This guide is published free of charge by YITD-LUX asbl to help researchers prepare their own work. YITD-LUX does not offer paid editing, language or statistical services. Software names are given for information only; we have no commercial links with any of them.