








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Problem 1_._ (a) (8 points total, 2 points each. You must provide brief explanations to justify your answers to get credit on all parts.) (i) In words, explain what it means for a distribution to be memoryless. (ii) True/False Let G 1 and G 2 be independent Erd¨os-Renyi random graphs on n ver- tices with probabilities p 1 and p 2 , respectively. Let G = G 1 ∪ G 2 , that is, G is generated by combining the edges from G 1 and G 2. Then, G is an Erd¨os-Renyi random graph on n vertices with probability p 1 + p 2.
2 (iii) True/False Consider independent events A and B. Then for any event C , P ( A, B | C ) = P ( A | C ) P ( B | C ) (iv) True/False Suppose that you are involved in a first price auction with one other bidder and that both you and the other draw valuations uniformly on the interval (0 , 1). If your valuation is x and the other bidder bids her valuation, then your optimal bid is x^.
(c) (8 points) Consider independent random variables X and Y , each of which is uniform on the interval (0 , 1). (i.) (4 points) Are X + Y and X − Y uncorrelated? (ii.) (4 points) Are X + Y and X − Y independent?
2 (d) (9 points) Consider a graph with n vertices. For each pair of nodes in the graph, draw an edge between them with probability 1 , independently of all other edges. Suppose that X is the number of isolated nodes in this graph. Find Var( X ) (give an exact answer).
Problem 2_._ (15 points) You are playing a card game with your friend: you take turns picking a card from a deck (you may assume that you never run out of cards, i.e. that the deck is infinite). If you draw one of the special “bullet” cards, then you lose the game. Unfortunately, you do not know the contents of the deck. Your friend claims that 1 / 3 of the deck is filled with “bullet” cards. You don’t trust your friend fully, however: he is lying with probability 1 / 4. You assume that if your friend is lying, then the opposite is true: 2 / 3 of the deck is filled with “bullet” cards. (a.) (7 points) Suppose that you draw first. Let p denote the probability that you draw a bullet card. Find p. (b.) (8 points) You win if your opponent draws the bullet card. Supposing that p is the true fraction of cards which are bullet cards, compute the probability of winning if you draw first.
Problem 3_._ (25 points, 5 points each) The Donald is holding a press conference in which he an- swers n questions. With probability p , he answers with an alternative fact and with probability 1 − p , he asks if he can phone a friend. Let K be the random variable denoting the number of questions he answers with alternative facts. (a.) What is the expected number of questions asked before The Donald answers with an alternative fact? (You may assume n → ∞ for this part) (b.) Suppose that K = m , find the probability that the first m questions were answered with alternative facts.
Suppose that The Donald holds m press conferences, each of which has n questions, and answers exactly 1 question with an alternative fact in each press conference. Let Yi be the question The Donald answers with an alternative fact during the i th press conference. Consider the array [ Y 1 , Y 2 ,... Ym ] and move all of the Yi with value 1 to the back of the array. For example, the array [6 , 4 , 1 , 1 , 5 , 3 , 1 , 5 , 2 , 3] becomes [6 , 4 , 5 , 3 , 5 , 2 , 3 , 1 , 1 , 1] Suppose Yj has value X. (d.) Find E [ X ]. (e.) Find Var( X ).
Problem 4_._ (25 points, 5 points each) You would like to compute a job and have four machines at your disposal. Three of the machines complete the job according to an exponential distribution with rate λs = 1 and one machine completes the job according to an exponential distribution with rate λf = 2 , but you do not know which machine has what rate. (Note: an exponential distribution with rate λ has PDF fX ( x ) = λe − λx^ for x ≥ 0 ) (a.) Suppose you run your job on two machines, one of which happens to be the fast machine. What is the probability, pa that the fast machine finishes first? (b.) Suppose you are in the same setting as part (a); i.e. you send your job to two machines, one of which is fast. Let the service time of the fast server be Tf and that of the slow server be Ts. You observe that the first of the two servers finishes at time Z = 1. What is the expected total amount of time for the second server to finish? (you may leave your answer in terms of pa and Z )
(e.) The administrator would like you to run the job on only one machine, but allows you to first send four test jobs to all four machines. On all four test jobs, machine 1 finishes first. You send your job to machine 1 and observe that your job has taken T seconds and is not complete. What is the expected amount of time left until your job is finished