4. Bayesian Inference on Poisson
Poisson Distribution
Parameter:
Likelihood:
Poisson:
Example 1:
Let Y be the number of accidents occurring in an industrial plant, Y is described by a Poisson process with mean μ accidents every three months. Suppose that 5 possible values of μ are 1/3, 2/3, 1, 4/3, and 5/3. We do not have any reason to give any possible value more weight than any other value, so we give them equal prior weight. During the last three months, NO accidents occur.
a) Find the posterior distribution, i.e., p(μ|data).
b) Find the posterior mean, i.e., E(μ|data)
c) Find p(μ ≤ 1|data).
Gamma Prior
A random variable
original definition:
Parameter:
Likelihood:
Prior:
Posterior:
Single Observation:
Multiple observations:
Likelihood:
Posterior:*
Updating Rules
Example 2:
Suppose we wish to estimate the number of tree seedlings in a forest. We randomly install
ten square meter plots and count the number of seedlings in each resulting in counts of
51, 47, 55, 51, 57, 55, 44, 41, 53, and 56. Assume that the number of tree seedlings per
plot follows a Poisson distribution.
a) Use a gamma prior for the Poisson parameter λ. Suppose your assessment of the
expected value for λ is 45 per plot and your assessment of the variance for λ is 9 per
plot. Find a gamma prior for λ with this mean and variance. Provide its parameters,
explicitly. Justify your answer.
b) Find the posterior distribution of λ. Provide its parameters, explicitly:
c) Summarize the posterior distribution by its first two moments (i.e. mean and variance).
If you remember the formulas, write them and use them.
b) Perform a Bayesian test of the hypothesis H0 : λ ≥ 50 vs Ha : λ < 50 at the 5% level.
Please, show all your work.
Normal approximation:
Effective Sample Size
Approach 1:
Using posterior mean for
Approach 2:
Likelihood:
prior:
effective sample size =
Non-Informative Prior
Jeffreys' Prior
Gamma(r=1,v=0) Flat Uniform
Example 1
Example 2
Becomes flat.
Posterior Predictive Distribution
Say
Geometric random variable. Number of failures until first success.
Example 3:
A geologist wishes to study the incidence of seismic movements in a given region. She then selects m independent but geologically similar observation points and counts the number of movements in a specific time interval. The observational model is Yi ∼ Pois(μ), where Yi , i = 1, 2, · · · , m, is the number of occurrences in the ith observation point and μ is the average rate of seismic movements.
a) From her previous experience, the researcher assumes that E (μ) = 2 movements per time interval an that V (μ) = 0.40 and uses these values to specify a conjugate prior. Find parameters of prior distribution and provide them explicitly.
Equivalent sample size
b) Assuming that (2, 3, 0, 0, 1, 0, 2, 0, 3, 0, 1, 2) was observed. What is the posterior distribution? Find it and provide its parameters explicitly.
Update rules:
c) She wishes to find the probability that the number of seismic
movements in an (m + 1)th site is 2 based on the observations
she had made, i.e., p(X = 2|y1, ..., ym). Find it.
sub in