Question

In: Math

3.5.12 Suppose there are two urns. Urn I contains 100 chips: 30 are labelled 1, 40...

3.5.12 Suppose there are two urns. Urn I contains 100 chips: 30 are labelled 1, 40 are labelled 2, and 30 are labelled 3. Urn 2 contains 100 chips: 20 are labelled 1, 50 are labelled 2, and 30 are labelled 3. A coin is tossed and if a head is observed, then a chip is randomly drawn from urn 1, otherwise a chip is randomly drawn from urn 2. The value Y on the chip is recorded. If an occurrence of a head on the coin is denoted by X = 1, a tail by X = 0, and X ∼ Bernoulli(3/4), then determine E(X | Y), E(Y | X), E(Y), and E(X)

Solutions

Expert Solution

P(H)=3/4=0.75

if head appears then X=1 and urn 1 is chosen

P(label 1 from urn 1)=0.30

P(label 2 from urn 1)=0.40

P(label 3 from urn )=0.30

and P(label 1 from urn 1 and head)=0.75*0.30=0.225

similarly.....we will do other calculations

-----------------------------

joint distribution table obtained is

X=0 X=1
Y=1 0.05 0.225 0.275
Y=2 0.125 0.3 0.425
Y=3 0.075 0.225 0.3
total 0.25 0.75 1
X 0 1 total
P(X=x) 0.25 0.75 1
E(x)=X*P(X) 0 0.75 0.75

E(X)=0.75

----------------------------------------

Y P(Y) E(Y)=Y*P(Y)
1 0.275 0.275
2 0.425 0.85
3 0.3 0.9
total 1 2.025

E(Y)=2.025

---------------------------------------

Y|X

X=0 X=1 P(Y|X=0) P(Y|X=1) Y*P(Y|X=0) Y*P(Y|X=1)
Y=1 0.05 0.225 0.2 0.3 0 0
Y=2 0.125 0.3 0.5 0.4 0.5 0.4
Y=3 0.075 0.225 0.3 0.3 0.6 0.6
total 0.25 0.75 1 1 1.1 1

so, E(Y | X)=ΣY*P(Y|X=0) +Σ Y*P(Y|X=1) = 1.1+1=2.1

---------------------------------------------------

X|Y

X=0 X=1
Y=1 0.05 0.225 0.275
Y=2 0.125 0.3 0.425
Y=3 0.075 0.225 0.3
P(X|Y=1) 0.1818182 0.818182 1
P(X|Y=2) 0.2941176 0.705882 1
P(X|Y=3) 0.25 0.75 1
X*P(X|Y=1) 0 0.818182 0.818182
X*P(X|Y=2) 0 0.705882 0.705882
X*P(X|Y=3) 0 0.75 1.524064

E(X | Y) = ΣX*P(X|Y=1)+ΣX*P(X|Y=2)+ΣX*P(X|Y=3) = 0.818181818+0.705882353+1.524064171 = 3.0481


Related Solutions

There are two urns, urn I and urn II. Urn I contains 2 white balls and...
There are two urns, urn I and urn II. Urn I contains 2 white balls and 4 red balls, and urn II contains 1 white ball and 1 red ball. A ball is randomly chosen from urn I and put into urn II, and a ball is then randomly selected from urn II. What is the probability that the ball selected from urn II is white?
1 An urn contains three green chips and four blue chips. Two chips are removed is...
1 An urn contains three green chips and four blue chips. Two chips are removed is succession. What is the probability both are blue if: a.) The chips are sampled with replacement?   b.) The chips are sampled without replacement? 2 An urn contains 5 orange and 4 red balls. Three balls are removed. Lex R be the random variable (R.V.) denoting the number of red balls in the sample of three balls. What is the probability two of the balls...
Suppose an urn contains 3 black chips, 2 red chips, and two green chips. We draw...
Suppose an urn contains 3 black chips, 2 red chips, and two green chips. We draw three chips at random without replacement. Let A be the event that all three chips are of different color. (a) What is the probability space Ω you are working with? (b) Compute P(A) by imagining that the chips are drawn one by one as an ordered sample. (c) Compute P(A) by imagining that the three chips are drawn all at once as an unordered...
I have three urns, U1, U2 and U3, such the first urn contains w1 identical white...
I have three urns, U1, U2 and U3, such the first urn contains w1 identical white balls and b1 identical black balls, the second urn contains w2 identical white balls and b2 identical black balls, and the third urn contains w3 identical white balls and b3 identical black balls. I first choose a ball uniformly at random from U1 (i.e., every ball is equally likely to be picked) and drop it into U2. Next, I pick a ball uniformly at...
An urn contains twenty chips, numbered 1 through 20. Two are drawn simultaneously. What is the...
An urn contains twenty chips, numbered 1 through 20. Two are drawn simultaneously. What is the probability that the numbers on the 2 chips will differ by more than 2? Could you please specifically tell me how the # of ways to select a difference of less than 2 is 37 (19+18)?
Please Explain! An urn contains seven chips labeled 1,2,...,7. Three of the chips are black, two...
Please Explain! An urn contains seven chips labeled 1,2,...,7. Three of the chips are black, two are red, and two are green. The chips are drawn randomly one at a time without replacement until the urn is empty. Answer both questions for i = 1,...,7. a. What is the probability that ith draw is chip 5? b. What is the probability that ith draw is black?
Suppose there are 1000 urns in a mathematician's warehouse. Each of these urns contains 20 marbles....
Suppose there are 1000 urns in a mathematician's warehouse. Each of these urns contains 20 marbles. 900 of the urns contain 15 green and 5 blue marbles, while 100 contain only blue marbles. Call these Type I and Type II urns, respectively. Suppose that we randomly select an urn and randomly draw a marble form it. A. What is the probability that we selected a Type I urn, given that the ball we draw is blue? Given that the ball...
We are given 3 urns as follows: Urn A contains 3 red and 5 white marbles,...
We are given 3 urns as follows: Urn A contains 3 red and 5 white marbles, Urn B contains 2 red and one white marble, Urn C contains 2 red and 3 white marbles. Construct the probability tree. Suppose that a urn is randomly selected and a marble is drawn from the selected urn. If the marble is red what is the probability that it came from urn A?
An urn contains 100 balls that have the numbers 1 to 100 painted on them (every...
An urn contains 100 balls that have the numbers 1 to 100 painted on them (every ball has a distinct number). You keep sampling balls uniformly at random (i.e., every ball is equally likely to be picked), one at a time, and without replacement. For 1 ? i < j ? 100, let E{i,j} denote the event that the ball with the number j was taken out of the urn before the ball with the number i. Prove that the...
An urn contains 100 balls that have the numbers 1 to 100 painted on them (every...
An urn contains 100 balls that have the numbers 1 to 100 painted on them (every ball has a distinct number). You keep sampling balls uniformly at random (i.e., every ball is equally likely to be picked), one at a time, and without replacement. For 1 ≤ i < j ≤ 100, let Ei,j denote the event that the ball with number j was picked after the ball with number i got picked. Identify which of the following sets of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT