(Practice Version) Midterm Exam 1

Similar documents
Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Econ 250 Fall Due at November 16. Assignment 2: Binomial Distribution, Continuous Random Variables and Sampling

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

MATH 10 INTRODUCTORY STATISTICS


Probability Distributions. Definitions Discrete vs. Continuous Mean and Standard Deviation TI 83/84 Calculator Binomial Distribution

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

Section Distributions of Random Variables

Math 243 Section 4.3 The Binomial Distribution

Binomial Random Variables. Binomial Random Variables

MATH/STAT 3360, Probability FALL 2012 Toby Kenney

TRINITY COLLGE DUBLIN

Chapter 3 Discrete Random Variables and Probability Distributions

MATH 264 Problem Homework I

Lecture 23. STAT 225 Introduction to Probability Models April 4, Whitney Huang Purdue University. Normal approximation to Binomial

Chapter 4 and 5 Note Guide: Probability Distributions

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

STAT 3090 Test 2 - Version B Fall Student s Printed Name: PLEASE READ DIRECTIONS!!!!

continuous rv Note for a legitimate pdf, we have f (x) 0 and f (x)dx = 1. For a continuous rv, P(X = c) = c f (x)dx = 0, hence

AP Statistics Ch 8 The Binomial and Geometric Distributions

ECEn 370 Introduction to Probability

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Lecture III. 1. common parametric models 2. model fitting 2a. moment matching 2b. maximum likelihood 3. hypothesis testing 3a. p-values 3b.

EXERCISES FOR PRACTICE SESSION 2 OF STAT CAMP

MATH/STAT 3360, Probability FALL 2013 Toby Kenney

The Binomial Probability Distribution

Simple Random Sample

Section Distributions of Random Variables

STA 103: Final Exam. Print clearly on this exam. Only correct solutions that can be read will be given credit.

Random variables. Discrete random variables. Continuous random variables.

Binomal and Geometric Distributions

6 If and then. (a) 0.6 (b) 0.9 (c) 2 (d) Which of these numbers can be a value of probability distribution of a discrete random variable

MATH 10 INTRODUCTORY STATISTICS

Chapter 2: Random Variables (Cont d)

Lecture 9: Plinko Probabilities, Part III Random Variables, Expected Values and Variances

6.1 Discrete & Continuous Random Variables. Nov 4 6:53 PM. Objectives

15.063: Communicating with Data Summer Recitation 3 Probability II

Section M Discrete Probability Distribution

Law of Large Numbers, Central Limit Theorem

STAT 201 Chapter 6. Distribution

The Binomial Distribution

The Binomial Distribution

Statistics and Their Distributions

Math489/889 Stochastic Processes and Advanced Mathematical Finance Homework 5

Binomial Random Variable - The count X of successes in a binomial setting

What is the probability of success? Failure? How could we do this simulation using a random number table?

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

MATH 3200 Exam 3 Dr. Syring

2.) What is the set of outcomes that describes the event that at least one of the items selected is defective? {AD, DA, DD}

CS134: Networks Spring Random Variables and Independence. 1.2 Probability Distribution Function (PDF) Number of heads Probability 2 0.

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

5. In fact, any function of a random variable is also a random variable

Bernoulli and Binomial Distributions

The Binomial and Geometric Distributions. Chapter 8

4.2 Bernoulli Trials and Binomial Distributions

IEOR 165 Lecture 1 Probability Review

The Normal Distribution

AP Statistics Section 6.1 Day 1 Multiple Choice Practice. a) a random variable. b) a parameter. c) biased. d) a random sample. e) a statistic.

Chapter 5. Sampling Distributions

Binomial Random Variables

Cover Page Homework #8

4-1. Chapter 4. Commonly Used Distributions by The McGraw-Hill Companies, Inc. All rights reserved.

UQ, STAT2201, 2017, Lectures 3 and 4 Unit 3 Probability Distributions.

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

Statistical Methods in Practice STAT/MATH 3379

Test 6A AP Statistics Name:

Random Variables Handout. Xavier Vilà

1. Steve says I have two children, one of which is a boy. Given this information, what is the probability that Steve has two boys?

Central Limit Theorem (cont d) 7/28/2006

6.3: The Binomial Model

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

Math 180A. Lecture 5 Wednesday April 7 th. Geometric distribution. The geometric distribution function is

Probability is the tool used for anticipating what the distribution of data should look like under a given model.

MAKING SENSE OF DATA Essentials series

Chapter 3 Discrete Random Variables and Probability Distributions

HHH HHT HTH THH HTT THT TTH TTT

2. The sum of all the probabilities in the sample space must add up to 1

ECON 214 Elements of Statistics for Economists 2016/2017

Probability. An intro for calculus students P= Figure 1: A normal integral

STUDY SET 2. Continuous Probability Distributions. ANSWER: Without continuity correction P(X>10) = P(Z>-0.66) =

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Commonly Used Distributions

Chapter 4: Commonly Used Distributions. Statistics for Engineers and Scientists Fourth Edition William Navidi

4 Random Variables and Distributions

Chapter 5: Probability models

Using the Central Limit Theorem It is important for you to understand when to use the CLT. If you are being asked to find the probability of the

9 Expectation and Variance

Probability Models.S2 Discrete Random Variables

Lecture 23: April 10

A random variable (r. v.) is a variable whose value is a numerical outcome of a random phenomenon.

MATH 112 Section 7.3: Understanding Chance

