Statistical Moments
Statistical moments are a family of summary statistics that describe the shape of a probability distribution. ToFUL computes the r-th moment of a random variable X about a reference point a, defined as:
Definition
For a discrete random variable with PMF \(P(X = x)\):
For a continuous random variable with PDF \(f(x)\):
The choice of reference point a determines the type of moment.
Types of Moments
Raw Moments (a = 0)
Setting \(a = 0\) gives the raw moments (also called moments about the origin):
The first few raw moments have direct interpretations:
Order |
Raw moment |
Interpretation |
|---|---|---|
r = 1 |
\(\mu'_1\) |
Mean mu = E[X] |
r = 2 |
\(\mu'_2\) |
E[X^2] – used to compute variance |
r = 3 |
\(\mu'_3\) |
E[X^3] |
r = 4 |
\(\mu'_4\) |
E[X^4] |
Central Moments (a = μ)
Setting \(a = \mu\) gives the central moments:
Central moments measure deviations from the mean and are therefore invariant to shifts in the distribution. Key central moments:
Order |
Central moment |
Interpretation |
|---|---|---|
r = 1 |
\(\mu_1 = 0\) |
Always zero by definition of mean |
r = 2 |
\(\mu_2\) |
Variance sigma^2 |
r = 3 |
\(\mu_3\) |
Raw material for skewness |
r = 4 |
\(\mu_4\) |
Raw material for kurtosis |
Moments about a Custom Point (a = c)
For any constant \(c\), the moment about \(c\) interpolates between raw moments (c = 0) and central moments (c = μ). This is useful when a distribution’s natural reference point differs from both.
Relationships Between Moment Types
Central moments can be expressed in terms of raw moments using the binomial theorem:
The first few expansions:
ToFUL does not use these formulae internally — it computes each moment type directly from the definition, which avoids catastrophic cancellation for large or broad distributions.
Existence of Moments
Not all distributions have finite moments of all orders. A moment of order \(r\) exists (is finite) if and only if \(E[|X|^r] < \infty\).
For distributions with heavy tails, high-order moments may be infinite:
Cauchy distribution — no finite moments of any order.
Pareto distribution — moments of order \(r \geq \alpha\) are infinite, where \(\alpha\) is the tail index.
Student-t with ν degrees of freedom — moments of order \(r \geq \nu\) are infinite.
When a moment does not exist, the integration or sum will either return
a very large number or fail to converge. The Convergence tab will report
the method as partial-sum with a note about divergence.
Moment Generating Function
The moment generating function (MGF) of X is:
When it exists in a neighbourhood of \(t = 0\), the raw moments are obtained by differentiation:
ToFUL does not use MGFs directly, but the SymPy symbolic path essentially performs the equivalent symbolic integration.
Standardised Moments
The standardised r-th moment divides the central moment by the appropriate power of the standard deviation:
The two most commonly standardised moments are skewness (\(\tilde{\mu}_3\)) and kurtosis (\(\tilde{\mu}_4\)). See Skewness and Kurtosis for a detailed treatment.
See also
Raw vs Central Moments — choosing between raw and central moments
Skewness and Kurtosis — shape characterisation via standardised moments
Convergence Methods — how ToFUL evaluates the sums and integrals