Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Armitage and Berry ( 1 9 9 4 , p . 1 1 1 ) ? 2 report data on the weight gain of 1

Armitage and Berry (1994, p.111)?2 report data on the weight gain of 19 feraiale rats
hetween 28 and 84 days after thirth. The rals were pliuxyl in randomizox manner on dietsi
with high (12 animals) and low (7 animals) probein content.
We want to tent the hypothesin on dietary ellest: Disl a luw protesin dist realt in a
signilicantly luwes wright gain?
luvel, bat we will not go there Instesal, we'll do the ust the Baysian way uning a Githtw
manpler.
Assume that the high protein diet mosasurements y6,i=1,dots,12 are suming from a
nornal distribution N(1,1n), where: n is the prexision paraneter,
f(ni|1,n)112exp{2(y1-1)2},i=1,dots,12.
'The: low protein diet masuremens yk,i=1,dots,7 are cxung from normal distritution
N(2,12),
f(ya|2,2)212exp{-22(y2i-2)2},i=1,dots,7.
Ascume: that 1 ind 2 have normal priors N(10,110) and N(an,12n), resquex:tively. Thake:
prior mesus as 10=30=110(a priori no preferemone) and prexisions as 10=20=1100.
Assume that 1 and 2 hawe gamun Ga(a1,b1) and Ga(a2,b2) priors with shapes a1=
a2=0.01 and rahes b1=b2=4.
(a) Constract Gibhs sampler that will sample: 1,1,2 and 2 from thesir positeriors.
(b) Find sample dillerences 1-2. I'roportion of powitiwe dillerencesi approximales the:
pesiterior probahility of hypothesis H0=1>2. What is this proportion if the number of
simulativos is 10,000, after burn in of 500?
conLain 0?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions

Question

b. What groups were most represented? Why do you think this is so?

Answered: 1 week ago

Question

3. Describe phases of minority identity development.

Answered: 1 week ago

Question

5. Identify and describe nine social and cultural identities.

Answered: 1 week ago