Perform exploratory data analysis by looking at graphs

Assignment Help Mathematics
Reference no: EM132411876

Bayesian Data Analysis

Question 1. The Department of Transportation in Florida has collected in- formation about accidents that occurred during 2017. Safety engineers are interested in estimating whether the use of seat belts is associated with the severity of crashes that involve injuries. Data are shown in the following Table.

 

Fatal injuries

Non-fatal injuries

Total injury crashes

No seat belt

142

1425

1567

Seat belt used

91

1834

1925

Let nno, yno denote the number of accidents and the number of fatalities, respectively, when the seat belt is not in use. Similarly, let nyes, yyes denote the number of accidents and the number of fatalities, respectively, when the seat belt is in use. Assume that yno and yyes are independent, with binomial sampling distributions and probability of success θno, θyes, respectively.

Questions

(a) Find the posterior distributions of θno and θyes when the priors are independent uniform distributions.

(b) In your own words, explain how you might draw values of θno from its posterior distribution. Be precise and write down all the steps.

(c) Plot the posterior distributions of θno and θyes in the same graph, and interpret the results.

(d) The relative risk of a fatality is computed as the ratio λ = θnoyes. Find the posterior distribution of the relative risk in this study, and plot the resulting posterior distribution. Suppose that you are explaining the results of the study to a person who does not know about Bayesian statistics. In your own words, explain what the values in the plot of the posterior distribution mean and how they can be interpreted in the context of severity of crashes.

Question 2. This part requires an in-depth data analysis. The main objective of the analysis is to provide Bayesian modeling for assessing treatment effects on presence of Haemophilus influenzae type b infec- tion. The modeling relies upon considering the treatment, possible effects of treatment compliance, and the timing of the testing given to participants. Haemophilus influenzae type b, or Hib, is a common bacteria that yields many infections. Hib has been the cause of most serious diseases such as meningitis. The highest risk group for Hib is infants and young children, however, anyone can also get Hib. The dataset (infection.txt, found in Canvas, contains information on the presence of Hib in children from the particular study. The study tested the effects of a drug on 50 children with a history of otitis media. The subjects were randomized to being in either the drug or the placebo group and whether they received reminders to take the drug. Data were collected at weeks 0, 2, 4, 6 and 11.

The data set (infection.txt) contains 220 observations. There are 6 variables contained within the dataset as defined below. Note y is the response variable.

Variable

Description

Values

y

Presence (y) or absence (n)

y , n

ap

Active (a) or placebo (p)

a , p

hilo

High or low compliance

hi , lo

week

Week of test

0, 2, 4, 6, 11

ID

Subject ID

Xmm, Ymm, Zmm

trt

Recoded using ap and hilo

placebo, drug, drug+

Questions

The Bayesian analysis of the data described above will be organized as follows:

(a) First, perform exploratory data analysis by looking at graphs and numerical summaries in addition to performing some preliminary data preparation to cleanse the data,

(b) Second, specify a fully Bayesian model development for assessing the treatment effects on presence of Haemophilus influenzae type b infection.

(c) Third, describe details of the fitted models and a comparison of models if any,

(d) Fourth, give a summary of the Bayesian analysis with appropriate interpretations, and

(e) Finally, put the codes used in the analysis and any additional information in the Appendix.

Reference no: EM132411876

Questions Cloud

Importance of correctness and accuracy of referencing : essay explaining what the main strategy development tools are and how they are used in business. Your essay must contain a comprehensive discussion
Write on catalan people of spain search for independence : Catalan people of Spain search for independence as it relates to nationalism, the current crisis in Spain - write on a topic of their choice
Explain what outbound filtering rules would you recommend : Explain what outbound filtering rules would you recommend? What types of attacks would you be able to block by doing this?
Prepare a post merger consolidate balance sheet : Simulate a merger and acqusition (Newmont is buyng SSRM) - Prepare a post merger consolidate balance sheet and Prepare a price to offer to the target company
Perform exploratory data analysis by looking at graphs : Bayesian Data Analysis - perform exploratory data analysis by looking at graphs and numerical summaries in addition to performing some preliminary data
How hash functions are used in different computing areas : Research and explain in your own words what and how hash functions are used in these different computing areas and describe
BUS 309 Operations Management Assignment : BUS 309 Operations Management Assignment Help and Solution, Emirates College of Technology - Assessment Writing Service Write a report for operation Management
ACC303 Accounting Information Systems Assignment : ACC303 Accounting Information Systems Assignment Help and Solution, Emirates College of Technology - Assessment Writing Service Describe the different component
Why was the united states unable to avoid entering cold war : Why was the United States unable to avoid entering a Cold War with the Soviet Union? In what ways were Truman's and Eisenhower's foreign policies similar?

Reviews

Write a Review

Mathematics Questions & Answers

  Equation of an ellipse, principal and interest

Equation of an Ellipse, Principal and Interest and Lotto Probabilities, Among the professionals you have interviewed for your article , were several state and federal government spokespersons who use linear equations in a variety of ways.

  Measure of the overall strength of the stock market

The Dow Jones Industrial Average is a measure of the overall strength of the stock market, usually abbreviated DJIA.

  How much is the finance charge

The cash price of a music system is $2,859 and the installment price is $3,115.35.

  State the triangle law

the sides in cm of a triangle are x-y, 2into square root of xy and x+y respectively.show that the triangle is a right angled triangle and state the triangle law.

  How many sides does the polygon have

The sum of the measures of the interior angles of a polygon with n sides is S = 180(n - 2).

  How much money the commission should have in the bank

LOTTERY PAYOUTS A state lottery commission pays the winner of the "Million Dollar" lottery 20 installments of $50,000/year.

  An embroidered placement costs 295 an embroidered table

an embroidered placement costs 2.95. an embroidered table cloth is similar to the placemat but four times as long

  Solve s is a ring homomorphism

Show that if @:R -> S is a ring homomorphism, then the ker(@) is an ideal of R and that @ is injective if.

  The initial price of a cup of coffee is 15 and at that

the initial price of a cup of coffee is 1.5 and at that price 200 cups are demanded. if the price falls to 0.90 the

  What is the cost of the least expensive tank

Building materials for the tank cost $10 per square foot for the base and $5 per square foot for the sides. What is the cost of the least expensive tank?

  Develop a new growth ring of an oak tree

How many vessels of radius 90 m would have to develop in a new growth ring of an oak tree to have an equal rate of total xylem ow as in the maple?

  How many cars are produced in the first year

A factory makes custom sports cars at an increasing rate. In the first month only one car is made, in the second month two cars are made, and so on.

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