Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Quality control. Suppose that 10 products were inspected for the purpose of quality control and none of them were rejected. Answer the following. 1.

image text in transcribed
1. Quality control. Suppose that 10 products were inspected for the purpose of quality control and none of them were rejected. Answer the following. 1. Find the posterior mean of the probability of rejecting a product (0). Assume a U (0, 1) prior distribution for 0. 2. Find an explicit expression for the (1 - 4) equitailed credible interval for e. 3. Find an explicit expression for the (1 - 4) HPD credible interval for e. 2. Waiting time. The waiting time for a bus at a given corner at a certain time of day is known to have a U (0, 0) distribution . It is desired to test H, : 0 0 15. From other similar routes, it is known that e has a Pareto(5, 3) distribution . If waiting times of 10,3, 2, 5, and 14 are observed at the given corner , calculate the posterior odds ratio and the Bayes factor. Which hypothesis would you favor? Note: the density of a Pareto distribution with parameters (5, y) is given by P(5; 5, 7)= TYIT (t,00 ) ( I ). 3. Casting defects . The number of defects in an iron casting can be assumed to follow a Poisson distribution with mean 0. A quality engineer inspected nine castings and observed the following number of defects in them: 0, 2, 2, 3,3, 1, 2, 1, 1. Assume that & has a prior distribution Gamma (2, b), where the hyperparameter b is assumed to have a distribution Exp(1). Use Gibbs sampling to sample from the posterior distribution of @ (generate 100,000 samples and use 1,000 samples as burn -in ) and answer the following : 1. Plot the posterior density of e. 2. Find the posterior mean of e. 3. Find 95% equitailed credible interval of e. Note: the density of a Gamma (a, b) is given by be/P(a)re-le- and the density of Exp(A) is given by de -be

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Abstract Algebra

Authors: John A Beachy, William D Blair

3rd Edition

1478615915, 9781478615910

More Books

Students also viewed these Mathematics questions