STAT_333_Test_1_Solutions

STAT_333_Test_1_Solutions - STAT 333 Winter 2010 Test 1...

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

View Full Document Right Arrow Icon
STAT 333 Winter 2010 Test 1 SOLUTIONS Thurs, Feb 11 4:00 – 5:30 pm First (given) name:__________________ Last (family) name:____________________ Student ID #:__________________ UW userid:____________________ Instructions: 1. Please fill in the above information 2. This test has 6 pages, including this cover page 3. Answer all questions in the space provided 4. You have 90 minutes for the test 5. Show all your work and justify your steps 6. Good luck! Question Marks available Marks obtained 1 9 2 12 3 10 4 5 5 12 6 12 Total 60
Background image of page 1

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

View Full DocumentRight Arrow Icon
1. Harry Potter is trapped in the Department of Mysteries. Three doors lead out from the centre room, one returning back to the centre after 1 minute, one returning back to the centre after 5 minutes, and one leading to his goal (the Hall of Prophecies) after 8 minutes. Unfortunately, every time he enters the centre room, the doors randomly spin around so he cannot remember which doors have been tried already, so he chooses randomly. [3] a) Let X = the number of minutes to reach his goal. Find E[X]. Let D be the door Harry chooses. E[X|D = 1] = E[1 + X] = 1 + E[X] since once he gets back, the time has the same dist as X E[X|D = 2] = E[5 + X] = 5 + E[X] similarly E[X|D = 3] = 8 So E[X] = E[E[X|D] = E[X|D = 1]P(D = 1) + E[X|D = 2]P(D = 2) + E[X|D = 3]P(D = 3) = (1 + E[X]) (1/3) + (5 + E[X]) (1/3) + 8 (1/3) = 14/3 + (2/3)E[X] So E[X] = 14 minutes [4] b) Find Var(X). E[X 2 |D = 1] = E[(1 + X 1 ) 2 ] = 1 + E[X] + E[X 2 ] E[X 2 |D = 2] = E[(5 + X 1 ) 2 ] = 25 + 10E[X] + E[X 2 ] E[X 2 |D = 3] = 8 2 = 64 So E[X 2 ] = E[E[X 2 |D] = E[X 2 |D = 1]P(D = 1) + E[X 2 |D = 2]P(D = 2) + E[X 2 |D = 3]P(D = 3) = (1 + 2E[X] + E[X 2 ])(1/3) + (25 + 10E[X] + E[X 2 ])(1/3) + 64(1/3) = 258/3 + (2/3)E[X 2 ] since E[X] = 14 So E[X 2 ] = 258 And Var(X) = E[X 2 ] – E[X] 2 = 258 – 14 2 = 62 [2] c) Harry’s friend Hermione figures out a way to label the doors so they will not try the same door twice. Describe how you would find E[X] and Var(X) in this case. (No calculations are necessary.) There are a number of ways to do this. The easiest way would be to list out all possible paths Harry could take. There are only 5 cases if he can never choose the same door twice: 1, 2, 3
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/21/2010 for the course STAT 4670 taught by Professor Skrzydlo,dianakatherine during the Spring '10 term at Waterloo.

Page1 / 6

STAT_333_Test_1_Solutions - STAT 333 Winter 2010 Test 1...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online