EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

Similar documents
EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

Midterm Exam 1 (Solutions)

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 23, 2014.

Midterm Exam 2 (Solutions)

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran November 13, 2014.

Midterm Exam 1 Solution

(Practice Version) Midterm Exam 2

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2015 Abhay Parekh February 17, 2015.

Statistics 253/317 Introduction to Probability Models. Winter Midterm Exam Friday, Feb 8, 2013

1. Let X be a random variable with probability density function. 1 x < f(x) = 0 otherwise

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science

University of Connecticut Department of Mathematics

STAT FINAL EXAM

Math 365 Final Exam Review Sheet. The final exam is Wednesday March 18 from 10am - 12 noon in MNB 110.

STAT/MA 416 Midterm Exam 3 Monday, November 19, Circle the section you are enrolled in:

SOLUTIONS IEOR 3106: Second Midterm Exam, Chapters 5-6, November 8, 2012

UC Berkeley, CS 174: Combinatorics and Discrete Probability (Fall 2008) Midterm 1. October 7, 2008

MAT 271E Probability and Statistics

1 Basic continuous random variable problems

ECEn 370 Introduction to Probability

Midterm 2. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

This exam contains 13 pages (including this cover page) and 10 questions. A Formulae sheet is provided with the exam.

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

Multiple Choice Answers. MA 110 Precalculus Spring 2016 Exam 1 9 February Question

1 Basic continuous random variable problems

Business Statistics Midterm Exam Fall 2015 Russell. Please sign here to acknowledge

UC Berkeley Department of Electrical Engineering and Computer Sciences. EECS 126: Probability and Random Processes

CS 70 Discrete Mathematics and Probability Theory Summer 2016 Dinh, Psomas, and Ye Final Exam

MA162 EXAM III SPRING 2017 APRIL 11, 2017 TEST NUMBER 01 INSTRUCTIONS:

Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1

Raquel Prado. Name: Department of Applied Mathematics and Statistics AMS-131. Spring 2010

