A1.12 B1.15

Principles of Statistics
Part II, 2003

(i) A public health official is seeking a rational policy of vaccination against a relatively mild ailment which causes absence from work. Surveys suggest that 60%60 \% of the population are already immune, but accurate tests to detect vulnerability in any individual are too costly for mass screening. A simple skin test has been developed, but is not completely reliable. A person who is immune to the ailment will have a negligible reaction to the skin test with probability 0.40.4, a moderate reaction with probability 0.50.5 and a strong reaction with probability 0.1. For a person who is vulnerable to the ailment the corresponding probabilities are 0.1,0.40.1,0.4 and 0.50.5. It is estimated that the money-equivalent of workhours lost from failing to vaccinate a vulnerable person is 20 , that the unnecessary cost of vaccinating an immune person is 8 , and that there is no cost associated with vaccinating a vulnerable person or failing to vaccinate an immune person. On the basis of the skin test, it must be decided whether to vaccinate or not. What is the Bayes decision rule that the health official should adopt?

(ii) A collection of II students each sit JJ exams. The ability of the ii th student is represented by θi\theta_{i} and the performance of the ii th student on the jj th exam is measured by XijX_{i j}. Assume that, given θ=(θ1,,θI)\boldsymbol{\theta}=\left(\theta_{1}, \ldots, \theta_{I}\right), an appropriate model is that the variables {Xij,1iI,1jJ}\left\{X_{i j}, 1 \leqslant i \leqslant I, 1 \leqslant j \leqslant J\right\} are independent, and

XijN(θi,τ1),X_{i j} \sim N\left(\theta_{i}, \tau^{-1}\right),

for a known positive constant τ\tau. It is reasonable to assume, a priori, that the θi\theta_{i} are independent with

θiN(μ,ζ1),\theta_{i} \sim N\left(\mu, \zeta^{-1}\right),

where μ\mu and ζ\zeta are population parameters, known from experience with previous cohorts of students.

Compute the posterior distribution of θ\boldsymbol{\theta} given the observed exam marks vector X={Xij,1iI,1jJ}.\mathbf{X}=\left\{X_{i j}, 1 \leqslant i \leqslant I, 1 \leqslant j \leqslant J\right\} .

Suppose now that τ\tau is also unknown, but assumed to have a Gamma(α0,β0)\operatorname{Gamma}\left(\alpha_{0}, \beta_{0}\right) distribution, for known α0,β0\alpha_{0}, \beta_{0}. Compute the posterior distribution of τ\tau given θ\boldsymbol{\theta} and X\mathbf{X} Find, up to a normalisation constant, the form of the marginal density of θ\boldsymbol{\theta} given X\mathbf{X}.