2010100AHW2

2010100AHW2 - state 1. Each time, he stays where he is with...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT 100A HWII Note (1) Rule of total probability. Suppose B 1 , B 2 , ..., B n partition the sample space, then P ( A ) = n i =1 P ( A B i ) = n i =1 P ( B i ) P ( A | B i ). (2) Bayes rule. P ( B j | A ) = P ( B j A ) /P ( A ) = P ( B j ) P ( A | B j ) / n i =1 P ( B i ) P ( A | B i ). Please show all the necessary steps in your calculations. Please be precise with notation. Problem 1: Suppose an urn has b blue balls and r red balls. We randomly pick a ball. If the ball is red, we put two red balls back to the urn. If the ball is blue, we put two blue balls back to the urn. Then we randomly pick a ball again. (1) What is the probability that the first pick is red? (2) What is the probability that the second pick is red? (3) (Optional) If we continue, then what is the probability that the third pick is red? Problem 2: Suppose a person performs a random walk over three states, 1, 2, 3. He starts from
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: state 1. Each time, he stays where he is with probability 1/2, and he moves to each one of the other two states with probability 1/4. Let X t be the state of this person at time t , and X = 1. (1) What is the distribution of X 1 , i.e., what is the probability that X 1 = k for k = 1 , 2 , 3? (2) What is the distribution of X 2 ? (3) (Optional) What is the distribution of X 3 ? Problem 3: Suppose at any moment, the probability that there is re in a classroom is . If there is a re, the probability we hear the re alarm is . If there is not a re, the probability that there is re alarm is . Given that we hear the re alarm, what is the probability that there is re? 1...
View Full Document

This note was uploaded on 01/11/2011 for the course STAT 100A taught by Professor Wu during the Fall '10 term at UCLA.

Ask a homework question - tutors are online