EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO

Similar documents
Due Friday February 17th before noon in the TA drop box, basement, AP&M. HOMEWORK 3 : HAND IN ONLY QUESTIONS: 2, 4, 8, 11, 13, 15, 21, 24, 27

CSE 312 Midterm Exam May 7, 2014

STAT Statistics I Midterm Exam One. Good Luck!

Important Distributions 7/17/2006

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM.

Name Instructor: Uli Walther

Contemporary Mathematics Math 1030 Sample Exam I Chapters Time Limit: 90 Minutes No Scratch Paper Calculator Allowed: Scientific

4.3 Rules of Probability

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

Grade 8 Math Assignment: Probability

Math 1313 Section 6.2 Definition of Probability

Statistics 1040 Summer 2009 Exam III

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

4.1 Sample Spaces and Events

Name: Exam 1. September 14, 2017

Geometric Distribution

Grade 7/8 Math Circles February 25/26, Probability

Intermediate Math Circles November 1, 2017 Probability I

Here are two situations involving chance:

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Discrete Random Variables Day 1

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

CSC/MTH 231 Discrete Structures II Spring, Homework 5

Math 141 Exam 3 Review with Key. 1. P(E)=0.5, P(F)=0.6 P(E F)=0.9 Find ) b) P( E F ) c) P( E F )

3 The multiplication rule/miscellaneous counting problems

ECE313 Summer Problem Set 4. Reading: RVs, mean, variance, and coniditional probability

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J

Probability: introduction

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Compound Probability. Set Theory. Basic Definitions

Ex 1: A coin is flipped. Heads, you win $1. Tails, you lose $1. What is the expected value of this game?

Conditional Probability Worksheet

Math 4610, Problems to be Worked in Class

ECON 214 Elements of Statistics for Economists

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results.

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Chapter 1. Probability

Probability of Independent and Dependent Events. CCM2 Unit 6: Probability

23 Applications of Probability to Combinatorics

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Discrete probability and the laws of chance

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

CIS 2033 Lecture 6, Spring 2017

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

MATH-1110 FINAL EXAM FALL 2010

Section 7.1 Experiments, Sample Spaces, and Events

CS1802 Week 9: Probability, Expectation, Entropy

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

3 The multiplication rule/miscellaneous counting problems

Unit 1 Day 1: Sample Spaces and Subsets. Define: Sample Space. Define: Intersection of two sets (A B) Define: Union of two sets (A B)

Review. Natural Numbers: Whole Numbers: Integers: Rational Numbers: Outline Sec Comparing Rational Numbers

1. How to identify the sample space of a probability experiment and how to identify simple events

7 5 Compound Events. March 23, Alg2 7.5B Notes on Monday.notebook

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

November 6, Chapter 8: Probability: The Mathematics of Chance

Bell Work. Warm-Up Exercises. Two six-sided dice are rolled. Find the probability of each sum or 7

CMPSCI 240: Reasoning Under Uncertainty First Midterm Exam

Unit 9: Probability Assignments

Chapter 8: Probability: The Mathematics of Chance

1 2-step and other basic conditional probability problems

INDEPENDENT AND DEPENDENT EVENTS UNIT 6: PROBABILITY DAY 2

MGF 1106: Exam 2 Solutions

Compute P(X 4) = Chapter 8 Homework Problems Compiled by Joe Kahlig

1 2-step and other basic conditional probability problems

Textbook: pp Chapter 2: Probability Concepts and Applications

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

2 A fair coin is flipped 8 times. What is the probability of getting more heads than tails? A. 1 2 B E. NOTA

Probability: Anticipating Patterns

Midterm 2 6:00-8:00pm, 16 April

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Classical vs. Empirical Probability Activity

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Probability Paradoxes

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.

COMPOUND EVENTS. Judo Math Inc.

Stat 20: Intro to Probability and Statistics

Chapter 1. Probability

Probability. Misha Lavrov. ARML Practice 5/5/2013

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

7.1 Experiments, Sample Spaces, and Events

1. a. Miki tosses a coin 50 times, and the coin shows heads 28 times. What fraction of the 50 tosses is heads? What percent is this?

March 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20?

I. WHAT IS PROBABILITY?

Section 7.3 and 7.4 Probability of Independent Events

Midterm 2 Practice Problems

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Probability. Dr. Zhang Fordham Univ.

Probability of Independent Events. If A and B are independent events, then the probability that both A and B occur is: P(A and B) 5 P(A) p P(B)

More Probability: Poker Hands and some issues in Counting

CHAPTERS 14 & 15 PROBABILITY STAT 203

5. Aprimenumberisanumberthatisdivisibleonlyby1anditself. Theprimenumbers less than 100 are listed below.

1. Theoretical probability is what should happen (based on math), while probability is what actually happens.

Total. STAT/MATH 394 A - Autumn Quarter Midterm. Name: Student ID Number: Directions. Complete all questions.

Conditional Probability Worksheet

Transcription:

EE 16 Fall 006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO You have 90 minutes to complete the quiz. Write your solutions in the exam booklet. We will not consider any work not in the exam booklet. This quiz has three problems that are in no particular order of difficulty. You may give an answer in the form of an arithmetic expression (sums, products, ratios, factorials of numbers that could be evaluated using a calculator. Expressions like ( 8 3 or 5 k=0 (1/k are also fine. A correct answer does not guarantee full credit and a wrong answer does not guarantee loss of credit. You should concisely indicate your reasoning and show all relevant work. The grade on each problem is based on our judgment of your level of understanding as reflected by what you have written. This is a closed-book exam except for one single-sided, handwritten, 8.5 11 formula sheet plus a calculator. Be neat! If we can t read it, we can t grade it. At the end of the quiz, turn in your solutions along with this quiz (this piece of paper. Problem Score 1 [10 points] [1 points] 3 [18 points] Total

Problem 1: (10 points Consider the following game: first a coin with P(heads = q is tossed once. If the coin comes up tails, then you roll a 4-sided die; otherwise, you roll a 6-sided die. You win the amount of money (in dollars $ corresponding to the given die roll. Let X be an indicator random variable for the coin toss (X = 0 if toss is tails; X = 1 if toss is heads, and let Y be the random variable corresponding to the amount of money that you win. (a (3pt Compute the joint PMF p X,Y. (It will be a function of q. (b (4pt Compute the conditional PMF p X Y, again as a function of q. Supposing that it is known that (on some trial of this game you made $ or less, determine the probability that the initial coin toss was heads, as a function of q. (c (3pt Assume that you have have to pay 3$ each time that you play this game. Determine, as a function of q, how much money you will win or lose on average. For what value of q do you break even? (a (3 pt We have p X,Y (x, y = q/6 if x = 1 and y {1,, 3, 4, 5, 6} (with prob. q roll a 6-sided die (1 q/4 if x = 0 and y {1,, 3, 4} (with prob. 1 q roll a 4-sided die (b (4 pt By marginalizing the joint PMF from (a, we first we compute (1 q/4 + q/6 if y {1,, 3, 4}, p Y (y = q/6 if y {5, 6} We then write p X Y (x y = p X,Y (x, y p Y (y 3(1 q (3 q if x = 0 and y {1,, 3, 4} q = 3 q if x = 1 and y {1,, 3, 4} 1 if x = 1 and y = 1 (c (3 pt Given the set-up of the game, the expected amount that we win is given E[Y ] 3. We compute E[Y ] = y yp Y (y = q + 5/. Therefore, we break even once E[Y ] = q + 5/ 3, or once q 1/.

Problem : (1 points Suppose one has a deck of cards that are well-shuffled, meaning that each card is equally likely to be located anywhere in the deck, independently of the position of all the other cards. (a ( pt In how many ways can the cards be shuffled? Now suppose someone removes cards from the deck, one by one. (In each of the following three parts, assume that we start with a fresh deck each time. (b (3 pt In how many ways can we remove 7 cards, such that all of those are spades? (c (3 pt In how many ways can we remove 10 cards, such that 4 are spades and 6 are hearts? (d (4 pt If one removes 0 cards, what is the probability that 8 are spades, but 6 are NOT hearts? (a ( pt For different shuffles of the deck, we are looking at ordered sequences of 5 cards, so the total number is 5!. (b (3 pt First suppose that we do not care about the order. Then the number of ways to remove 7 spades out of is ( 7. If we now consider ordered sequences, we have to multiply the result by 7!, which gives! 6! ways. (c (3 pt Again, first let s disregard the order. We want to remove 4 spades out of (which can be done in ( ( 4 ways and 6 hearts out of hearts (which can be done in 6 ways. Now there are 10! ways to rearrange the 10 cards, so in total 10! ( ( 4 6 ways. (d (4 pt There are several ways to interpret the question. Here we present the solution for we remove 0 cards one by one, what is the probability that there are exactly 8 spades, and 6 (or more are not hearts Intially, suppose the cards are not ordered. We want to remove 8 spades out of (which can be done in ( 8 ways, then 6 clubs or diamonds out of 6 (we remove all the spades and hearts(in ( 6 6 ways, and then the remaining 6 can be anything but spades, so chosen out of 39 6 (we already removed 6 non-spades (in ( 33 6 ways. Total number of ways to remove those, including ordering: 0! ( ( 6 ( 33 8 6 6. Since the total number of ways to remove 0 cards is 5!/3!, the required probability is 0!3! 5!. ( ( 6 ( 33 8 6 6 3

Problem 3: (18 points John can either walk to school (which takes 5 min, or take the bus (the bus takes 10 min. However, the buses don t have a fixed schedule. Instead, there is probability p that a bus will arrive on each even-numbered minute (e.g., t = 0,, 4,.... If John goes to the bus stop, then he always arrives at some odd-numbered minute (e.g., t = 1, 3, 5.... Buses never arrive at an odd-numbered minute. (a ( pt Let X be a random variable associated with the time between two consecutive buses. Find the expected value E[X]. (b (3 pt What is the expected time it takes to get to school if John goes by bus (including both the waiting time at the bus stop, and driving time? Now suppose that John has no idea what p is, so that his strategy is to flip a fair coin: if the coin is heads, he walks, if the coin is tails, he waits for the bus. (c (3 pt Letting Y be the total time it takes to get to school, find the PMF of Y and compute E[Y ]. (d (3 pt We are interested in the variance of Y. John s friend Bob gives the following argument: Let v 1 be the variance of the time needed to go to school if John walks, and v the variance of the time needed if he waits for the bus. Because John has equal chances of walking or taking the bus, the variance of Y is just the average of v 1 and v. Is Bob right? Explain why or why not. (In doing so, you are not required to find the variance of X. For the following two parts, suppose that John always decides to take the bus. (e (4 pt Let Z next be a discrete random variable corresponding to the time (in minutes that elapses from John s arrival at the bus stop until the next bus comes, and Z last a random variable associated with the time by which John missed the last bus. Compute the expected values E[Z next ] and E[Z last ]. (f (3 pt One might that expect E[X] = E[Z next ] + E[Z last ] (see part (a for the definition of X. Explain why this is not true. (a ( pt Recall that X is the RV corresponding to the time interval between consecutive buses. The probability that there are k -minutes intervals between two consecutive buses is (1 p k 1 p, which corresponds to the PMF of a geometric random variable with parameter p. Consequently, the expected number of -minute intervals is 1/p, and the expected value of X is given by /p. (b (3 pt From part (a, the number of -minute intervals for which John has to wait has a geometric distribution with parameter p. From John s perspective, the expected time to the next bus is 4

/p 1. (We subtract 1 because he arrives at an odd minute, in the middle of the interval. Overall, his expected travel time to get to school by bus is given by 10 + /p 1 = 9 + /p. (c (3 pt We compute the PDF of Y by conditioning as follows: p Y (y = P[Y = y walk] P[walk] + P[Y = y bus] P[bus] = 1 {P[Y = y walk] + P[Y = y bus]}. Now if John walks, then he is guranteed to take 5 minutes, so that { 1 if y = 5 P[Y = y walk] = On the other hand, if he takes the bus and takes a total time of y, then the number of whole -minute intervals that John had to wait for is 1/(y 11. (Note that y must be odd since he arrives in the middle of an interval. Consequently, we have P[Y = y bus] = 1 (1 p(y 11/ p for y = 11,, 15,.... Putting together the pieces, we obtain 1 + 1 (1 p7 p if y = 5 p Y (y = 1 (1 p(y 11/ p if y 5, y 11 and odd, Finally, we compute the expected value again by conditioning E[Y ] = E[Y walk]p[walk] + E[Y bus] P[bus] = 5/ + 9/ + 1/p = 17 + 1/p. (d (3 pt The argument is invalid because we are dealing with a mixture (and not a sum of two random variables. As an explicit counterexample, consider the case where with probability 1/ John walks (say takes 5 minute and with probability 1/ he bikes (which takes 15 minutes. The variance for each choice is 0, yet the total variance of his travel time is clearly non-zero. (e (4 pt Because John arrives in the middle of a two minute interval, and the bus distribution is invariant under reversing time, we have that E[Z next ] = E[Z last ] = /p 1, using our previous results from part (b. (f (3 pt Unless p = 1 (meaning that a bus arrives at every even time, the two quantities are different. Note that X is the random variable corresponding to the length of time between two consecutive arrivals, where each interval is chosen randomly (with equal probability regardless of its length. In contrast, given that the process defining Z next and Z last depends on John s arrival times at the station, in this case the interval between the last and the next bus is not chosen uniformly at random. Instead, John is more likely to arrive within a longer interval, so that one would expect that E[Z next ] + E[Z last ] > E[X]. 5