Zero degrees of freedom explained

In statistics, the non-central chi-squared distribution with zero degrees of freedom can be used in testing the null hypothesis that a sample is from a uniform distribution on the interval (0, 1). This distribution was introduced by Andrew F. Siegel in 1979.[1]

The chi-squared distribution with n degrees of freedom is the probability distribution of the sum

2
X
n

where

X1,\ldots,Xn\sim\operatorname{i.i.d.N}(0,1).

However, if

Xk\sim\operatorname{N}(\muk,1)

and

X1,\ldots,Xn

are independent, then the sum of squares above has a non-central chi-squared distribution with n degrees of freedom and "noncentrality parameter"
2
\mu
1

++

2.
\mu
n

It is trivial that a "central" chi-square distribution with zero degrees of freedom concentrates all probability at zero.

All of this leaves open the question of what happens with zero degrees of freedom when the noncentrality parameter is not zero.

The noncentral chi-squared distribution with zero degrees of freedom and with noncentrality parameter μ is the distribution of

\begin{align} &

2K
\sum
k=1
2
X
k

\\ where&K\sim\operatorname{Poisson}(\mu/2)\\ and&X1,X2,X3,\ldots\sim\operatorname{i.i.d.N}(0,1). \end{align}

This concentrates probability eμ/2 at zero; thus it is a mixture of discrete and continuous distributions

Notes and References

  1. Siegel, A. F. (1979), "The noncentral chi-squared distribution with zero degrees of freedom and testing for uniformity", Biometrika, 66, 381–386