Statistics - Moment Generating Functions

Click For Summary
SUMMARY

The moment generating function (m.g.f.) of a random variable X is defined as M(t) = E(etX). The series expansion of etX leads to M(t) = 1 + tμ1' + (t2μ2')/2! + (t3μ3')/3! + ..., where μr' is the rth moment about the origin. By differentiating M(t) r times with respect to t and evaluating at t = 0, the expression μr' = 1/(r + 1) is derived, confirming the correctness of the approach. Setting t = 0 isolates the rth term in the Maclaurin series expansion, allowing for the extraction of moments.

PREREQUISITES
  • Understanding of moment generating functions (m.g.f.)
  • Familiarity with series expansions and Maclaurin series
  • Knowledge of differentiation techniques
  • Basic concepts of probability theory and random variables
NEXT STEPS
  • Study the properties and applications of moment generating functions in probability theory
  • Learn about the Maclaurin series and its significance in calculus
  • Explore the concept of characteristic functions in probability theory
  • Practice deriving moments for various probability distributions using their m.g.f.
USEFUL FOR

Students and professionals in statistics, mathematicians, and anyone interested in deepening their understanding of moment generating functions and their applications in probability theory.

mliuzzolino
Messages
58
Reaction score
0

Homework Statement



The moment generating function (m.g.f.) of a random variable X is defined as the Expected value of etX:

M(t) = E(etX).

The series expansion of etX is:

etX = 1 + tX + (t2X2)/(2!) + (t3X3)/(3!) + ...

Hence,

M(t) = E(etx) = 1 + tμ1' + (t2μ2')/2! + (t3μ3')/3! + ...


If we differentiate M(t) r times with respect to t and then set t = 0 we shall therefore obtain the rth moment about the origin μr'.

For example, the m.g.f. of the uniform distribution is:
M(t) = E(etX) = \int_0^1 e^{tx} dx = \dfrac{1}{t}e^{tx} |_0^1 = \dfrac{1}{t}(e^t - 1)

= 1 + \dfrac{t}{2!} + \dfrac{t^2}{3!} + \dfrac{t^3}{4!} + ...

Differentiate this series r times and then set t = 0. Show that μr' = \dfrac{1}{r + 1}.

Homework Equations





The Attempt at a Solution



I tried to do this by differentiating a few times to find a pattern:


1 + \dfrac{t}{2!} + \dfrac{t^2}{3!} + \dfrac{t^3}{4!} + \dfrac{t^4}{5!} ...

Differentiate once:
\dfrac{1}{2!} + \dfrac{2t}{3!} + \dfrac{3t^2}{4!} + \dfrac{4t^3}{5!} ...

Differentiate twice:
\dfrac{2}{3!} + \dfrac{6t}{4!} + \dfrac{12t^2}{5!} ...

Differentiate thrice:
\dfrac{6}{4!} + \dfrac{24t}{5!} ...

Since t will be set to zero, only the first terms of each differentiation "survive:"

\dfrac{1}{2!}, \dfrac{2}{3!}, \dfrac{6}{4!}, \dfrac{24}{5!}, ...

The pattern from this I noticed was: \dfrac{r!}{(r + 1)!}, where (r+1)! = (r+1)r!

So, \dfrac{r!}{(r+1)r!} = \dfrac{1}{r+1}.

This seems correct as I've obviously arrived at the correct expression, but I am wondering if I have approached this correctly and if there might have been any errors in my thought process.

I am also a little bit lost conceptually as to why t is set equal to 0. What does setting t = 0 signify?

I'm self-studying this topic and I'd really like to have a full understanding of what's going on rather than a superficial understanding where I'm just accepting that it says set t = 0. I'd appreciate any amount of elucidation!

Thanks!
 
Physics news on Phys.org
your method is good. And as for why t is set to zero... I just think of it as a useful 'trick'. I guess you can think of it like you are just considering the zeroth order term of the series. If you want to look into more detail, then maybe look at the wiki page on "characteristic function (probability theory)" Which I think is the nice generalisation of the generating function.
 
mliuzzolino said:

Homework Statement



The moment generating function (m.g.f.) of a random variable X is defined as the Expected value of etX:

M(t) = E(etX).

The series expansion of etX is:

etX = 1 + tX + (t2X2)/(2!) + (t3X3)/(3!) + ...

Hence,

M(t) = E(etx) = 1 + tμ1' + (t2μ2')/2! + (t3μ3')/3! + ...


If we differentiate M(t) r times with respect to t and then set t = 0 we shall therefore obtain the rth moment about the origin μr'.

For example, the m.g.f. of the uniform distribution is:
M(t) = E(etX) = \int_0^1 e^{tx} dx = \dfrac{1}{t}e^{tx} |_0^1 = \dfrac{1}{t}(e^t - 1)

= 1 + \dfrac{t}{2!} + \dfrac{t^2}{3!} + \dfrac{t^3}{4!} + ...

Differentiate this series r times and then set t = 0. Show that μr' = \dfrac{1}{r + 1}.

Homework Equations





The Attempt at a Solution



I tried to do this by differentiating a few times to find a pattern:


1 + \dfrac{t}{2!} + \dfrac{t^2}{3!} + \dfrac{t^3}{4!} + \dfrac{t^4}{5!} ...

Differentiate once:
\dfrac{1}{2!} + \dfrac{2t}{3!} + \dfrac{3t^2}{4!} + \dfrac{4t^3}{5!} ...

Differentiate twice:
\dfrac{2}{3!} + \dfrac{6t}{4!} + \dfrac{12t^2}{5!} ...

Differentiate thrice:
\dfrac{6}{4!} + \dfrac{24t}{5!} ...

Since t will be set to zero, only the first terms of each differentiation "survive:"

\dfrac{1}{2!}, \dfrac{2}{3!}, \dfrac{6}{4!}, \dfrac{24}{5!}, ...

The pattern from this I noticed was: \dfrac{r!}{(r + 1)!}, where (r+1)! = (r+1)r!

So, \dfrac{r!}{(r+1)r!} = \dfrac{1}{r+1}.

This seems correct as I've obviously arrived at the correct expression, but I am wondering if I have approached this correctly and if there might have been any errors in my thought process.

I am also a little bit lost conceptually as to why t is set equal to 0. What does setting t = 0 signify?

I'm self-studying this topic and I'd really like to have a full understanding of what's going on rather than a superficial understanding where I'm just accepting that it says set t = 0. I'd appreciate any amount of elucidation!

Thanks!

You are trying to get the Maclaurin expansion, which reads as
f(t) = f(0) + t f'(0) + \frac{t^2}{2!} f''(0) + \cdots + \frac{t^n}{n!} f^{(n)}(0) + \cdots
The coefficients are obtained by getting higher derivatives and evaluating them at ##t=0##.

Another way to see this for your specific case is to look at the higher derivatives of the different terms. We have
\left(\frac{d}{dt}\right)^r t^k = \left\{<br /> \begin{array}{cl} 0 &amp;, \; r &gt; k\\<br /> r! &amp;, \; r = k \\<br /> r! t^{k-r}&amp;, \; r &lt; k<br /> \end{array}<br /> \right.
When we set t = 0 we are just picking out the rth term.
 
That makes a lot of sense. I appreciate it both of you!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
12
Views
6K