Exam 3. Math Spring 2015 April 8, 2015 Name: } {{ } (from xkcd) Read all of the following information before starting the exam:

18.05 Exam 1. Table of normal probabilities: The last page of the exam contains a table of standard normal cdf values.

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017

MATH 360. Probablity Final Examination December 21, 2011 (2:00 pm - 5:00 pm)

Discrete Mathematics and Probability Theory Fall 2017 Ramchandran and Rao Midterm 2 Solutions

STAT 516 Midterm Exam 3 Friday, April 18, 2008

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:

Math 180A. Lecture 16 Friday May 7 th. Expectation. Recall the three main probability density functions so far (1) Uniform (2) Exponential.

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER AND RECITATION INSTRUCTOR:

EECS 70 Discrete Mathematics and Probability Theory Fall 2015 Walrand/Rao Final

Math 407: Probability Theory 5/10/ Final exam (11am - 1pm)

MATH 180A - INTRODUCTION TO PROBABILITY PRACTICE MIDTERM #2 FALL 2018

Spring 2018 Exam 2 MARK BOX HAND IN PART NAME: PIN: INSTRUCTIONS

University of Illinois ECE 313: Final Exam Fall 2014

2. Suppose (X, Y ) is a pair of random variables uniformly distributed over the triangle with vertices (0, 0), (2, 0), (2, 1).

Math 493 Final Exam December 01

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER AND RECITATION INSTRUCTOR:

INSTRUCTIONS USEFUL FORMULAS

HW1 (due 10/6/05): (from textbook) 1.2.3, 1.2.9, , , (extra credit) A fashionable country club has 100 members, 30 of whom are

Machine Learning, Fall 2009: Midterm

MATH UN Midterm 2 November 10, 2016 (75 minutes)

Midterm II. Introduction to Artificial Intelligence. CS 188 Spring ˆ You have approximately 1 hour and 50 minutes.

Math 218 Supplemental Instruction Spring 2008 Final Review Part A

Course 1 Solutions November 2001 Exams

December 2010 Mathematics 302 Name Page 2 of 11 pages

Solutions to Homework Set #3 (Prepared by Yu Xiang) Let the random variable Y be the time to get the n-th packet. Find the pdf of Y.

CS 70 Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Final

Closed book and notes. 60 minutes. Cover page and four pages of exam. No calculators.

Math 1132 Practice Exam 1 Spring 2016

2. Variance and Covariance: We will now derive some classic properties of variance and covariance. Assume real-valued random variables X and Y.

Midterm, Form A 07MAR2000

December 2010 Mathematics 302 Name Page 2 of 11 pages

ECE 302: Probabilistic Methods in Engineering

IE 230 Probability & Statistics in Engineering I. Closed book and notes. 60 minutes.

Midterm Exam Information Theory Fall Midterm Exam. Time: 09:10 12:10 11/23, 2016

THE USE OF A CALCULATOR, CELL PHONE, OR ANY OTHER ELECTRONIC DEVICE IS NOT PERMITTED IN THIS EXAMINATION.

Midterm Study Guide and Practice Problems

STAT 418: Probability and Stochastic Processes

CSE 312 Foundations, II Final Exam

EECS 123 Digital Signal Processing University of California, Berkeley: Fall 2007 Gastpar November 7, Exam 2

Homework 4 Math 11, UCSD, Winter 2018 Due on Tuesday, 13th February

ISyE 3044 Fall 2017 Test #1a Solutions

University of Connecticut Department of Mathematics

Midterm. Introduction to Machine Learning. CS 189 Spring Please do not open the exam before you are instructed to do so.

Problem # Max points possible Actual score Total 100

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY (formerly the Examinations of the Institute of Statisticians) GRADUATE DIPLOMA, 2004

Notes on Continuous Random Variables

Midterm Exam Business Statistics Fall 2001 Russell

MATH 153 FIRST MIDTERM EXAM

University of Connecticut Department of Mathematics

EXAM # 3 PLEASE SHOW ALL WORK!

Math 106: Calculus I, Spring 2018: Midterm Exam II Monday, April Give your name, TA and section number:

AMC Preparation Berkeley Math Circle January 31, 2012

Question 1. Question 4. Question 2. Question 5. Question 3. Question 6.

STAT515, Review Worksheet for Midterm 2 Spring 2019

IEOR 3106: Second Midterm Exam, Chapters 5-6, November 7, 2013

Chapter 6 Continuous Probability Distributions

Discussion 03 Solutions

STAT 414: Introduction to Probability Theory

Name of the Student:

Exam III #1 Solutions

IEOR 4106: Spring Solutions to Homework Assignment 7: Due on Tuesday, March 22.

UCSD ECE 153 Handout #20 Prof. Young-Han Kim Thursday, April 24, Solutions to Homework Set #3 (Prepared by TA Fatemeh Arbabjolfaei)

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 2

ECEn 370 Introduction to Probability

Chapter 01: Probability Theory (Cont d)

Transcription:

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018 Midterm 1 Last Name First Name SID You have 10 minutes to read the exam and 90 minutes to complete this exam. The maximum you can score is 120, but 100 points is considered perfect. The exam is not open book, but you are allowed to consult the cheat sheet that we provide. No calculators or phones. No form of collaboration between the students is allowed. If you are caught cheating, you may fail the course and face disciplinary consequences. Show all work to get any partial credit. Take into account the points that may be earned for each problem when splitting your time between the problems. Problem points earned out of Problem 1 30 Problem 2 20 Problem 3 10 Problem 4 20 Problem 5 20 Problem 6 20 Total 100 (+20) 1

Problem 1: Answer these questions briefly but clearly. [30] (a) [6] Let X N(0, 1). Compute E[ X ]. (b) [6] Suppose that you are in a Second-Price Auction with n other bidders, and all other bidders draw their valuations uniformly and independently from the interval [0, 1]. If your valuation is v, and everyone including you bids their own valuation, what is your expected profit from the auction? (Remember that if you don t win the auction, you don t pay anything.) (c) [6] Recall the soliton distribution we used for encoding messages in the fountain codes lab. In this setting, n data chunks were encoded into n packets, which are XORs of d many randomly selected data chunks, where d is drawn from a degree distribution p( ). Assuming a perfect channel, where the probability of a packet being erased is 0, show that the probability that this scheme fails to decode the original message, P(failure) e 1 as n!1. The Taylor series e x =lim n!1 (1 + x n )n may come in handy. 8 >< 0, d apple 0 or d>n 1 p(d) = n >:, d =1, 1 apple d apple n 1 d(d 1) 2

(d) [6] Tom Brady just lost the Super Bowl, and he needs to validate that he is strong enough to keep playing football. He decides to throw a football as far as he can each day, and keep track of the farthest throw he has recorded so far; we will call this farthest throw his personal best. The distance that he throws the football is drawn from a continuous non-negative distribution and all throws are i.i.d. What is the expected number of times, E[T ], that his personal best changes over n throws? Assume that on day one, his personal best is distance 0 yards. (e) [6] We consider a bag with red and blue balls. The number of red balls is Poisson distributed with parameter r, and the number of blue balls is independently Poisson distributed with parameter b. Conditioned on there being n (greater than 1) balls in the bag, what is the distribution of the number of blue balls? (Leave your answer in terms of n, r, and b.) 3

Problem 2: Bounds [20] (a) [10] We have a random walk over the integers starting at zero. Each time we either move left or right with equal probability. Let S n be a random variable which is equal to the integer that we lie on at time n. So S 0 = 0 and S n = Y 1 + + Y n, where each Y i is either +1 or 1 with probability 1/2, independently. Show that P( S n t) apple 2e t2 2n, for any t 0. Hint: Recall that in homework 4 you showed that if X 1,...,X n are independent Bernoulli(q), then P( X 1 + + X n nq ) apple 2e 2 2 n, for any 0. (b) [10] We have seen that the Markov bound can be quite loose. However, this need not always be true. For a given positive integer k, describe a random variable X that assumes only non-negative values such that: P(X k E(X)) = 1/k. 4

Problem 3: Entropy [10] Recall the definitions of entropy and joint entropy for discrete random variables: H(X) = E[ log 2 p X (X)] = X p X (x) log 2 p X (x), x H(X, Y ) = E[ log 2 p X,Y (X, Y )] = X X p X,Y (x, y) log 2 p X,Y (x, y). x y (a) [5] Let U Uniform{1, 2,...,n}. Give a closed form expression for H(U). (b) [5] Assume that X, Y are independent. Express H(X, Y ) in terms of H(X) and H(Y ). 5

Problem 4: Transformations of Random Variables [20] Consider X, Y i.i.d. Uniform[0, 1]. Let Z =ln X Y. (a) [5] Show that ln Y is exponentially distributed with parameter 1. (b) [5] Find the moment generating function of Z, M Z. 6

(c) [5] Find var Z. (d) [5] Find the PDF of Z, f Z. 7

Problem 5: Valentine s Day [20] The joint density of (X, Y ) is uniform on the shaded region in Figure 1. Mathematically, the shaded region consists of two half-circles (each of radius one) centered at ( 1, 0) and (1, 0), along with a triangle in the lower half-plane. 1 2 0 2 2 Figure 1: Joint density of (X, Y ). (a) [7] Find the value of the joint density in the shaded region. (b) [8] Find the marginal density of Y. (c) [5] Find cov(x, Y ). (Don t handwave explain your answer carefully.) 8

Problem 6: Waiting in Line [20] You are first in line to be served by either of 2 servers, Alice and Bob, who are busy with their current customers. You will be served as soon as the first server finishes. The service times of Alice and Bob are independently and exponentially distributed with (positive) rates a and b respectively, i.e. Alice s distribution is Exponential(a), and Bob s is Exponential(b). (a) [5] Find the probability that Alice will be your next server. (b) [5] True or False? (you must prove your answer): The probability that you will be the last to be served (among you and the two current customers) is less than a half if and only if a is not equal to b. (c) [10] What is the distribution of your wait time? Your answer should not include integrals. 9