Skip to main content

t-Statistic for a Mean (Hypothesis Test)

IntermediateFinance FoundationsAlso known as: t test, hypothesis test for average return, test statistic, is the average return different from zero

Finds: whether an average differs from a target value.

When to use it: Use it to test whether an average is really different from a chosen value or just random noise. As a rough rule, a t value beyond about 2 (in either direction) is unlikely to be chance at the 5% level for a reasonable sample size.

The formula

t\displaystyle t=xˉ−μ0s/n\displaystyle = \frac{\bar{x}-\mu_{0}}{s/\sqrt{n}}

In words: t = (sample mean − hypothesized mean) / (s / sqrt(n))

What each symbol means

tTest statistic, how many standard errors the sample mean is from the hypothesized valuenumber
x-barSample meanpercent
mu_0The mean you are testing against, often 0percent
sSample standard deviationpercent
nSample sizenumber

Worked example

A fund returned an average of 1% a month over 36 months with a standard deviation of 4%. Is that average different from 0?

Standard error0.04 ÷ sqrt(36)0.67%
t(mean − 0) ÷ 0.006666671.50
Degrees of freedom36 − 135
The answer

The t-statistic is 1.50 with 35 degrees of freedom. It is below about 2, so we cannot rule out that the true average is zero.

Want every formula on a few pages?Get the free Cheat Sheet (PDF) →

Calculator

t1.50
Degrees of freedom35

Keep going