I've been given a problem and I'm not entirely sure how to approach it, I'm aware of the basics like $Posterior ∝ Likelihood × Prior$ etc. but I'm not sure what steps to take here to solve the below problem.
Any help would be greatly appreciated,
Thanks,
MathewG
The exponential distribution is often used to model a continuous positive random variable measured on a time scale. Assume that the random variable $y$ follows an exponential distribution with rate parameter $θ$. Hence, $y ∼ Exp(θ)$ with probability density function
$$f (y|θ) = θ\exp(−θy),\ y > 0\, θ > 0.$$
In order to perform inference about $θ$ in the Bayesian framework, a researcher has adopted a Gamma prior distribution for $θ, θ ∼ Gamma(a, b)$, with probability density function
$$π(θ) = b^a/\Gamma(a)*θa−1exp (−b θ),\ θ > 0,$$
in which $a$ and $b$ are known positive constants and $Γ(a)$ is the Gamma function. It can be shown that $E [θ] = a/b$ and $Var [θ] = a/b^2$
Using this information how would you determine $π(θ | y)$, the posterior probability density function of θ and then show that $$θ | y ∼ Gamma(a + 1, b + y)$$