代写代考 COMP2610/6261

Section A.
Answer each of the following questions [ Marks per questions as shown; 25% total ]
[5 points]
In what follows, suppose that X, Y, Z are random variables with possible outcomes {0, 1}. For each of the following statements, write whether they are True (T) or False (F). In each case, briefly justify your reasoning. (Answers that omit reasoning will not be awarded points.)

Copyright By PowCoder代写 加微信 powcoder

i. It is always true that
ii. It is always true that
p(X =0|Y =1)+p(X =1|Y =1)=1. p(X =1|Y =1)+p(X =1|Y =0)=1.
p(X =1,Y =1,Z =1)=p(X =1)p(Y =1)p(Z =1) then X, Y, Z must be statistically independent.
iv. Assuming none of the probabilities involved are zero, it is always true that p(X =0,Y =0) = p(Y =0|X =0).
p(X=0,Y =1) p(Y =1|X=0)
v. Assuming none of the probabilities involved are zero, it is always true that
p(X=0,Y =0)+p(X=1,Y =0)= p(X=0,Y =0). p(X=0|Y =0)
[14 points]
Steve, a cricket captain, has been very successful: his team has won 90% of the games that Steve has played. Steve is also superstitious: he believes that when he keeps a red handkerchief with him, his team has a much better chance of winning. This is because of all the games where Steve played with the red handkerchief, his team won 95% of games; on the other hand, of all the games where Steve played without the red handkerchief, his team won 85% of games.
i. What fraction of games must Steve have played with the red handkerchief?
ii. What is the probability of Steve playing with the red handkerchief given that his team
wins? (You may leave your answer as a fraction, but simplify this as much as possible.)
iii. Andy, an internet commentator, thinks Steve’s faith in the handkerchief is misguided. He claims: “We must keep in mind that of all the games where Steve has played with his red handkerchief, 90% of them have been against India. And the probability of him winning given that he plays with the red handkerchief and against India is twice that of him winning given that he plays with the red handkerchief and does not play against India! So, I think it is his playing against India that is the cause of his success.”
What is the probability of Steve winning given he has the handkerchief and does not play against India?
Page 2 of 7 – INFORMATION THEORY – COMP2610/6261

[6 points]
Jorge has been given a gold coin for his birthday. However, he notices it has a slight defect; as a result, he suspects that it will land “heads” more often than “tails”. In order to test this, he flips it ten times. The outcomes he observes are
D = {h,h,h,t,h,t,t,h,h,t},
where h denotes the coin landing “heads”, and t denotes the coin landing “tails”.
i. Let θh denote the unknown bias of the coin. Given the observations D above, what is the maximum likelihood estimate for θh?
ii. Suppose Jorge were to conduct ten thousand flips of his gold coin, and compute the maximum likelihood estimate for θh. By referencing an appropriate theorem, explain why he can be confident in his estimate being close to the true bias of the coin.
iii. Zoe, Jorge’s impatient friend, takes the coin from him one day and performs two flips. She observes:
D′ ={t,t}.
Based on this, she concludes the coin will always land “tails”. Jorge is skeptical of Zoe’s conclusion, but she adamantly says: “It has to be completely biased in favour of tails – it’s the only possibility that agrees perfectly with the observations!”
Suppose Jorge is able to express his prior belief that the coin is more likely to land “heads” via some distribution p(θ). Explain in one or two sentences how Jorge could use this to construct a different estimate for θh, and reach a different conclusion to Zoe.
Page 3 of 7 – INFORMATION THEORY – COMP2610/6261

Section B.
Answer each of the following questions [ Marks per questions as shown; 25% total ]
[12 points]
Ray and Naks are playing a chess game. At a crucial moment, Ray has four possible moves he can play, labelled X = {a,b,c,d}. Let X denote a random variable representing Ray’s move, with possible outcomes X. The probability of Ray playing each of the moves are
p(X =a)= 1 p(X =c)= 1 2 12
p(X =b)= 1 p(X =d)= 1 3 12
Depending on the move Ray plays, Naks will have a certain probability of winning the game. Let Y denote a random variable representing the winner of the game, with possible outcomes {Ray, Naks}. The probabilities of Naks winning given each of Ray’s moves are
p(Y =Naks|X =a)= 16 p(Y =Naks|X =c)= 12 p(Y =Naks|X =b)= 14 p(Y =Naks|X =d)= 12
i. Compute H(X). (You may use the approximation log2(3) ≈ 1.58.)
ii. Compute H(Y ). (You may use the approximation log2(3) ≈ 1.58.)
iii. Give an example of outcomes x, x′ ∈ X such that
H(Y |X =x)CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com