STAB47S:2003 Midterm Name: Student Number: Tutorial Time: Tutor:

Similar documents
E3: PROBABILITY AND STATISTICS lecture notes

Math 3C Homework 3 Solutions

Definition and Calculus of Probability

Hoover High School Math League. Counting and Probability

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Conditional Probability, Independence and Bayes Theorem Class 3, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

EXAM. Exam #3. Math 1430, Spring April 21, 2001 ANSWERS

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

1 Sufficient statistics

Probabilistic Strategies: Solutions

Math Quizzes Winter 2009

Math 210 Lecture Notes: Ten Probability Review Problems

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

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

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

Chapter 4 Lecture Notes

Statistics 100A Homework 4 Solutions

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

The sample space for a pair of die rolls is the set. The sample space for a random number between 0 and 1 is the interval [0, 1].

ECE302 Spring 2006 HW1 Solutions January 16,

6.3 Conditional Probability and Independence

Chapter 4 - Practice Problems 1

Statistics 100A Homework 2 Solutions

Section 6.2 Definition of Probability

STAT 35A HW2 Solutions

(b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Notes on Continuous Random Variables

AP Stats - Probability Review

Statistics 100A Homework 7 Solutions

MAS108 Probability I

Basic Probability Theory II

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

Section 6-5 Sample Spaces and Probability

Practice problems for Homework 11 - Point Estimation

An Introduction to Basic Statistics and Probability

The study of probability has increased in popularity over the years because of its wide range of practical applications.

Solutions for Review Problems for Exam 2 Math You roll two fair dice. (a) Draw a tree diagram for this experiment.

5. Continuous Random Variables

MATHEMATICS 154, SPRING 2010 PROBABILITY THEORY Outline #3 (Combinatorics, bridge, poker)

6. Let X be a binomial random variable with distribution B(10, 0.6). What is the probability that X equals 8? A) (0.6) (0.4) B) 8! C) 45(0.6) (0.

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Week 2: Conditional Probability and Bayes formula

ACMS Section 02 Elements of Statistics October 28, Midterm Examination II

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

PROBABILITY. The theory of probabilities is simply the Science of logic quantitatively treated. C.S. PEIRCE

A Few Basics of Probability

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Math 141. Lecture 2: More Probability! Albyn Jones 1. jones/courses/ Library 304. Albyn Jones Math 141

Name: Math 29 Probability. Practice Second Midterm Exam Show all work. You may receive partial credit for partially completed problems.

Elementary Statistics and Inference. Elementary Statistics and Inference. 16 The Law of Averages (cont.) 22S:025 or 7P:025.

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Homework 2 Solutions

Final Mathematics 5010, Section 1, Fall 2004 Instructor: D.A. Levin

Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

ACMS Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Answers

AMS 5 CHANCE VARIABILITY

Section 6.1 Joint Distribution Functions

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

Math Compute C(1000,2) (a) (b) (c) 2. (d) (e) None of the above.

PERMUTATIONS AND COMBINATIONS

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

Sums of Independent Random Variables

Chapter 4: Probability and Counting Rules

Normal distribution. ) 2 /2σ. 2π σ

Statistics 100A Homework 8 Solutions

Combinatorial Proofs

Factory example D MA ND 0 MB D ND

Sample Term Test 2A. 1. A variable X has a distribution which is described by the density curve shown below:

( ) = 1 x. ! 2x = 2. The region where that joint density is positive is indicated with dotted lines in the graph below. y = x

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process

Bayesian Tutorial (Sheet Updated 20 March)

Chapter 4 & 5 practice set. The actual exam is not multiple choice nor does it contain like questions.

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Chapter 8 Integers 8.1 Addition and Subtraction

Important Probability Distributions OPRE 6301

Math 461 Fall 2006 Test 2 Solutions

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

A magician showed a magic trick where he picked one card from a standard deck. Determine what the probability is that the card will be a queen card?

Math 425 (Fall 08) Solutions Midterm 2 November 6, 2008

Statistics 100A Homework 3 Solutions

Conditional Probability, Hypothesis Testing, and the Monty Hall Problem

The Binomial Probability Distribution

For two disjoint subsets A and B of Ω, say that A and B are disjoint events. For disjoint events A and B we take an axiom P(A B) = P(A) + P(B)

Pigeonhole Principle Solutions

Lecture 6: Discrete & Continuous Probability and Random Variables

Probability definitions

Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80)

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

Homework 3 Solution, due July 16

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

4. Continuous Random Variables, the Pareto and Normal Distributions

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

AP Statistics 7!3! 6!

Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR.

AP CALCULUS AB 2009 SCORING GUIDELINES

Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

6 PROBABILITY GENERATING FUNCTIONS

Transcription:

STAB47S:200 Midterm Name: Student Number: Tutorial Time: Tutor: Time: 2hours Aids: The exam is open book Students may use any notes, books and calculators in writing this exam Instructions: Show your reasoning when determining an answer 1 (a) (5 marks) Suppose that a symmetric die is rolled two independent times What is the probability that the sum of the number of pips that showed on the two rolls is less than 5? P ("sum of the number of pips that showed on the two rolls is less than 5") =P ({(1, 1), (1, 2), (2, 1), (1, ), (, 1), (2, 2)}) =6/6 2 =1/6 (b) (10 marks) If the outcome from the two rolls discussed in (a) is less than 5, then we flip a coin that has probability 1/ of H and, if the outcome of the two rolls is 5 or greater, then we flip a coin which has probability 1/4 of H What is the probability that a head is obtained? P ("H") =P ("H" "less than 5")P ("less than 5") P ("H" "greater than or equal to 5")P ("greater than or equal to 5") = 1 1 1 5 = 19 6 4 6 72 (c) (10 marks) For the situation described in (b), suppose that a head is observed What is the conditional probability that the sum of the two rolls waslessthan5? We use Bayes Theorem for this We have P ("sum of the two rolls was less than 5" "H") = P ("H " "less than 5")P ("less than 5") = 1 1 6 P ("H ") 1 1 6 1 5 4 6 1 = 4 19

