HW6-solutions1

# HW6-solutions1 - IE 300 GE 331 Spring 2009 Homework#6...

This preview shows pages 1–3. Sign up to view the full content.

IE 300 / GE 331 Spring 2009 Homework #6 Solutions Question 1 (a) First we calculate the values of c 1 and c 2 . We have c 1 = 1 R 60 5 e - 0 . 04 x dx 0 . 0549 c 2 = 1 R 60 5 e - 0 . 16 x dx 0 . 3561 Next we derive the posterior probability of each hypothesis, p Θ | T (1 | 20) = 0 . 3 f T | Θ ( x | Θ = 1) 0 . 3 f T | Θ ( x | Θ = 1) + 0 . 7 f T | Θ ( x | Θ = 2) = 0 . 3 · 0 . 0549 e - 0 . 04 · 20 0 . 3 · 0 . 0549 e - 0 . 04 · 20 + 0 . 7 · 0 . 3561 e - 0 . 16 · 20 = 0 . 4214 and p Θ | T (2 | 20) = 0 . 7 f T | Θ ( x | Θ = 2) 0 . 3 f T | Θ ( x | Θ = 1) + 0 . 7 f T | Θ ( x | Θ = 2) = 0 . 3 · 0 . 3561 e - 0 . 16 · 20 0 . 3 · 0 . 0549 e - 0 . 04 · 20 + 0 . 7 · 0 . 3561 e - 0 . 16 · 20 = 0 . 5786 Therefore she would accept the hypothesis that the problem is not difficult, and the probability of error is p e = p Θ | T (1 | 20) = 0 . 4214 . 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
(b) We write the posterior probability of each hypothesis, p Θ | T 1 ,T 2 ,T 3 ,T 4 ,T 5 (1 | 20 , 10 , 25 , 15 , 35) = 0 . 3 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 1) 0 . 3 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 1) + 0 . 7 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 2) = 0 . 3 · 0 . 0549 5 e - 0 . 04 · (20+10+25+15+35) 0 . 3 · 0 . 0549 5 e - 0 . 04 · (20+10+25+15+35) + 0 . 7 · 0 . 3561 5 e - 0 . 16 · (20+10+25+15+35) = 0 . 9171 , and similarly p Θ | T 1 ,T 2 ,T 3 ,T 4 ,T 5 (2 | 20 , 10 , 25 , 15 , 35) = 0 . 3 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 2) 0 . 3 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 1) + 0 . 7 f T 1 ,T 2 ,T 3 ,T 4 ,T 5 | Θ (20 , 10 , 25 , 15 , 35 | Θ = 2) = 0 . 0829 . So this time the professor would accept the hypothesis that the problem is difficult. The probability of error is 0 . 0829 , much lower than the case of a single observation.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern