Poisson and Gamma Distributions

Click For Summary

Homework Help Overview

The discussion revolves around the relationship between a Poisson distribution conditioned on a Gamma distribution. The original poster attempts to find the expected value E(X|Y) where Y|X follows a Poisson distribution and X follows a Gamma distribution. Participants explore the implications of the discrete nature of the Poisson distribution versus the continuous nature of the Gamma distribution.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the formulation of joint and marginal distributions, questioning how to handle the discrete and continuous aspects separately. There are inquiries about the definitions and interpretations of probabilities related to Y and X.

Discussion Status

The discussion is ongoing, with participants providing insights and raising questions about the proper handling of the distributions involved. Some guidance has been offered regarding the need to clarify summation indices and limits, but no consensus has been reached on the approach to take.

Contextual Notes

Participants note confusion regarding the treatment of discrete versus continuous distributions and the implications for calculating probabilities. There is mention of the need for further clarification on the definitions and relationships between the variables involved.

Artusartos
Messages
236
Reaction score
0
Let Y|X be a Poisson(X), and X be Gamma(\alpha, \beta). Find E(X|Y)...

Since Y|X is Poisson(X), we have f(Y|X)= \frac{m^x e^{-m}}{x!}...

Since X is Gamma(\alpha, \beta), we have f(x)= \frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}...

Since f(Y|X) = \frac{f(x,y)}{f(x)} ====> f(x,y) = \frac{f(Y|X)}{f(x)}...

So now we have...

f(x,y) = \frac{(\frac{m^x e^{-m}}{x!})}{\frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}}

So now I have to find f(y), but I'm sort of confused...because the poisson distribution is discrete while the gamma distribution is continuous...so do I need to handle them separately?

Thanks in advance.
 
Physics news on Phys.org
Artusartos said:
Let Y|X be a Poisson(X), and X be Gamma(\alpha, \beta). Find E(X|Y)...

Since Y|X is Poisson(X), we have f(Y|X)= \frac{m^x e^{-m}}{x!}...

Since X is Gamma(\alpha, \beta), we have f(x)= \frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}...

Since f(Y|X) = \frac{f(x,y)}{f(x)} ====> f(x,y) = \frac{f(Y|X)}{f(x)}...

So now we have...

f(x,y) = \frac{(\frac{m^x e^{-m}}{x!})}{\frac{x^{\alpha-1} e^{-x/B}}{\Gamma(\alpha) \beta^{\alpha}}}

So now I have to find f(y), but I'm sort of confused...because the poisson distribution is discrete while the gamma distribution is continuous...so do I need to handle them separately?

Thanks in advance.

What is P{Y = k} for k = 0,1,2,... ? What is P{x < X < x+dx|Y=k} for k = 0,1,2, ... ?

RGV
 
Ray Vickson said:
What is P{Y = k} for k = 0,1,2,... ? What is P{x < X < x+dx|Y=k} for k = 0,1,2, ... ?

RGV

When you say P(Y=k), do you mean P(Y=k|X)? (since we are told that it is poisson when it is conditioned by X...) However, if you mean that it is not P(Y=k|X)...actually that was what I was trying to compute by integrating out x from the continuous part...and then looking at the discrete part (but I was confused, because I wasn't sure if I could handle them separately).

P(Y=k) = \sum \frac{m^k e^{-m}}{k!}

and...

P(x &lt; X &lt; x+dx|Y=k) = \frac{P(x &lt; X &lt; x+dx) ∩ P(Y=k)}{P(Y=k)}
 
Artusartos said:
When you say P(Y=k), do you mean P(Y=k|X)? (since we are told that it is poisson when it is conditioned by X...) However, if you mean that it is not P(Y=k|X)...actually that was what I was trying to compute by integrating out x from the continuous part...and then looking at the discrete part (but I was confused, because I wasn't sure if I could handle them separately).

P(Y=k) = \sum \frac{m^k e^{-m}}{k!}

and...

P(x &lt; X &lt; x+dx|Y=k) = \frac{P(x &lt; X &lt; x+dx) ∩ P(Y=k)}{P(Y=k)}

Where do you get the formula
P(Y=k) = \sum \frac{m^k e^{-m}}{k!}? What is m? what are you summing over?

The way I read the problem, we have
P\{ Y = k | X = x \} = \frac{x^k e^{-x}}{k!}.
That is *exactly* what the problem says!

Now, of course, you need to find P{Y = k}, an unconditional probability.

RGV
 
Ray Vickson said:
Where do you get the formula
P(Y=k) = \sum \frac{m^k e^{-m}}{k!}? What is m? what are you summing over?

The way I read the problem, we have
P\{ Y = k | X = x \} = \frac{x^k e^{-x}}{k!}.
That is *exactly* what the problem says!

Now, of course, you need to find P{Y = k}, an unconditional probability.

RGV

The reason that I wrote summation is because this is the cumulative distribution...not the probability mass function. So for continuous cases, the cdf is the integral of the pdf, and for discrete cases the cdf is the summation of the pmf...and what you're summing over depends on the question. Isn't that correct?
 
Artusartos said:
The reason that I wrote summation is because this is the cumulative distribution...not the probability mass function. So for continuous cases, the cdf is the integral of the pdf, and for discrete cases the cdf is the summation of the pmf...and what you're summing over depends on the question. Isn't that correct?

OK, fine: you want to find the cdf of something. However, your expression is still lacking in two ways: (i) what is the summation index?; and (ii) what are the summation limits? Just writing Ʃ does not tell anyone whether you are summing over k for fixed m or over m for fixed k, and what the summation limits are.

Anyway, nothing in this question asks about the cdf (unless there are parts of the question you have not written in your first post).

At this point I am finished with this thread.

RGV
 
Ray Vickson said:
OK, fine: you want to find the cdf of something. However, your expression is still lacking in two ways: (i) what is the summation index?; and (ii) what are the summation limits? Just writing Ʃ does not tell anyone whether you are summing over k for fixed m or over m for fixed k, and what the summation limits are.

Anyway, nothing in this question asks about the cdf (unless there are parts of the question you have not written in your first post).

At this point I am finished with this thread.

RGV

Actually, I wasn't trying to find the cdf at first. But when you asked me to find P{Y = k} and P{x < X < x+dx|Y=k}...P(anything) can be found using the cdf.

Anyways, I'll probably ask my professor about this...
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
3
Views
2K
Replies
8
Views
2K
Replies
20
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
6
Views
1K