Moment generating functions help

  • Thread starter Thread starter Mark53
  • Start date Start date
  • Tags Tags
    Functions Moment
Click For Summary

Homework Help Overview

The discussion revolves around a random variable X with a probability mass function (PMF) defined on the positive integers. Participants are exploring the conditions under which the PMF is valid, the derivation of the moment generating function (MGF), and the calculation of expected value and variance using the MGF.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the conditions for C that make the PMF valid and question the approach to calculating the MGF, with some suggesting that summation should be used instead of integration for discrete random variables.

Discussion Status

There is an ongoing exploration of the correct method for calculating the MGF and the expected value. Participants are questioning their calculations and the convergence of series, indicating a productive dialogue about the underlying concepts.

Contextual Notes

Some participants express uncertainty about the convergence of series and the correct application of summation for discrete random variables, which may affect their calculations.

Mark53
Messages
93
Reaction score
0

Homework Statement


[/B]
Let X be a random variable with support on the positive integers (1, 2, 3, . . .) and PMF f(x) = C2 ^(-x) .

(a) For what value(s) of C is f a valid PMF?
(b) Show that the moment generating function of X is m(t) = Ce^t/(2− e^t) , and determine the interval for t for which it is valid. (You may use your value for C calculated in question 1, if you would like).
(c) Using the MGF, calculate the expected value and the variance of X.

The Attempt at a Solution


[/B]
a)

sum from -∞ to ∞ of C/(2^x)=1

C(1/2+1/4...)=1
C=1 as it converges

b)

m(t)=E[e^tx]=integral from -∞ to ∞ of ((e^tx)*(2^(-x)))
=integral from -∞ to ∞ of (e^tx)/(2^x)

is this the right way to go about calculating it?
 
Physics news on Phys.org
Mark53 said:

Homework Statement


[/B]
Let X be a random variable with support on the positive integers (1, 2, 3, . . .) and PMF f(x) = C2 ^(-x) .

(a) For what value(s) of C is f a valid PMF?
(b) Show that the moment generating function of X is m(t) = Ce^t/(2− e^t) , and determine the interval for t for which it is valid. (You may use your value for C calculated in question 1, if you would like).
(c) Using the MGF, calculate the expected value and the variance of X.

The Attempt at a Solution


[/B]
a)

sum from -∞ to ∞ of C/(2^x)=1

C(1/2+1/4...)=1
C=1 as it converges

b)

m(t)=E[e^tx]=integral from -∞ to ∞ of ((e^tx)*(2^(-x)))
=integral from -∞ to ∞ of (e^tx)/(2^x)

is this the right way to go about calculating it?
No. For a discrete random variable we have
$$E f(X) = \sum_x p(x) f(x), $$
so involves summation, not integration.
 
Ray Vickson said:
No. For a discrete random variable we have
$$E f(X) = \sum_x p(x) f(x), $$
so involves summation, not integration.

when calculating the sum I get:

the sum of x=0 to ∞ of (e^tx)/(2^x)=e^t/2

which is wrong am I still missing something?
 
Mark53 said:
when calculating the sum I get:

the sum of x=0 to ∞ of (e^tx)/(2^x)=e^t/2

which is wrong am I still missing something?
Yes: you are basically saying that ##\sum_{k=0}^{\infty} r^k = r, ## which is wrong.
 
Ray Vickson said:
Yes: you are basically saying that ##\sum_{k=0}^{\infty} r^k = r, ## which is wrong.
Do I need to see if the series converges or find the partial sum?

not sure how to start solving it
 

Similar threads

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