2 (a) (5 marks) Suppose that P is a probability measure defined on the sample space S Prove that P (A c B c )=1 P (A) P (B)P (A B) P (A c B c )=P ((A B) c )=1 P (A B) =1 (P (A)P (B) P (A B)) (b) (5 marks) Prove that A c and B c are independent if and only if A and B are independent Suppose that A c and B c are independent Then P (A c B c )=P (A c ) P (B c )= (1 P (A)) (1 P (B)) = 1 P (A) P (B) P (A)P (B) Equating this to the expression obtained in (a)we see that P (A B) =P (A)P (B) and so A and B are independent If A and B are independent then by (a) P (A c B c )=1 P(A) P (B) P (A B) =1 P (A) P (B) P (A)P (B) =(1 P (A)) (1 P (B)) = P (A c ) P (B c ) and so A c and B c are independent (c) (10 marks) Suppose that X is random variable defined on S and A S Prove that X 1 A c =(X 1 A) c Suppose that s X 1 A c Then X(s) A c which implies that X (s) / A and so s/ X 1 A This implies s (X 1 A) c Therefore X 1 A c (X 1 A) c Now suppose s (X 1 A) c Then s/ X 1 A which implies X(s) / A and this implies X(s) A c So s X 1 A c and we have proved that (X 1 A) c X 1 A c Combining these we have that X 1 A c =(X 1 A) c (d) (5 marks) Suppose that X is a random variable and A and B are mutually disjoint subsets of R 1 Prove that P (X A B) =P (X A) P (X B) P (X A B) =P (X 1 (A B)) = P (X 1 A X 1 B)=P (X 1 A) P (X 1 B) since X 1 A X 1 B = φ Now P (X 1 A) = P (X A) and P (X 1 B)=P (X B) and the result is obtained (a) (10 marks) Suppose we pick two cards at random from an ordinary 52-card deck What is the probability that the sum of the values of the two cards (where we count Jacks, Queens, and Kings as ten, and count Aces as one) is at least four? P ("the sum of the values of the two cards is at least four") 2

=1 P ("thesumofthevaluesofthetwocardsislessthanfour") =1 P ({2 aces, 1 ace and 1 two}) =1 (4 2)( 4 1)( 4 1) ( 52 2 ) (b) (10 marks) A class of two hundred students is to be randomly divided into three subclasses of sizes 40, 60 and 100 respectively What is the probability that friends are all allocated to the same class? What is the probability that they are allocated to different classes? The number of divisions is ( 200 40 60 100) and they are equally likely The number of splits that contain the three friends is (sum of number of divisions where they are all in the class of 40, the class of 60 and the class of 100) ( ) 7 60 100 ( ) 40 57 100 ( ) 40 60 97 Therefore the probability of the three friends being in the same class is (( ) ( ) ( )) ( ) 200 / =015669 7 60 100 40 57 100 40 60 97 40 60 100 The probability that all are in different classes is ( ) ( ) 200! / 9 59 99 40 60 100 4 (a) (5 marks) Suppose that p (s) is defined on S = {1, 2,, 4, 5} by s 1 2 4 5 p 2 2 2 1 If X 1,X 2 are independent random variables, each with probability function p then calculate P (X 1 = X 2 ) P (X 1 = X 2 )=P (X 1 = X 2 =1)P (X 1 = X 2 =2)P (X 1 = X 2 =) P (X 1 = X 2 =4)P (X 1 = X 2 =4) =() 2 (2) 2 (2) 2 (2) 2 (1) 2 =022

(b) (5 marks) Suppose that a piece of software has probability 02 of crashing when a certain operation is performed If this operation is performed n independent times What is the distribution of the number of crashes? Indicate precisely how you would compute the probability of 10 crashes when n = 100 ThenumberofcrashesX is distributed Binomial(n, 02) so that ( ) 100 P (X = 10) = (02) 10 (98) 90 10 (c) (5 marks) (continuation of (b)) Suppose that n is very large, indicate how you would compute the probability of experiencing 10 crashes We use the Poisson approximation In this case we approximate the Binomial(n, 02) by the Poisson(2n/100) distribution so that P (X =10) (2n/100)10 exp { (2n/100)} 10! (d) (5 marks) A certain computer program contains a loop The test for exiting the loop is based on the generation of a random variable X inside the loop The test is passed when the the value of X is less than If X is uniformly distributed on {1, 2,, 4, 5} determine the probability that the test fails 4 times before the program exits the loop We have that the number of failures before exiting is distributed Geometric(2/5) Therefore ( ) 4 2 P ("4 failures") = 5 5 (e) (5 marks) Consider the function defined by { x2 / 0 <x<2 f(x) = 0 otherwise Is f a probability density function? Explain why or why not? Certainly f(x) 0 but 2 0 f(x) dx = x 2 0 = 8 0 = 8 1 4

and so f is not a probability density (f) (5 marks) Suppose that an urn contains 0 red balls and 70 white balls The urn is thoroughly mixed and a ball is drawn, its color is observed and then it is replaced in the urn We continue drawing from the urn in this fashion until 4 red balls have been observed What is the probability that there are 12 white balls drawn before the fourth red ball is observed? The number of white balls drawn until the fourth red ball is distributed Negative Binomial(4, /10) Therefore P ("12 white balls drawn") = ( )( ) 15 7 12 ( ) 4 12 10 10 5