In practice, the computation of expected values for certain particular functions of random variables have arisen repeatedly. These are the power functions. Thus, for a random variable
Definition: The
It is common to just refer to the density function when performing such computations, rather than to a random variable having the given density function. Thus we might refer to the
The first moment
Definition: The
The geometric meanings of the
of data. (See chapter 1, section 3 and chapter 1, section 4 in particular.) They describe aspects of the
way probability is spread about the mean of a density function. The most important of these is
A trick for computing
The following computational trick is often useful (and will be for us) for computing
Similar such tricks exist for the higher moments, but will not be worked out here. The reader is invited to find a relationship between
By way of illustration – and also a display of usefulness – consider finding the mean and variance of a linear combination of independent random variables.
Mean and Variance of a Linear Combination of Independent Random Variables
Let
From linearity we have
Now use
to get
Applying our properties above, we have
Since the
But
Since
While direct computation of moments of a probability distribution may be rather simple, we present here another method which has enough other uses to justify its existence and our familiarity.
Consider
To see how this computation yields the moments of distribution
So that
We can now obtain the moments about the mean by
The utility of this will show up soon.
For now we call
Two Properties of MGFs – How to Handle Addition of, and Multiplication by, a Constant
Theorem: For any constant
How to see this
Let
Secondly
These two properties will be useful in later computations. In particular, if a constant multiplies, or is added to, a function of a random variable, these formulae will allow us to easily compute moments and MGFs based on the MGF of our function.
A simple fact is the following:
Theorem If two random variables
The above theorem is easy to prove, but an important fact about the moment generating function is that the above result also goes other way round. And this is what makes the moment generating function such a powerful tool. We will not give a proof here, but will feel free to use this fact.
Theorem If two random variables
We will use moment generating functions, for example, to understand sample means and linear combinations of random variables &ndash: particularly when variables generating our samples are independent. Here is a formula that we will put to work in the case when we wish to determine information about the random variable
when
A Useful Formula: The Moment Generating Function for a Linear Combination of Independent Random Variables
Let
The independence of the
That is