What the various components of the hierarchical model

Assignment Help Mechanical Engineering
Reference no: EM131052488

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.

Reference no: EM131052488

Questions Cloud

Kinds of opportunities differently in the future : If it went well, then why do you think that was? What did you do to make it successful? If it did not go well, then why do you think that was? What did you do to make it unsuccessful? How will you approach these kinds of opportunities differently in ..
Situational leadership theory-organizational leadership : As the new top-level executive of a medium-sized corporation, you have noticed that the leadership culture in the organization has been ineffective, which has lowered employee morale.
Vice president of information services : Barbra Cooper started as a CIO when the position was still called "vice president of information services." In her more than 30 years in IT, she's seen the role become ever more strategic. Until now, the CIO is in the unique position of being the ..
Format guidelines for business communication of purpose : Use the library, Internet, and all available resources to research writing tips and format guidelines for business communication of this purpose. Be sure to use proper grammar, spelling, punctuation, and signatures.
What the various components of the hierarchical model : Describe in words what the various components of the hierarchical model represent in terms of the observed and expected disease rates.
Sharing knowledge related to job research : This week's discussion is focused on identifying and sharing knowledge related to job research and job search. Identify four sources to learn more about jobs, networking, or job openings. Provide a critique of each source to identify the following..
Indifferent between accepting the project and rejecting it : A project that provides annual cash flows of $2,300 for nine years costs $9,500 today. Requirement 1: At a required return of 11 percent, what is the NPV of the project? At what discount rate would you be indifferent between accepting the project and..
Question regarding the federal spending : List and explain 3 reasons that the United States should INCREASE federal spending OR DECREASE federal spending.
Information and communications for development : More than one billion people take their electrical and telecommunications systems for granted. However, for billions more, the service-on-demand mentality remains a distant dream and Internet access only a rumor. Recognizing the need to promote gl..

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  Determine the temp of air at limting pressure calculate the

the ridigid cube in the sketcha 1.0m tall box with a relief vavle at the top is filled w air at 280k and 100kpa. the

  A 9 m3 tank has two sections separated by a membrane both

a 9 m3 tank has two sections separated by a membrane both of which contain nitrogen gas. the nitrogen in section a has

  Calculate the pumping head

Determine the flow in each pipe as well as the flow delivered to point C (Qc). Calculate the pumping head, if the residual pressure at point C is not to be less than 150 kPa

  Calculate the inside temperature when the outer surface is

the inside dimensions of a refrigerated box is 2m x 1 m x 1.2 m. it is covered with insulation 50 mm thick and then a

  What do yo undestand by the term base quantity list the

what do you understand by the term quantity with reference to vim? list three different base quantities and indicate

  Determine the number of pounds of helium

Determine the number of pounds of helium within it if its volume = 68,000 ft^3 and the temperature and pressure are 80 F and 14.2 psia.

  What was the total change in the mechanical energy

As a pickup truck (total mass of 2500 kg, including fuel and driver) approaches a rise in an otherwise flat road, the driver presses the clutch and begins to coast. Initially the truck was moving at 34 m/s. For many reasons, including friction losses..

  R-410a at 120c 4 mpa is in an insulated tank and flow is

r-410a at 120c 4 mpa is in an insulated tank and flow is now allowed out to a turbine with a backup pressure of 800

  Determine the entropy change of nitrogen during this

nitrogen gas is compressed from an initial state of 100kpa and 17c to a final state of 600 kpa and 57c. determine the

  Why might an ecd be preferred to a tcd as a detector

What methods are used to achieve low levels of corrosion by oxygen in boiler feed water? What measurements are essential to ensure that this is done satisfactorily, and what types of measurement could be used?

  The light is monochromatic

A slab of intrinsic GaAs, 3cm long, 2cm wide, and 0.3cm thick, is exposed to light. The light is absorbed with an absorption coefficient a=500cm-1 (this means that the light intensity decreases in the material exponentially with distance t, and is pr..

  What is the gage pressure at the bottom of the tanks in kpa

sea water specific gravity 1.03 leaks into the diesel fuel specifc gravity 0.81 tanks of a ship. diesel fuel and

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd