Finding E(x^k) for gamma, beta, and lognormal distributions

That's the same as t = u + (k\sigma^2 - \mu).)RGV( \frac{1}{ \sigma \sqrt{2 \pi }}) \int_a^{b} \! e^{u^2 - \frac{(k\sigma^2 - \mu)^2 - \mu^2}{2 \sigma^2}} \mathrm{d} u ( \frac{1}{ \sigma \sqrt{2 \pi }}) e^{- \frac{(k\sigma^2 - \mu)^2 - \mu^2}{2 \sigma^2}} \sqrt{\frac{\pi}{2}} e^{- \frac{-(k\sigma
  • #1
ArcanaNoir
779
4

Homework Statement



Find the expected value of g(X) = Xk for the
a. gamma distribution
b. beta distribution
c. lognormal distribution

Homework Equations



gamma distribution: [itex] \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} [/itex] with paramenter x>0

beta distribution: [itex] \frac{ \Gamma (\alpha + \beta) x^{\alpha -1}(1-x)^{\beta -1}}{\Gamma (\alpha ) \Gamma (\beta )} [/itex] with paramenter 0<x<1

lognormal distribution: [itex] ( \frac{1}{x \sigma \sqrt{2 \pi }}) e^{ \frac{-(lnx-\mu )^2}{2 \sigma y^2}} [/itex] with parameter x>0

[itex] E(X) = \int_{-\infty}^{\infty} \! xf(x) \mathrm{d} x [/itex]

The Attempt at a Solution



Well I can set up the integrals, but that gets me nowhere.

a. [itex] \int_0^{\infty} \! x^k \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} \mathrm{d} x [/itex]

b. [itex] \int_0^1 \! x^k \frac{ \Gamma (\alpha + \beta) x^{\alpha -1}(1-x)^{\beta -1}}{\Gamma (\alpha ) \Gamma (\beta )} \mathrm{d} x [/itex]

c. [itex] \int_0^{\infty} \! x^k ( \frac{1}{x \sigma \sqrt{2 \pi }}) e^{ \frac{-(lnx-\mu )^2}{2 \sigma y^2}} \mathrm{d} x [/itex]
 
Physics news on Phys.org
  • #2
ArcanaNoir said:

Homework Statement



Find the expected value of g(X) = Xk for the
a. gamma distribution
b. beta distribution
c. lognormal distribution

Homework Equations



gamma distribution: [itex] \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} [/itex] with paramenter x>0

beta distribution: [itex] \frac{ \Gamma (\alpha + \beta) x^{\alpha -1}(1-x)^{\beta -1}}{\Gamma (\alpha ) \Gamma (\beta )} [/itex] with paramenter 0<x<1

lognormal distribution: [itex] ( \frac{1}{x \sigma \sqrt{2 \pi }}) e^{ \frac{-(lnx-\mu )^2}{2 \sigma y^2}} [/itex] with parameter x>0

[itex] E(X) = \int_{-\infty}^{\infty} \! xf(x) \mathrm{d} x [/itex]

The Attempt at a Solution



Well I can set up the integrals, but that gets me nowhere.

a. [itex] \int_0^{\infty} \! x^k \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} \mathrm{d} x [/itex]

Let's do this one first. You will have to use that

[tex] \int_0^{\infty} \! \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} \mathrm{d} x =1[/tex]

For some alpha and beta. So what you do is

