Moment generating functions help

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

The discussion focuses on the moment generating function (MGF) of a discrete random variable X with a probability mass function (PMF) defined as f(x) = C2^(-x). The valid value for C is determined to be 1, ensuring that the PMF sums to 1. The MGF is derived as m(t) = e^t/(2 - e^t), with the condition that |e^t| < 2 for validity. Participants also clarify that for discrete random variables, expected values should be calculated using summation rather than integration.

PREREQUISITES
  • Understanding of probability mass functions (PMF)
  • Familiarity with moment generating functions (MGF)
  • Knowledge of convergence of series
  • Basic calculus, specifically summation techniques
NEXT STEPS
  • Study the properties of moment generating functions in probability theory
  • Learn about convergence criteria for infinite series
  • Explore the relationship between PMF and expected value calculations
  • Review discrete random variable distributions and their applications
USEFUL FOR

Students and professionals in statistics, probability theory, and data analysis who are looking to deepen their understanding of moment generating functions and their applications in calculating expected values and variances.

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
1K
Replies
2
Views
981
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K