Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Mechanical Engineering Expert

The number of occurences of a rare, nongenetic birth effect in a five-year period for six neighboring counties is y = (1, 3, 2, 12, 1, 1). The counties have populations of x = (33, 14, 27, 90, 12, 17), given in thousands. The second county has higher rates of toxic chemicals (PCBs) present in the soil samples, and it is of interest to know if this town has a high disease rate as well. We will use the following hierarchial model to analyze these data:

• Yi|?i , xi ~ Po(?ixi);

• ?1, . . . , ?6|a, b ~ G(a, b);

• a ~ G(1, 1) ; b ~ G(10, 1).

(a) Describe in words what the various components of the hierarchical model represent in terms of the observed and expected disease rates.

(b) Identify the form of the conditional distribution of p(?1, . . . , ?6|a, b, x, D), and from this identify the full conditional distribution of the rate for each county p(?i |?-i, a, b, x, D).

(c) Write out the ratio of the posterior densities comparing a set of proposal values (a*, b*, ?) to values (a, b, ?). Note that the value of ?, the vector of county-specific rates, is unchanged. (d) Construct a Metropolis-Hastings algorithm which generates samples of (a, b, ?) from the posterior. Do this by iterating the following steps:

1. Given the current value (a, b, ?), generate a proposal (a * , b* , ?) by sampling a * and b * from a symmetric proposal distribution centered around a and b, but making sure all proposals are positive. Accept the proposal with the appropriate probability.

2. Sample new values of ?j 's from their full conditional distributions. Perform diagnostic tests on your chain and modify if necessary.

(e) Make posterior inference on the infection rates using the samples from the Markov chain. In particular,

(i) Compute marginal posterior distributions of ?1, . . . , ?6 and compare them to y1/x1, . . . , y6/x6.

(ii) Examine the posterior distribution of a/b, and compare it to the corresponding prior distribution as well as to the average of yi/xi across the six counties.

(iii) Plot samples of ?2 versus ?j for j ? 2, and draw a 45 degree line on the plot as well. Also, estimate P(?2 > ?j |x, D) for each j ?2 and P(?2 = max{?1, . . . , ?6}|x, D). Interpret the results of these calculations, and compare them to the conclusions one might obtain if they just examined yj/xj for each county j.

Mechanical Engineering, Engineering

  • Category:- Mechanical Engineering
  • Reference No.:- M91775884

Have any Question?


Related Questions in Mechanical Engineering

The aim of the project is to demonstrate certain aspects of

The aim of the project is to demonstrate certain aspects of engineering materials in different applications. The projects will be assessed on the basis of a written Research Report. The report should clearly show what yo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Questions -q1 a qualitative estimate of the effect of a

Questions - Q1. A qualitative estimate of the effect of a wind-tunnel contraction (Figure) on turbulent motion can be obtained by assuming that the angular momentum of eddies does not change through the contraction. Let ...

Fluid mechanics assignment - viscous flow in pipesq1 as

Fluid Mechanics Assignment - Viscous Flow in Pipes Q1. As shown in the figure below, water "bubbles up" 3 in. above the exit of the vertical pipe attached to three horizontal pipe segments. The total length of the 0.75-i ...

Question - truss structureconsider the three membered

Question - Truss Structure Consider the three membered planar truss structure shown in the figure below. All members of the truss have identical square cross-sectional area (A) of 25 mm x 25 mm, and Youngs Modulus (E) = ...

Heat transfer and combustionyou will need graph paper a

HEAT TRANSFER AND COMBUSTION You will need graph paper, a calculator, a copy of Appendix 1 from lesson HTC - 4 - 2 and access to steam tables to answer this TMA. 1. A fuel gas consists of 75% butane (C 4 H 10 ), 10% prop ...

Problem on shaft -assuming no frictional losses a torque of

Problem on Shaft - Assuming no frictional losses, a torque of T = 750lb·in is applied through the shaft of gear F in order to drive the roller chain at point B at a constant speed. The chain sprocket has a pitch diameter ...

Problem -a long pipe od 1413 mm id 1318 mm kp 20 wmk

Problem - A long pipe (OD = 141.3 mm, ID =131.8 mm, k p = 20 W/m.K) supplies hot pressurized liquid water at 400 K to a heater in a factory. The pipe has an insulation thickness of 100 mm. A new efficient heater replaces ...

Fluid mechanics assignment - finite control volume analysis

Fluid Mechanics Assignment - Finite Control Volume Analysis and Dimensional Analysis Q1. The wind blows through a 7ft × 10ft garage door opening with a speed of 5 ft/s as shown in the figure. Determine the average speed, ...

Mechanical engineering assignment task - solve the given

Mechanical Engineering Assignment Task - Solve the given problem. Task 1 - A spring with a one-turn loop of 40mm mean radius is formed from a round section of wire having 5 mm diameter. The straight tangential legs of th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As