[tex] \int_0^{\infty} \! x^k \frac{x^{\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} \mathrm{d} x = \int_0^{\infty} \! \frac{x^{k+\alpha -1}e^{ \frac{-x}{\beta}}}{ \Gamma (\alpha ) \beta ^{\alpha }} \mathrm{d} x[/tex]

So your alpha in the above integtral will be k+alpha. Now try to adjust the integral in such a way so you can use the above integral. That is, try to have [itex]\Gamma(\alpha+k)[/itex]and [itex]\beta^{\alpha+k}[/itex] in the denominator.
 
  • #3
Okay, thanks. I'll try that.
 
  • #4
Hi ArcanaGold!

In addition to what micro said, you may want to use the property of the gamma function that:
[tex]\Gamma(z+1)=z \Gamma(z)[/tex]
 
  • #5
ArcanaNoir said:
Okay, thanks. I'll try that.

For problem (c), change variables to y = ln(x); that will give you something of the form E[exp(k*Y)] for normally-distributed Y. Do you recognize that quantity? (Hint: I'll bet you have seen it before, or it is in your textbook or course notes. If not, it should be.)

RGV
 
  • #6
Okay, I got the first one, and according to the book I have the correct solution. Thanks a lot guys :)

For the second one, (the second and third answers are not provided) I got :

[tex] \frac{ \Gamma (\alpha ) \Gamma (\alpha + k)}{\Gamma (\alpha + \beta + k) \Gamma (\alpha + \beta )} [/tex]

I used the same technique, I think that is right.

Then I get stuck on the last one. Since it's x-1 instead of a variable, I'm not sure what substitution to make here.
 
  • #7
For the lognormal, first make the substitution t=log(x)...
 
  • #8
[tex]\int_0^{\infty} \! x^k ( \frac{1}{ \sigma \sqrt{2 \pi }}) e^{ \frac{-(t-\mu )^2}{2 \sigma y^2}} \mathrm{d} x [/tex]

where t= ln(x), dt = 1/x

How on Earth am I going to integrate x^k?
 
  • #9
should I let some other variable, say u, =x^k?
Can you do that, make two substitutions in one integral?
 
  • #10
ArcanaNoir said:
[tex]\int_0^{\infty} \! x^k ( \frac{1}{ \sigma \sqrt{2 \pi }}) e^{ \frac{-(t-\mu )^2}{2 \sigma y^2}} \mathrm{d} x [/tex]

where t= ln(x), dt = 1/x

How on Earth am I going to integrate x^k?

My previous post told you exactly what you have to do. Of course, x = exp(t).

RGV
 
  • #11
[tex] ( \frac{1}{ \sigma \sqrt{2 \pi }}) \int_a^{b} \! e^{tk} e^{ \frac{-(t-\mu )^2}{2 \sigma ^2}} \mathrm{d} t [/tex]

the (new) current integral
 
Last edited:
  • #12
To get started on the exponent...

[tex]tk - {(t-\mu)^2 \over 2 \sigma^2}[/tex][tex]
= {2tk\sigma^2 - (t-\mu)^2 \over 2 \sigma^2}[/tex][tex]
= {2tk\sigma^2 - t^2 + 2t\mu - \mu^2 \over 2 \sigma^2}[/tex][tex]
= {- (t^2 - 2t(k\sigma^2 - \mu) + (k\sigma^2 - \mu)^2) + (k\sigma^2 - \mu)^2 - \mu^2 \over 2 \sigma^2}[/tex][tex]
= {- (t - (k\sigma^2 - \mu))^2 + (k\sigma^2 - \mu)^2 - \mu^2 \over 2 \sigma^2}[/tex]

Now substitute [itex]u=t - (k\sigma^2 - \mu)[/itex].
 

Related to Finding E(x^k) for gamma, beta, and lognormal distributions

What is the formula for finding E(x^k) for a gamma distribution?

The formula for finding E(x^k) for a gamma distribution is E(x^k) = (α + k) / β, where α is the shape parameter and β is the scale parameter.

How do you calculate E(x^k) for a beta distribution?

To calculate E(x^k) for a beta distribution, you can use the formula E(x^k) = (α + k) / (α + β + k - 1), where α and β are the shape parameters.

What is the method for determining E(x^k) for a lognormal distribution?

The method for determining E(x^k) for a lognormal distribution is to first find the mean and variance of the corresponding normal distribution, and then use the formula E(x^k) = e^(μk + k^2σ^2/2), where μ is the mean and σ is the standard deviation of the normal distribution.

How does the value of k affect E(x^k) for these distributions?

The value of k affects E(x^k) differently for each distribution. For gamma and beta distributions, increasing the value of k will result in an increase in E(x^k), while for a lognormal distribution, increasing k will result in a decrease in E(x^k).

Is there a general formula for finding E(x^k) for any distribution?

There is no general formula for finding E(x^k) for any distribution. The formula for E(x^k) will vary depending on the specific distribution and its parameters. However, for commonly used distributions such as gamma, beta, and lognormal, there are established formulas for calculating E(x^k).

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
593
  • Calculus and Beyond Homework Help
Replies
2
Views
789
  • Calculus and Beyond Homework Help
Replies
1
Views
803
  • Calculus and Beyond Homework Help
Replies
3
Views
636
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
726
  • Special and General Relativity
Replies
1
Views
848
  • Advanced Physics Homework Help
Replies
4
Views
635
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
Back
Top