Problem
Consider the Monty Hall problem, except that Monty enjoys opening Door 2 more than he enjoys opening Door 3, and if he has a choice between opening these two doors, he opens Door 2 with probability , where .
To recap: there are three doors, behind one of which there is a car (which you want), and behind the other two of which there are goats (which you don’t want). Initially, all possibilities are equally likely for where the car is. You choose a door, which for concreteness we assume is Door 1. Monty Hall then opens a door to reveal a goat, and offers you the option of switching. Assume that Monty Hall knows which door has the car, will always open a goat door and offer the option of switching, and as above assume that if Monty Hall has a choice between opening Door 2 and Door 3, he chooses Door 2 with probability (with ).
(a) Find the unconditional probability that the strategy of always switching succeeds (unconditional in the sense that we do not condition on which of Doors 2, 3 Monty opens).
(b) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 2.
(c) Find the probability that the strategy of always switching succeeds, given that Monty opens Door 3.
Sol
(a)
처음 선택을 1번 문을 한다고 가정한다.
자동차가 각각의 문 뒤에 있는 사건을 라고 하자.
따라서 에서는 처음 선택이 정답이고, 에서는 처음 선택이 오답이다.
항상 선택을 바꾸는 전략으로 성공하는 사건을 라고 하면,
이제 각 경우를 살펴보자.
처음에는 세 문에 자동차가 있을 확률이 각각 이므로,
따라서 바꾸는 전략의 성공 확률은 이다.
(b)
처음에 1번 문을 골랐고 몬티가 2번 문을 열었을 때 바꾸어 성공한다는 것은, 자동차가 3번 문 뒤에 있는 경우이다.
몬티가 번 째 문을 여는 것을 로 가정하면, 우리가 구하고자 하는 조건부 확률은 이다.
는 law of total probability 에 의해 다음과 같다.
자동차가 있을 확률은 대칭, 즉 동등하기에 이다.
은 자동차가 1번 문에 있으면, 몬티는 2번, 3번 문을 둘 다 열 수 있다. 몬티는 2번 문을 확률 로 열기 때문에 이다.
는 자동차가 2번 문에 있으면, 몬티는 3번 문 밖에 열지 못한다. 따라서 이다.
는 자동차가 3번 문에 있으면, 몬티는 무조건 2번 문 밖에 열지 못한다. 따라서 이다.
최종적으로 다음과 같다.
(c)
처음에 1번 문을 골랐고 몬티가 3번 문을 열었을 때 바꾸어 성공한다는 것은, 자동차가 2번 문 뒤에 있는 경우이다.
2번 문제와 구조가 완전히 동일하지만, 몬티가 3번 문을 고를 확률이 이다.
Problem
For each statement below, either show that it is true or give a counterexample. Throughout, are discrete random variables.
(a) If and are independent and and are independent, then and are independent.
(b) If and are independent, then they are conditionally independent given .
(c) If and are conditionally independent given , then they are independent.
(d) If and have the same distribution given , i.e., for all and , we have , then and have the same distribution.
Sol
(a)
거짓이다. 일 경우가 반례가 된다.
(b)
거짓이다.
공정한 동전 두 개를 독립적으로 던져서 나온 결과를 각각 와 라고 하자.
이고 둘은 독립이다.
여기서 두 변수의 합을 나타내는 변수 를 정의하자.
와 자체는 독립이지만, 의 값을 알고 나면 둘은 더 이상 독립이 아니다.
예를 들어 이라는 것을 알고 있다면 일 때 는 반드시 이어야 한다.
즉, 라는 조건이 주어지면 와 사이에 종속성이 생긴다.
(c)
거짓이다.
동전의 앞면이 나올 확률을 결정하는 변수 가 있다고 하자.
의 값을 알고 있으면 동전 두 번의 결과 는 서로 독립이다.
하지만 를 모르면 의 결과를 통해 에 대한 정보를 얻을 수 있고, 이는 의 결과에도 영향을 준다.
(d)
참이다.
이라면, law of toal probability에 의해 로 를 구할 수 있다.
또한 이며, 이 때 이므로 이다.
Problem
(a) Is it possible to have events , , such that and , yet ? That is, is less likely under given that is true, and also given that is false, yet is more likely than if given no information about . Show this is impossible (with a short proof) or find a counterexample (with a "story" interpreting , , ).
(b) Is it possible to have events , , such that and , yet ? That is, given that is true, learning is evidence against , and similarly given that is false; but given no information about , learning that is true is evidence in favor of . Show this is impossible (with a short proof) or find a counterexample (with a "story" interpreting , , ).
Sol
(a)
Law of total property에 따라 를 다음과 같이 표현할 수 있다.
이고 이므로 무조건 이다.
그러므로 불가능하다.
(b)
Law of total property에 따라 를 다음과 같이 표현할 수 있다.
이고 이지만, 와 이면 이 가능하다.
즉 Simpson's Paradox이다. 가중치가 극단적이면 세부 집단의 결과와 전체 결과가 반대로 나타날 수 있다.
Problem
Consider the following conversation from an episode of The Simpsons:
Lisa: Dad, I think he’s an ivory dealer! His boots are ivory, his hat is ivory, and I’m pretty sure that check is ivory.
Homer: Lisa, a guy who’s got lots of ivory is less likely to hurt Stampy than a guy whose ivory supplies are low.
Here Homer and Lisa are debating the question of whether or not the man (named Blackheart) is likely to hurt Stampy the Elephant if they sell Stampy to him. They clearly disagree about how to use their observations about Blackheart to learn about the probability (conditional on the evidence) that Blackheart will hurt Stampy.
(a) Define clear notation for the various events of interest here.
(b) Express Lisa’s and Homer’s arguments (Lisa’s is partly implicit) as conditional probability statements in terms of your notation from (a).
(c) Assume it is true that someone who has a lot of a commodity will have less desire to acquire more of the commodity. Explain what is wrong with Homer’s reasoning that the evidence about Blackheart makes it less likely that he will harm Stampy
Sol
(a)
를 스탬피를 해칠 사건, 을 많은 양의 상아를 가지고 있는 사건, 를 상아 상인인 사건이라고 가정하겠다.
(b)
리사의 주장은 로 표현할 수 있다. 또한 암묵적으로 임을 주장하고 있다. 호머의 주장은 이다.
(c)
문제에서 어떤 것을 많이 가지고 있다면, 그것에 대한 욕심이 줄어든다라고 가정했다.
따라서 상아 상인들만 놓고 봐도 성립하고, 상아 상인이 아닌 사람들만 놓고 봐도 가 성립한다.
하지만 가 반듯이 성립하지는 않는다. 일 수도 있기 때문이다.
각 집단을 따로 분석하면 “상아가 많을수록 해칠 가능성이 낮다”인데, 집단을 합쳐서 보면 오히려 “상아가 많을수록 해칠 가능성이 높다”처럼 나타날 수 있다.
생략
Problem
(a) In the World Series of baseball, two teams (call them A and B) play a sequence of games against each other, and the first team to win four games wins the series. Let be the probability that A wins an individual game, and assume that the games are independent. What is the probability that team A wins the series?
(b) Give a clear intuitive explanation of whether the answer to (a) depends on whether the teams always play 7 games (and whoever wins the majority wins the series), or the teams stop playing more games as soon as one team has won 4 games (as is actually the case in practice: once the match is decided, the two teams do not keep playing more games).
Sol
(a)
A가 4승을 하려면, 최소 4경기에서 최대 7경기까지 진행된다. 따라서 4가지 경우에 대해 고려해야한다.
여기서 인 이유는 마지막에는 무조건 A가 승리해야기 때문이다.
(b)
(a)는 시리즈가 4승을 먼저 달성한 순간 종료되는 조기 종료 규칙을 가정한 경우이다. 반면, 결과와 상관없이 반드시 7경기를 모두 치른다고 가정하면 A가 최종적으로 4승 이상을 거둘 확률은 로 나타낼 수 있다.
표본공간의 관점에서 생각해 보자. 실제 시리즈는 A 또는 B가 4승을 먼저 달성하면 종료되지만, 확률을 계산할 때는 모든 경우를 7경기까지 가상으로 확장하여 생각할 수 있다. 이때 각 결과는 7경기의 승패 조합으로 나타낼 수 있다.
이 표본공간에서 다음 두 사건을 생각하자.
A가 조기 종료 규칙에서 4승을 먼저 달성했다면, 그 이후의 경기 결과와 관계없이 이미 4승을 확보한 상태이다. 따라서 이다. 반대로 7경기에서 A가 4승 이상을 거두었다면, A가 네 번째 승리를 거둔 시점이 반드시 존재하므로 조기 종료 규칙에서도 A가 승리한다. 따라서 이다.
결국 이므로, 조기 종료되는 실제 경기 수를 직접 고려하지 않고 7경기의 결과를 모두 생각해도 A의 승리 확률은 변하지 않는다.
Problem
A sequence of independent experiments is performed. Each experiment is a success with probability and a failure with probability . Show that conditional on the number of successes, all possibilities for the list of outcomes of the experiment are equally likely (of course, we only consider lists of outcomes where the number of successes is consistent with the information being conditioned on).
Sol
번의 독립적인 Bernoulli 시행을 한다고 가정하자.
번째 시행이 성공하면 1, 그렇지 않으면 0이 되는 지시 확률변수 이라고 하자.
라고 할 수 있고, 임의의 와 를 만족하는 임의의 에 대하여 다음과 같이 정의할 수 있다.
위 식에서 알 수 있듯이 에 의존하지 않는다. 번의 독립적인 베르누이 시행에서, 정확히 번의 성공이 있었다는 조건이 주어졌을 때, 개의 성공과 개의 실패로 이루어진 개의 가능한 모든 결과들은 동등한 확률을 갖는다는 것을 알 수 있다.
5번의 시행 중 2번이 성공하는 경우의 수는 이고, 각 결과는 동일한 확률 을 가진다.
Problem
Let and , independent of .
(a) Show that , using a story proof.
(b) Show that is not Binomial.
(c) Find . How does this relate to the elk problem from HW 1?
Sol
(a)
를 서로 독립인 번의 베르누이 시행에서 성공한 횟수라고 하고, 를 추가로 시행한 서로 독립인 번의 베르누이 시행에서 성공한 횟수라고 하자. 각 시행에서 성공할 확률은 이다.
그러면 는 총 번의 시행에서 성공한 횟수이므로 다음과 같다.
(b)
이항분포는 절대 음수값을 가질 수 없다. n번 중 k번 성공할 확률을 구하는 분포이기에 k는 0이상이여야 한다. 그러나 는 음수가 나올 수 있다. 따라서 는 이항분포가 아니다.
(c)
조건부 확률에 따라 다음과 같이 쓸 수 있다.
와 는 독립이므로 다음과 같이 쓸 수 있다.
식에서 가 사라졌으며, 이는 초기하분포와 같다.