Calculating the mean and variance from a moment generating function

Click For Summary
SUMMARY

The discussion focuses on calculating the expected value E(X) and variance var(X) of a squared-Chi-distributed random variable using its moment generating function (mgf) m(t) = (1-2t)^{-k/2}. The user initially misinterprets the second derivative of the mgf, m''(0), as the variance, when it actually represents E(X^2). The correct calculation shows that var(X) is derived from the formula var(X) = E(X^2) - (E(X))^2, leading to the conclusion that var(X) equals 2k, aligning with textbook definitions.

PREREQUISITES
  • Understanding of moment generating functions (mgf)
  • Knowledge of squared-Chi distribution properties
  • Familiarity with differentiation techniques in calculus
  • Basic statistics concepts, including expected value and variance
NEXT STEPS
  • Study the properties of moment generating functions in probability theory
  • Explore the derivation of variance for different probability distributions
  • Learn about the squared-Chi distribution and its applications in statistics
  • Practice calculating E(X) and var(X) for various distributions using mgfs
USEFUL FOR

Students studying probability and statistics, particularly those focusing on random variables and their distributions, as well as educators teaching these concepts in advanced mathematics courses.

Charlotte87
Messages
18
Reaction score
0

Homework Statement


Assume that X is squared-Chi-distributed, which means that the moment generating function is given by:

m(t)=(1-2t)^{-k/2}

Use the mgf to find E(X) and var(X)

The Attempt at a Solution


I know that m'(0)=E(X), and m''(0)=var(X).

So I find:

m'(t)=k(1-2t)^{-(k/2)-1}
which gives m'(0)=k

Similarily, I find

m''(t)=(k^{2}+2k)(1-2t)^{-(k/2)-2}
which gives m''(0)=k^2+2k

However, in my textbook, it says that the variance of a square-chi distribution should be 2k, not k^2. Where do I go wrong?
 
Physics news on Phys.org
Charlotte87 said:

Homework Statement


Assume that X is squared-Chi-distributed, which means that the moment generating function is given by:

m(t)=(1-2t)^{-k/2}

Use the mgf to find E(X) and var(X)

The Attempt at a Solution


I know that m'(0)=E(X), and m''(0)=var(X).

Your mistake is right there. m''(0) = E(X2), not var(X)

So I find:

m'(t)=k(1-2t)^{-(k/2)-1}
which gives m'(0)=k

Similarily, I find

m''(t)=(k^{2}+2k)(1-2t)^{-(k/2)-2}
which gives m''(0)=k^2+2k

However, in my textbook, it says that the variance of a square-chi distribution should be 2k, not k^2. Where do I go wrong?
 
Of course. Then var(X)=E(X^2)-(E(X))^2 =k^2+2k-k^2=2k.

Thank you!
 

Similar threads

Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
6K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 53 ·
2
Replies
53
Views
10K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K