When Data Aren’t Normal
Info sheet · Statistics for Psychology & Neuroscience
Warning✎ Editing notes — to do / to check
Working notes for the author — not shown to students once collapsed; remove before publishing.
- [ ]
What you’ll get from this sheet
Real data are often stubbornly non‑normal — and pretending otherwise causes trouble. By the end you should be able to:
- Recognise right‑skew and why reaction times are the classic case.
- Choose between a transformation and a non‑parametric test.
Many measurements — reaction times, incomes, firing rates — can’t go below zero and have a long right tail, so they’re right‑skewed, not symmetric. Skew pulls the mean toward the tail and destabilises parametric tests. Two fixes: transform the data (a log transform tames a right tail), or use a non‑parametric test.
The classic case: reaction times
Reaction times are the textbook example. They can’t be negative and they have a long right tail — the occasional slow response drags out to the right — so their distribution is right‑skewed rather than symmetric. Incomes, response latencies, and neural firing rates behave the same way. When a distribution is skewed, the mean is pulled toward the tail (so it overstates the “typical” value), and many standard tests — which assume roughly normal residuals — become unreliable.
So we have two moves. Either transform the data so it’s closer to normal — a log transform tames a long right tail beautifully — or reach for the non‑parametric methods (like the Kruskal–Wallis test) that make no distributional assumption.
Watch a log transform tame the tail
A right‑skewed, reaction‑time‑like distribution. Flip to the log scale and watch the long tail pull in and the shape turn symmetric:
On the raw scale the distribution has a heavy right shoulder and a skewness well above zero. Take the log and the same data become close to symmetric (skewness near zero) — which means a t‑test or ANOVA on the log reaction times is now on safe ground. That’s the appeal of a transformation: fix the shape once, then use the familiar parametric toolkit.
Transform or go non-parametric?
- Transform when a simple function restores normality (log for a right tail; square‑root for count data). You then analyse and report on the transformed scale — remembering that a difference in log‑means is a ratio on the original scale.
- Go non‑parametric when no transform helps, or when the data are ordinal to begin with: the Kruskal–Wallis test (for group comparisons) and its friends work on ranks and assume nothing about the distribution.
- Or lean on robustness — with a decent sample size, ANOVA and t‑tests tolerate mild non‑normality, thanks to the Central Limit Theorem acting on the sampling distribution of the mean.
See it in code
TipCheck your understanding
Your reaction‑time data fail a normality test. Give two different ways to proceed.
Two good options. (1) Transform: take the log of the reaction times — this pulls in the long right tail, and if the logged data are approximately normal you can run the usual t‑test/ANOVA on them (reporting results on the log scale). (2) Go non‑parametric: use a rank‑based test that makes no distributional assumption — the Kruskal–Wallis test for comparing groups (or Mann–Whitney for two groups). A third, with a large enough sample: rely on ANOVA’s robustness to mild non‑normality.
You can’t log‑transform zero or negative values — reaction times are fine (all positive), but for data with zeros use log(x + 1) or a square‑root transform instead. Remember that results on a transformed scale need careful interpretation (a difference of log‑means is a ratio back on the raw scale). And it’s the residuals’ normality that matters for a model, not the raw variable’s — check the residuals, not just the histogram of the outcome.
Where this shows up next
If a transform won’t help, the Kruskal–Wallis sheet is your non‑parametric route; the ANOVA assumptions sheet shows how to check normality in the first place. See Chapter (Foundations).