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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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