STAT3016/6016 - Introduction to Bayesian Data Analysis Test 1 - Practice Paper AR

Java Python Research School of Finance, Actuarial Studies and Statistics

Test 1 - Practice Paper A

STAT3016/6016 - Introduction to Bayesian Data Analysis

Problem 1 [12 marks]

The Weibull distribution is commonly used in product failure analysis to model the lifetime of a product, for example, a light bulb.

Let T be the lifetime of a lightbulb. Let’s assume T|k, λ ∼ W eibull(k, λ) where k is the shape parameter and λ is the scale parameter. The probability density function of T is

(a) [1 mark] What is the support of each of the parameters k and λ? In other words, are there any restrictions on the values of k and λ?

(b) [2 marks] Assume we observe the lifetime of n lightbulbs. So our lifetime data is t1, t2, ...., tn. Write down the joint likelihood function of the data given k and λ. That is, write down the form. of the likelihood function f(t1, ..., tn|λ, k).

(c) [2 marks] Let’s reparametise the model and define θ = λ k . Rewrite the likelihood function from part (b) given the new parameter θ and k. That is, write down the form. of the likelihood function f(t1, ..., tn|θ, k).

(d) [2 marks] Let’s assume k is fixe STAT3016/6016 - Introduction to Bayesian Data Analysis Test 1 - Practice Paper AR d and known. Derive a conjugate prior distribution for the parameter θ.

(e) [2 marks] What is the posterior distribution of θ|t1, ..., tn, k?

(f) [1 mark] From part (e) what are the sufficient statistics of the Weibull distribution?

(g) [2 marks] What is the posterior mean of θ? Express the posterior mean as some linear combination of the prior mean and a sample mean.

Problem 2 [8 marks]

It is a common problem for measurements to be observed in rounded form. For a simple example, suppose we weigh an object five times and measure weights, rounded to the nearest kilogram, of 20, 21, 20, 20, 22. Assume the unrounded measurements are normally distributed with a noninformative prior distribution on the mean µ and variance σ 2 .

(a) [2 marks] Give the posterior distribution for (µ, σ2 ) obtained by pretending that the observations are exact unrounded measurements.

(b) [3 marks] Give the correct posterior distribution (up to a proportionality constant) for (µ, σ2 ) treating the measurements as rounded.

(c) [3 marks] How do the incorrect and correct posterior distributions differ? Compare means, vari-ances and contour plots using the following plots and summary estimates of the posterior distri-butions         

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值