Introduction to different moments of distributions (Planned)
We will get into how to get different moments of different distributions and possible skewness and kurtosis of different distributions. We will also discuss the relationship between different moments and the moment generating function.
Some author··Updated ·7 min read
Understanding Moments
We already have the following for the moment generating function.
If Xi has moment generating function fXi(z;i), then we will have
Now, let's move beyond these constant operations or adding and consider some more interesting operations.
Compounding pgf:
If X has pgf PX(z) and Y has pgf PY(z), then their compounding distribution denote as Z=X×Y will have the following:
PZ(z)=PX(PY(z)).
We have already seen the following properties:
MX(z)=PX(exp(z)).
So
MZ(z)=PZ(exp(z))=PX(PY(exp(z)))=PX(MY(z)).
Now, let's consider some of the moments from a distribution.
We know that a distribution can have their first moment calculated by taking their moment generating function's first derivative and setting the variable to 1. And the second moment is just second derivative evaluated at 1.
We will denote a distribution's i-th moment as Zi from now on for any distribution Z.
Then the skewness γ1 can be expressed as
γ1[Z]:=(Z2−Z2)3/2Z3
and kurtosis Kurt can be expressed as
Kurt[Z]=(Z2−Z2)2Z4.
There's also an important concept of cumulant. Cumulants are important statistical concepts because the first, second, third cumulants provide an alternative way of computing the mean, variance and third central moments. However, we will have trouble with higher as they do not coincide with the central moments.
A definition of cumulant generating function is the following:
KX(z)=log(MX(z)).
And we can use Maclaurin series to expand the summation and get the coefficients.
Now, let's consider several well-known distributions' moment generating function and skewness and kurtosis.
We know that ∫−∞∞exp(−z2)dz=π so we will have the moment generating function for normal distribution to be exp(at+21b2t2).
Now, let's consider normal distribution's cousin chi-squared distribution (which is one transformation of normal distribution).
χ2 distribution
We know the definition of chi-squared distribution follows the squared of a normal distribution e.g. if X is a χ2 distribution, then we will have
X=Z2.
where Z is a standard normal distribution.
Then its pdf will have the following form:
(2πz)−1/2exp(−2z)
Generalized moments.
Suppose we have a function S(z;θ) that is differential or smooth, the function can be a moment generating function or any other function of any kind with hyperparameter θ, then we can define the expected value of the function as ∂zS(z;θ)∣z=0 and the second moment of the function as ∂z2S(z;θ)∣z=0 and the n-th moment as ∂znS(z;θ).
Example. Suppose we have the following function with hyperparameters m,k defined as
So it's essentially the same as I(−r,0) except with constant scaling and extra constant term. Since we will see shortly that the constant terms won't affect us with our computation.
Theorem. 1 If Mk is k-th moment of a function g, then αMk is the k-th moment of αg+β where α,β are constants.
Proof.
We observe that ∂tk(αg+β)=α∂tkg=αMk
We can use theorem 1. to show the above relation
M3=M1(M2−M1)2r+1r+2+3M2−2M1.
still holds for the case of ETNB.
More specifically, consider N3=C3M3 and N2=C3M2 and N1=C3M1, then we will have M3=αN3, M2=αN2, M1=αN1 for α=C31.