POLI 272 BAYESIAN METHODS
First Assignment
Due 8 October 2009
All homeworks must be neatly typed with Microsoft Word or its equivalent with all R code shown in an
Appendix.
- Work Chapter 1, Exercise 4, on page 16 of Bayesian Computation With R.
- Work Chapter 1, Exercise 5, on pages 16 and 17 of Bayesian Computation With R.
- Note that problems (1) and (2) use the unrealistic large sample confidence interval for p-hat.
Redo Exercise 5 with the
Wilson score interval
for p-hat. Note that Z1-alpha/2 is 1.645 as in Problems (1) and (2).
The derivation is shown
here. Note that Zalpha/2 in the derivation is 1.645 as in Problems (1) and (2).