Statistics - Moment Generating Functions

Click For Summary

Homework Help Overview

The discussion revolves around the moment generating function (m.g.f.) of a random variable, specifically its definition and properties. Participants explore the series expansion of the m.g.f. and the process of differentiating it to find moments about the origin.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss differentiating the m.g.f. multiple times and setting t = 0 to extract the moments. There is an exploration of the pattern observed in the derivatives and the significance of setting t to zero.

Discussion Status

Some participants affirm the method of differentiation and the reasoning behind setting t = 0, while others seek further clarification on the conceptual understanding of this process. The discussion is ongoing with various interpretations being explored.

Contextual Notes

Participants are self-studying the topic and express a desire for deeper understanding rather than superficial acceptance of the concepts. There is an emphasis on ensuring clarity in the mathematical reasoning involved.

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
2K
  • · 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
7K