Discrete Random Variables (1) Solutions

Similar documents
Math/Stat 394 Homework 5

Chapter 4 : Discrete Random Variables

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Chapter 3 : Conditional Probability and Independence

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

Probability Year 10. Terminology

Lecture Lecture 5

Name: Exam 2 Solutions. March 13, 2017

Probability Year 9. Terminology

STAT 516: Basic Probability and its Applications

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

What is Probability? Probability. Sample Spaces and Events. Simple Event

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150

Mutually Exclusive Events

STAT 414: Introduction to Probability Theory

Quick review on Discrete Random Variables

STAT 418: Probability and Stochastic Processes

Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

Introduction and basic definitions

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

4.2 Probability Models

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

Intermediate Math Circles November 8, 2017 Probability II

Basic Concepts of Probability

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

11. Probability Sample Spaces and Probability

5. Conditional Distributions

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Year 10 Mathematics Probability Practice Test 1

M378K In-Class Assignment #1

Conditional Probability & Independence. Conditional Probabilities

Chapter. Probability

UNIT 5 ~ Probability: What Are the Chances? 1

Review Basic Probability Concept

Motivation. Stat Camp for the MBA Program. Probability. Experiments and Outcomes. Daniel Solow 5/10/2017

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

IM3 DEC EXAM PREP MATERIAL DEC 2016

Statistics 100 Exam 2 March 8, 2017

MAT 271E Probability and Statistics

2. AXIOMATIC PROBABILITY

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

IEOR 3106: Introduction to Operations Research: Stochastic Models. Professor Whitt. SOLUTIONS to Homework Assignment 1

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

(i) Given that a student is female, what is the probability of having a GPA of at least 3.0?

Probability & Random Variables

Computations - Show all your work. (30 pts)

2011 Pearson Education, Inc

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

Name: Firas Rassoul-Agha

Conditional probability

Chapter 2 Random Variables

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Lecture 3 Probability Basics

STEP Support Programme. Statistics STEP Questions: Solutions

Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) =

Introduction to Probability, Fall 2009

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

STAT 516 Answers Homework 2 January 23, 2008 Solutions by Mark Daniel Ward PROBLEMS. = {(a 1, a 2,...) : a i < 6 for all i}

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

Review of Probability. CS1538: Introduction to Simulations

CHAPTER 4 PROBABILITY AND PROBABILITY DISTRIBUTIONS

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

EXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS

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

Introduction to Probability 2017/18 Supplementary Problems

Conditional Probability & Independence. Conditional Probabilities

Probability Theory Review

Statistics for Managers Using Microsoft Excel (3 rd Edition)

Probability Distributions for Discrete RV

Lecture 1 Introduction to Probability and Set Theory Text: A Course in Probability by Weiss

Discrete Distributions

Discrete Probability

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

3.2 Probability Rules

Ch 14 Randomness and Probability

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Probability and Statistics Notes

Problems and results for the ninth week Mathematics A3 for Civil Engineering students

Chapter 5, 6 and 7: Review Questions: STAT/MATH Consider the experiment of rolling a fair die twice. Find the indicated probabilities.

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

Exam 1 - Math Solutions

Deep Learning for Computer Vision

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

Econ 325: Introduction to Empirical Economics

1 Presessional Probability

MA 250 Probability and Statistics. Nazar Khan PUCIT Lecture 15

Math , Fall 2012: HW 5 Solutions

Outline. Probability. Math 143. Department of Mathematics and Statistics Calvin College. Spring 2010

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

PROBABILITY.

Chapter 01: Probability Theory (Cont d)

Lecture 3. Probability and elements of combinatorics

Basic Probability. Introduction

Discrete Random Variables. Discrete Random Variables

Transcription:

STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 06 Néhémy Lim Discrete Random Variables ( Solutions Problem. The probability mass function p X of some discrete real-valued random variable X is given by the following table : (a Give the missing value p X (. x 0 3 4 p X (x 0.35 0.5 0. 0. Since p X is a probability mass function, we have that 4 x=0 p X(x =. Therefore p X ( = (p X (0 + p X ( + p X (3 + p X (4 = (0.35 + 0.5 + 0. + 0. = 0.. (b Draw the histogram of p X. 0.35 0.3 px(x 0. 0.5 0. 0. 0. 0. 0 3 4 Figure : Histogram of p X (c Give the cumulative distribution function F X of X. By definition, for any real number x, F X (x = P(X x. F X (x = y x p X (y

For instance, F X (. = y. p X(y = p X (0 + p X ( + p X ( = 0.7 In our case, X is a discrete random variable, so its cumulative distribution function F X is piecewise constant: 0 x < 0 0.35 0 x < 0.5 x < F X (x = 0.7 x < 3 0.8 3 x < 4 x 4 (d Graph F X..5 F X (x 0.5 4 x 0.5 Problem. In each case, determine the constant c so that the following functions p satisfy the conditions of being valid probability mass functions : (a For x X(Ω = {.5,,.5}, p(x = x3 c The first condition requires that p(x 0. For x =.5, p(.5 =.5 3 /c therefore c should be negative. Now if we take x =, we have that p( = 3 /c, which implies that c should be positive. We reach a contradiction. So there is no constant c for p to be a valid probability mass function. (b For x X(Ω = {n N, n }, p(x = 3 ( x c

The first condition requires that p(x 0 for all x N, n, which implies that c should be positive. The second condition is that p should sum to. Remember that if (u n is a geometric sequence, with first term u 0 = a and common ratio r, that is : u n+ = ru n with < r <, then the geometric series n 0 u n converges and its sum is : n=0 u n = a/( r. Here, the sequence defined by : u 0 = /c and u n+ = (/c u n is a geometric sequence. Therefore, if < /c <, we have that : p(x = 3 ( x = c x= x= 3 /c /c = 3 c = 3 c = c = 3 c = 5 We must verify that c > 0 and that < /c <, which is the case for c = 5. (c For x X(Ω = N, p(x = c x x! The first condition requires that p(x 0 for all x N, which implies that c should be nonnegative since x /x! > 0. The second condition is that p should sum to. Here, you recognize the exponential series, that is, for any real number a, n=0 an /n! = e a. Therefore, we have that : x=0 It is obvious that c 0. x p(x = c x! = x=0 c e = c = e = e 3

Problem 3. Calculate the probability mass function of X whose cumulative distribution function is given by : 0 b < 0 / 0 b < 3/5 b < F X (b = 4/5 b < 3 9/0 3 b < 3.5 b 3.5 By definition, for any real number x, F X (x = P(X x. Here, we notice that the distribution function F X is piecewise constant, which means that the underlying random variable X is discrete and the values that X takes on correspond to points y where F X is discontinuous, that is X(Ω = {0,,, 3, 3.5}. The probability mass function p X of X can be calculated in the following fashion : For any 0 x <, / = F X (x = y x p X(x = p X (0. So p X (0 = /. For any x <, 3/5 = F X (x = y x p X(x = p X (0 + p X (. So p X ( = 3/5 p X (0 = /0. For any x < 3, 4/5 = F X (x = y x p X(x = p X (0+p X (+p X (. So p X ( = 4/5 (p X (0 + p X ( = /5. For any 3 x < 3.5, 9/0 = F X (x = y x p X(x = p X (0 + p X ( + p X ( + p X (3. So p X (3 = 9/0 (p X (0 + p X ( + p X ( = /0. Since p X is a pmf, p X (0 + p X ( + p X ( + p X (3 + p X (3.5 =. So p X (3.5 = (p X (0 + p X ( + p X ( + p X (3 = /0. Problem 4. Two cards are chosen randomly from a standard deck of fiftytwo cards. Suppose that we win $ for each spade selected and we lose $ for each heart or diamond selected, we neither win nor lose if we pick a club. Let X denote our winnings. What are the possible values of X, and what is the probability mass function of X? If you pick cards that are either hearts or diamonds, you win X = ( dollars. This happens with probability : p X ( = P(X = = 6 ( / 5 = 5/0. If you pick one spade and the other one is either heart or diamond, you win X = dollar. This happens with probability : p X ( = ( ( 3 6 ( / 5 = 3/5. If you pick one club and the other one is either heart or diamond, you win X = dollar. This happens with probability : p X ( = ( 3 ( 6 ( / 5 = 3/5. 4

If you pick spades, you win X = 4 dollars. This happens with probability : p X (4 = ( 3 / ( 5 = /7. If you pick a spade and the other one is a club, you win X = dollars. This happens with probability : p X ( = ( 3 ( 3 / ( 5 = 3/0. If you pick clubs, you win X = 0 dollar. This happens with probability : p X (0 = ( 3 / ( 5 = /7. Problem 5. 0 candidates 5 men and 5 women take an exam and are ranked according to their scores. Assume that no two scores are alike and all 0! possible rankings are equally likely. Let X denote the highest ranking achieved by a woman. (For instance, X = if the top-ranked person is female. Find the probability mass function of X. For instance, consider that X = 4, that is that the highest ranking woman has rank 4, this implies that the 4 remaining women can have 6 possible ranks between 5 and 0. In that case, there are thus ( 6 4 ways the highest ranking woman has rank 4. We can generalize this finding and for a given i =,,..., 0, if the highest ranking woman has rank i, then there are ( 0 i 4 possible ranks for the 4 other women. Therefore, the corresponding probability is : P(X = i = ( 0 i 4 ( 0 5 Problem 6. We toss a coin n times (n. We denote by X the difference between the number of heads and the number of tails obtained. (a What are the possible values of X? For a given integer n, let H be the number of heads obtained when a coin is tossed n times. Then, T the number of tails obtained is T = n H. Therefore, the difference between the number of heads and the number of tails obtained is X = H T = H (n H = n + H. Since H can takes any values on {0,,..., n}, the possible values of X are { n, n +, n + 4,..., n 4, n, n}, that is one in every two integers between n and n, that is also all integers between n and n that are odd if n is odd, or all integers between n and n that are even if n is even. (b For n = 3, if the coin is assumed fair, give the probability mass function of X. If n = 3, X can take values 3,, and 3. X = 3 means that the coin lands 3 times on tails, which happens with probability : p X ( 3 = P(X = 3 = P({T T T } = (/ 3 = /8 X = means that the coin lands once on heads and twice on tails, which happens with probability : p X ( = P({HT T }+P({T HT }+ P({T T H} = 3 (/ 3 = 3/8 5

X = means that the coin lands twice on heads and once on tails, which happens with probability : p X ( = P({HHT } + P({HT H} + P({T HH} = 3 (/ 3 = 3/8 X = 3 means that the coin lands 3 times on heads, which happens with probability : p X (3 = P({HHH} = (/ 3 = /8 Problem 7. In a store, two customers ask a salesman advice about laptops. The first customer will purchase a laptop with probability 0.3, and independently of the first customer, the second will buy a laptop with probability 0.6. Any sale made is equally likely to be either for model A, which costs $000, or model B, which costs $500. Determine the probability mass function of X, the total dollar value of all sales. Let us define the following events : E: The salesman makes no sale, this happens with probability : P(E = ( 0.3( 0.6 = 0.8 F : The salesman makes exactly one sale, this happens with probability : P(F = 0.3 ( 0.6 + ( 0.3 0.6 = 0.54 G: The salesman makes exactly two sales, this happens with probability : P(G = 0.3 0.6 = 0.8 In addition, we denote A the event that a sale is made for model A and B the event that a sale is made for model B. We can notice that X can take 5 different values : 0, 500, 000, 500, 000 : {X = 0} is the event of $0 sales, which corresponds exactly to event E : p X (0 = P(E = 0.8 {X = 500} occurs when one sale of model B is made : p X (500 = P(F B = P(F P(B F = 0.54 / = 0.7 {X = 000} occurs when either one sale of model A is made or models B are sold: p X (000 = P(F A + P(G {BB} = P(F P(A F + P(GP({BB} G = 0.54 / + 0.8 (/ = 0.35 {X = 500} occurs when model A and model B are sold : p X (500 = P(G {AB, BA} = P(GP({AB, BA} G = 0.8 (/ = 0.09 {X = 000} occurs when two models A are sold: p X (000 = P(G {AA} = P(GP({AA} G = 0.8 (/ = 0.045. 6