Professional Documents
Culture Documents
Route 1 2 3 4
P r(j = 1.5|r) 0.2 0.5 0.8 0.9
2. (4 marks) Let’s assume that an LFT test for COVID19 has a sensitiv-
ity (i.e. probability of testing positive given that the person is infected
P r(T + |I)) estimated at approximately 0.75 and a specificity estimated
at approximately 0.99 (i.e. probability of testing negative given that the
person is not infected P r(T − |S)).
1
(c) Repeat for moderate and high risk.
(d) Discuss with your peers the implications of these results.
Y 0 1 2
P r(Y |θ) θ θ2 1 − θ − θ2
Y 0 1 2
m(Y) 0.35 0.15 0.5
θ|λ ∼ Poisson(λ)
λ ∼ Gamma(α, β).
2
(a) Show that the (marginal) distribution for θ is Negative Binomial by
integrating out λ :
Z ∞ Z ∞
p(θ) = p(θ, λ)dλ = p(θ|λ)p(λ)dλ.
−∞ −∞
X ∼ Bin(θ, p).