1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Calc-Based Stats, Prove a Conditional Distribution is Gamma Distributed

  1. Apr 13, 2012 #1
    1. The problem statement, all variables and given/known data

    An image of the assigned problem is here: http://imgur.com/aYkaM

    2. Relevant equations

    The formula for being exponential, gamma, and probably Bayes's Law. They'd take a while to type out, and presumably anyone who can help me with this already knows the formulas or will understand them by looking at my solution thus far.

    3. The attempt at a solution

    [itex]P(X_{1}=x_{1}, ..., X_{n}=x_{n}|W=w)P(W=w) \quad = \\\\ P(W=w|X_{1}=x_{1}, ..., X_{n}=x_{n})P(X_{1}=x_{1}, ..., X_{n}=x_{n}) \quad \Longrightarrow \\\\ P(W=w|X_{1}=x_{1}, ..., X_{n}=x_{n}) \quad = \quad \frac{P(X_{1}=x_{1}, ..., X_{n}=x_{n}|W=w)P(W=w)}{P(X_{1}=x_{1}, ..., X_{n}=x_{n})} \quad = \\\\ \frac{w^{n}e^{-w(x_{1}+...+x_{n})}\frac{\beta^{t}}{\Gamma (t)}w^{t-1}e^{-\beta w}}{P(X_{1}=x_{1}, ..., X_{n}=x_{n})} \quad = \quad \frac{\beta^{t}}{\Gamma (t) P(X_{1}=x_{1}, ..., X_{n}=x_{n})}{w^{t+n-1}e^{-w(\beta + \sum_{i=1}^{n}x_{i})}}[/itex]

    Now at this point I feel like I've gone most of the way, but the only thing is the "coefficient". For this to be a true gamma distribution with the said parameters, that front factor needs to be [itex]\frac{(\beta+\sum x_{i})^{t+n}}{\Gamma(t+n)}[/itex] and I just can't see how to make that happen.
    1. The problem statement, all variables and given/known data

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Apr 13, 2012 #2

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    [tex]P(X_1=x_1,\ldots,X_n=x_n) = \int P(X_1=x_1,\ldots,X_n=x_n|w) f_W(w) \, dw.[/tex] Just do the integral.

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook