Description
ISyE 6420
1. Traffic. Marietta Traffic Authority is concerned about the repeated accidents at the intersection of Canton and Piedmont Roads. Bayes-inclined city-engineer would like to estimate the accident rate, even better, find a credible set.
A well known model for modeling the number of road accidents in a particular location/time window is the Poisson distribution. Assume that X represents the number of accidents in a 3 month period at the intersection od Canton and Piedmont Roads.
Figure 1: The Intersection od Canton and Piedmont Roads, Marietta, East Cobb, GA
Assume that [X|θ] ∼ Poi(θ). Nothing is known a priori about θ, so it is reasonable to assume the Jeffreys’ prior
.
In the four most recent three-month periods the following realizations for X are observed:
1, 2, 0, and 1.
(a) Compare the Bayes estimator for θ with the MLE (For Poisson, recall, θˆMLE = X¯).
(b) Compute (numerically) a 95% equitailed credible set.
(c) Compute (numerically) a 95% HPD credible set.
(d) Numerically find the mode of the posterior, that is, MAP estimator of θ.
(e) If you test the hypotheses
H0 : θ ≥ 1 vs H1 : θ < 1,
based on the posterior, which hypothesis will be favored?
2. Lady Guessing Coin Flips. There is a famous story involving statistician (Sir Ronald Fisher) and a lady (Muriel Bristol). The lady claimed that, when tasting tea with milk, she can positively determine whether tea or milk had been poured in a cup first. Fisher designs an experiment with 8 cups, 4 in which milk was poured first and 4 in which tea was poured first. Muriel correctly guesses in all 8 cases. This has come to be known as the Lady Tasting Tea Experiment and the example is often used to illustrate Fisher’s exact test.
Now, imagine another lady who claims ESP and the ability to predict results in subsequent flips of a fair coin. A fair coin is flipped 16 times and the lady correctly predicts the outcome 15 times. Let p be the probability of the lady guessing correctly.
Test a precise hypothesis H0 : p = 0.5 (guessing) versus the alternative H1 : p > 0.5 (presence of ESP), in Bayesian fashion.
To test a precise hypothesis in Bayesian fashion, a prior with a point-mass is needed.
Assume that the prior on p is
π(p) = π0 δ0.5 + π1 U(0.5,1) = 0.95δ0.5 + 0.05 · 2 · 1(0.5 < p < 1),
where δ0.5 is point-mass at 0.5, and U(a,b) is uniform distribution on (a,b). From the form of the prior we see that prior probabilities of the null and alternative hypotheses are P(H0) = π0 = 0.95 and P(H1) = π1 = 1 − π0 = 0.05. Thus, apriori we are sceptic of lady’s ESP, and favor H0.
(a) Find the posterior probabilities of hypotheses, p0 and p1, and Bayes Factor.
(b) What is the assessment of H1 according to Jeffreys scale, i.e., is the experiment convincing that the lady possesses ESP?
Hint. Note that the likelihood is binomial and classical p-value of the test is P(X ≥ 15|H0) =
0002594. Thus, given the evidence, a frequentist
statistician is notoriously biased against H0, and is strongly convinced of ESP. Here
and ,
where
,
2
and
To find m1(x) you will need to numerically evaluate the incomplete beta function.
3
Reviews
There are no reviews yet.