Set up a metropolis hastings algorithm

Assignment Help Basic Statistics
Reference no: EM131355413

In 1986, the space shuttle Challenger exploded during takeoff, killing the seven astronauts aboard. The explosion was the result of an O-ring failure, a splitting of a ring of rubber that seals the parts of the ship together. The accident was believed to have been caused by the unusually cold weather (31 o F or 0 o C) at the time of launch, as there is reason to believe that the O-ring failure probabilities increase as temperature decreases. Data on previous space shuttle launches and O-ring failures is given in the dataset challenger provided with the mcsm package. The first column corresponds to the failure indicators yi and the second column to the corresponding temperature xi (1 ≤ i ≤ 24).

1. Fit this dataset with a logistic regression, where

P(Yi=1|xi) = p(xi) = exp(α+βxi)/1+exp(α+βxi),

using R glm function, as illustrated. Deduce the MLEs for α and β, along with standard errors.

2. Set up a Metropolis-Hastings algorithm with the likelihood as target using an exponential candidate for α and a Laplace (double-exponential) candidate for β.

3. Generate 5000 iterations of the Markov chain and construct a picture similar to Figure to evaluate the variability of p(x) minus the observation dots.

4. Derive from this sample an estimate of the probability of failure at 60o, 50o, and 40o F along with a standard error.

448_Figure 3.jpg

Reference no: EM131355413

Questions Cloud

Do you agree with explanation of addiction why or why not : Summarize the Long Definition of Addiction in your own words. Does this definition make sense? Do you agree with this explanation of addiction? Why or why not?
Calculate the force that must be applied : The screw has a mean diameter of 3 in. and a pitch of 0.25 in. The coefficient of static friction is 0.15. Calculate the force that must be applied at the end of the press handle.
Determining the technology winners : Investigate the "Standards Development" process for IT type products and interfaces. Identify at least two ways that standards are agreed to.
What is the return on equity and share price : Share price is $40.00, expected dividend is $4.50 one year from now, growing thereafter at a rate of 3% per year in perpetuity. What is the return on equity? Expected dividend is $7.50 one year from now, dividend yield is 8%, return on equity is 14%...
Set up a metropolis hastings algorithm : Set up a Metropolis-Hastings algorithm with the likelihood as target using an exponential candidate for α and a Laplace (double-exponential) candidate for β.
Prepare a segmented income statement for countywide cable : Calculate Golden Gate Construction Associates' weighted-average cost of capital - Calculate the economic value added (EVA) for each of Golden Gate Construction Associates divisions. Prepare a segmented income statement for Countywide Cable Services,..
Distributed systems development : One of the first tasks in distributed systems development is the selection of the architecture. The architecture determines how the various parts of the distributed system will operate and communicate.
How information systems influence business to be competitive : B6111.12- Explain how information systems influence businesses to be more competitive, efficient, and profitable. Provide at least one example for each factor.
Which one of the following temperatures is equal to 5°c : In a gasoline engine, the area in the cylinder head where the air-and-fuel mixture is burned is called the. If the absolute pressure of a gas is 550.280 kPa, its gage pressure is. The main difference between the internal combustion engine and the die..

Reviews

Write a Review

Basic Statistics Questions & Answers

  Probability that fifteen will live beyond ninety birthday

In a graduating class of 753 high school seniors, what is the probability that 15 or more will live beyond their 90th birthday?

  Developing a linear regression model using the given data

Develop a linear regression model for these data and forecast carpet sales if 30 construction permits for new homes are filed.

  On this scale a score of 105 would be average below are the

a group of 14 friends got together for a wine contest. each guest brought his or her favorite bottle of pinot noir.

  What percentage of bolts will have a diameter

How many 60-year old females on average will be living at age 61 and how many 70-year old males on average will be living at age 71?

  Problem regarding the professional tennis

Serena Williams made a successful first serve 67% of the time in a Wimbledon finals match against her sister Venus. If she continues to serve at the same rate the next time they play and serves 6 times in the first game, determine the following pr..

  Find the probability of 265 heads or more.

A multiple choice test consists of 60 questions. Each question has 4 possible answers of which one is correct. If all answers are random guesses, estimate the probability of getting at least 20% correct.

  Find the least squares estimates of regression coefficients

The determination of the shear strength of spot welds is relatively difficult, whereas measuring the weld diameter of spot welds is relatively simple. Draw a scatter diagram. Find the least squares estimates of the regression coefficients

  Real-life examples of quadratic equations

Give examples of how quadratic equations can be used to solve everyday problems.

  Describe a possible sampling procedure

Describe how you might sample books using a probability sampling technique. Now speculate on the ways that the outcomes of your research might diff er using the two techniques.

  What percentage of subway riders must re-swipe the card

passengers using new yorks metrocard system must swipe the card at a rate between 15 and 31 inches per second or else

  Can you conclude that engineers follow an accident profile

Can you conclude that engineers follow an accident profile that is different from the rest of the drivers in the region?

  Probability of diameter

Sun Love grapefruit growers have determined that the diameters of their grapefruits are normally distributed with a mean of 4.5 inches and a standard deviation of 0.3 inches.

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