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

  Linear regression equation

Use the calculator to generate a linear regression equation for this graph & a correlation coefficient r. What does the linear regression equation tell you?

  Determine if there is problem with parts at company a

Over the past 20 days (20 shipments), four have been rejected & returned back to company A. Determine if there is a problem with the parts at company A.

  Lt x and y be independent geometric distributions u

let x and y be independent geometric distributions. u minxy v x - y a show that u and v are independent b find the

  Draw histogram for data using initial class boundary

Draw the histogram for these data using an initial class boundary of 29.5 and a class width of 6. Note that you can add or remove classes from the figure

  Effectiveness of three methods of teaching

Compare the effectiveness of three methods of teaching (IV). You plan to administer a standardized test (DV measured on an interval scale measuring knowledge acquisition) to the students in three classes with each class using a different teaching ..

  How the relationship between two variables x and y exists

A correlation between variables, however, does not automatically mean that the change in one variable is the cause of the change in the values of the other variable. Correlation as a statistic cannot explain why or how the relationship between two..

  Find probability that the sample mean will exceed a value

If a simple random sample of 50 players was taken, what is the probability that the sample mean will exceed $210,000?

  The export-import bank of the united states

a What is the role today of the Export-Import Bank of the United States? b. Describe the Direct Loan Program administered by the Export- Import Bank.

  Find the probability that among cars tested

The probabilities are 0.40, 0.50, and 0.10 that, in city driving, a certain kind of compact car will average less than 28 miles per gallon, from 28 to 32 miles per gallon, or more than 32 miles per gallon.

  Median of the number of widgets

The number of widgets produced by 9 employees in an eight hour shift is recorded as: 135, 120, 116, 119, 121, 125, 135, 131, 123. What is the median of the number of widgets produced presented above?

  Give onfidence interval for variance of service time at bank

A random sample of 22 service times (in minutes) gives s-square = 8. Give a 95% confidence interval for the variance of service time at the bank.

  Determining mean swipe rate

Find out the following: Mean swipe rate, Standard deviation of the swipe rate.

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