***SECTION 8.1*** The Binomial Distributions

Discrete Mathematics for CS Spring 2008 David Wagner Final Exam

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

PROBABILITY DISTRIBUTIONS

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Distribution Distribute in anyway but normal

Martingales, Part II, with Exercise Due 9/21

2) There is a fixed number of observations n. 3) The n observations are all independent

Transcription:

EECS 126 Probability and Random Processes University of California, Berkeley: Fall 2014 Kannan Ramchandran September 19, 2014 (Practice Version) Midterm Exam 1 Last name First name SID Rules. DO NOT open the exam until instructed to do so. Note that the test has 100 points. The maximum possible score is 100. You have 10 minutes to read this exam without writing anything. You have 90 minutes to work on the problems. Box your final answers. Partial credit will not be given to answers that have no proper reasoning. Remember to write your name and SID on the top left corner of every sheet of paper. Do not write on the reverse sides of the pages. All eletronic devices must be turned off. Textbooks, computers, calculators, etc. are prohibited. No form of collaboration between students is allowed. If you are caught cheating, you may fail the course and face disciplinary consequences. You must include explanations to receive credit. Problem Part Max Points Problem Part Max Points 1 (a) 6 2 20 (b) 6 3 25 (c) 6 4 25 (d) 6 5 20 (e) 6 30 Total 100 1

Cheat sheet (this will be provided in the actual midterm.) 1. Discrete Random Variables 1) Geometric with parameter p [0, 1]: P (X = n) = (1 p) n 1 p, n 1 E[X] = 1/p, var(x) = (1 p)p 2 2) Binomial with parameters N and p: P (X = n) = ( N n E[X] = Np, var(x) = Np(1 p) 3) Poission with parameter λ: P (X = n) = λn n! e λ, n 0 E[X] = λ, var(x) = λ ) p n (1 p) N n, n = 0,..., N, where ( N n 2. Continuous Random Variables 1) Uniformly distributed in [a, b], for some a < b: f X (x) = b a 1 1{a x b} E[X] = a+b (b a)2 2, var(x) = 12 2) Exponentially distributed with rate λ > 0: f X (x) = λe λx 1{x 0} E[X] = λ 1, var(x) = λ 2 3) Gaussian, or normal, with mean µ and variance σ 2 : f X (x) = 1 exp { (x µ)2 2πσ 2 2σ } 2 E[X] = µ, var = σ 2 ) = N! (N n)!n! 2

Problem 1. Short questions: 6 points each. (a) Consider a well-shuffled 52 -card deck. We draw the top 10 cards of the deck. What is the probability that the 10 cards include exactly 3 queens, or exactly 4 kings, or both? (b) Suppose that you put m balls randomly in n boxes. Each box can hold an arbitrarily large number of balls. What is the expected number of empty boxes? 3

(c) Let X and Y be independent and identically distributed random variables with cdf F. Find the CDF of Z = max(x, Y ) and the CDF of W = min(x, Y ). (d) Find an example of two random variables that are uncorrelated ( cov(x, Y ) = 0 ), but they are not independent. 4

(e) Assume that the two random variables X and Y are such that E[X Y ] = Y and E[Y X] = X. Show that P (X = Y ) = 1. [Hint: Show that E[(X Y ) 2 ] = 0.] 5

Problem 2. (20 pts) Consider a stick of length 1. You break the stick at a random point, and then break the piece that contains the left end of the stick randomly. What is the probability that the 3 pieces form a triangle? 6

Problem 3. (25 pts) Consider a bipartite graph with K left nodes and M right nodes as shown in Figure 1. Each right node is connected to a left node with probability p independently. Let D r be the random variable denoting the degree of a randomly selected right node, and D l be the random variable denoting the degree of a randomly selected left node. Figure 1: One realization of the bipartite graph. (a) Find the distribution of D r and D l. Find their expectations. 7

(b) Suppose that you pick a random edge in the graph. What is the distribution of the degree of the left node connected to this edge? What is the distribution of the degree of the right node connected to this edge? (c) We call a right node with degree 2 a doubleton. For example right node 1 is a doubleton. What is the average number of doubletons in the random bipartite graph model? 8

(d) Find the average number of left nodes that are connected to at least one doubleton. 9

Problem 4. (25 pts) Jim throws a dart at a circle of radius r that is equally likely to hit any point in the circle. Let X be the distance of Jim s hit from the center. (a) Find the pdf, the mean, and the variance of X. (b) The target has an inner circle of radius t. If X t, Jim gets a score of S = 1/X. Otherwise his score is 0. Find the CDF of S. Is S a continuous random variable? 10

Problem 5. (20 pts) You are given two biased coins, one of which has the probability 0.55 of coming up Heads, and the other of which has a probability of 0.2 of coming up Heads. However, you don t know which is which. (a) You randomly pick a coin and flip it. If it comes up Heads, you win $1. If it comes up Tails, you lose $1. What is the probability of winning? Would you play this game? (b) Now suppose you get to pick a coin randomly and flip it for free. Then, you get to choose a coin for your second flip. Again, you win or lose $1 according to whether the second flip is Heads or Tails. Given that you see Heads on the first flip, which coin would you choose for the second flip? With this chosen coin, would you bet $1 on the second flip? 11

(c) Now suppose you get to randomly pick a coin and flip it for free n times (n 1), and then pick a coin for your (n + 1) -th flip. What is your chance of winning? 12

END OF THE EXAM. Please check whether you have written your name and SID on every page. 13