Chapter 3 Discrete Random Variables and Probability Distributions

Similar documents
Chapter 3 Discrete Random Variables and Probability Distributions

Binomial Random Variables. Binomial Random Variables

Discrete Random Variables and Probability Distributions. Stat 4570/5570 Based on Devore s book (Ed 8)

Some Discrete Distribution Families

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

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

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

Chapter 3 Discrete Random Variables and Probability Distributions

4.2 Bernoulli Trials and Binomial Distributions

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

Probability Models.S2 Discrete Random Variables

Probability Distributions for Discrete RV

Probability and Statistics

MA : Introductory Probability

MATH 264 Problem Homework I

Statistics 6 th Edition

Bernoulli and Binomial Distributions

Chapter 5 Discrete Probability Distributions. Random Variables Discrete Probability Distributions Expected Value and Variance

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

Statistics for Managers Using Microsoft Excel 7 th Edition

Chapter 7. Sampling Distributions and the Central Limit Theorem

Chapter Learning Objectives. Discrete Random Variables. Chapter 3: Discrete Random Variables and Probability Distributions.

2011 Pearson Education, Inc

Expectations. Definition Let X be a discrete rv with set of possible values D and pmf p(x). The expected value or mean value of X, denoted by E(X ) or

Chapter 7. Sampling Distributions and the Central Limit Theorem

Probability Distributions: Discrete

Chapter 4 Continuous Random Variables and Probability Distributions

Lean Six Sigma: Training/Certification Books and Resources

Simple Random Sample

Chapter 4 Continuous Random Variables and Probability Distributions

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

Chapter 7: Point Estimation and Sampling Distributions

CVE SOME DISCRETE PROBABILITY DISTRIBUTIONS

Statistics. Marco Caserta IE University. Stats 1 / 56

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

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Chapter 4 Probability Distributions

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

SOME MOST POPULAR DISTRIBUTIONS OF RANDOM VARIABLES

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

Discrete Random Variables and Probability Distributions

Probability and Statistics for Engineers

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

8.1 Binomial Distributions

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.

MidTerm 1) Find the following (round off to one decimal place):

Expected Value and Variance

Chapter 5: Statistical Inference (in General)

Random Variable: Definition

Overview. Definitions. Definitions. Graphs. Chapter 4 Probability Distributions. probability distributions

4 Random Variables and Distributions

Commonly Used Distributions

Chapter 5: Probability models

AP Statistics Ch 8 The Binomial and Geometric Distributions

P (X = x) = x=25

Binomal and Geometric Distributions

S = 1,2,3, 4,5,6 occurs

Business Statistics. Chapter 5 Discrete Probability Distributions QMIS 120. Dr. Mohammad Zainal

Chapter 17. Probability Models. Copyright 2010 Pearson Education, Inc.

CS 237: Probability in Computing

STA258H5. Al Nosedal and Alison Weir. Winter Al Nosedal and Alison Weir STA258H5 Winter / 41

Chapter 5 Student Lecture Notes 5-1. Department of Quantitative Methods & Information Systems. Business Statistics

Point Estimation. Some General Concepts of Point Estimation. Example. Estimator quality

The Bernoulli distribution

The Binomial distribution

CHAPTER 5 SOME DISCRETE PROBABILITY DISTRIBUTIONS. 5.2 Binomial Distributions. 5.1 Uniform Discrete Distribution

Central Limit Theorem 11/08/2005

Statistical Tables Compiled by Alan J. Terry

Midterm Exam III Review

Chapter 4 and 5 Note Guide: Probability Distributions

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

Mathematics of Randomness

CIVL Discrete Distributions

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

Examples: Random Variables. Discrete and Continuous Random Variables. Probability Distributions

Learning Objec0ves. Statistics for Business and Economics. Discrete Probability Distribu0ons

Review of the Topics for Midterm I

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

ECON 214 Elements of Statistics for Economists 2016/2017

Homework Assignments

CS145: Probability & Computing

Discrete Random Variables

Lecture 8. The Binomial Distribution. Binomial Distribution. Binomial Distribution. Probability Distributions: Normal and Binomial

1/2 2. Mean & variance. Mean & standard deviation

MAS187/AEF258. University of Newcastle upon Tyne

Chapter 5. Sampling Distributions

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

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

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

Chpt The Binomial Distribution

Statistics 431 Spring 2007 P. Shaman. Preliminaries

IEOR 3106: Introduction to OR: Stochastic Models. Fall 2013, Professor Whitt. Class Lecture Notes: Tuesday, September 10.

6 Central Limit Theorem. (Chs 6.4, 6.5)

PROBABILITY DISTRIBUTIONS

CIVL Learning Objectives. Definitions. Discrete Distributions

4-2 Probability Distributions and Probability Density Functions. Figure 4-2 Probability determined from the area under f(x).

The Binomial Distribution

Elementary Statistics Lecture 5

STATISTICS and PROBABILITY

CD Appendix F Hypergeometric Distribution

Transcription:

Chapter 3 Discrete Random Variables and Probability Distributions Part 4: Special Discrete Random Variable Distributions Sections 3.7 & 3.8 Geometric, Negative Binomial, Hypergeometric NOTE: The discrete Poisson distribution (Section 3.9) will be on midterm exam 2, not midterm exam 1. 1 / 26

Special Discrete Random Variable Distributions The following special discrete random variable distributions will be on Midterm Exam 1: Discrete Uniform Binomial Geometric Negative Binomial Hypergeometric The only other special discrete random variable we cover, the Poisson, will be part of Midterm Exam 2, not Midterm Exam 1. 2 / 26

Geometric Distribution Consider a sequence of independent Bernoulli trials with a success denoted by S and failure denoted by F with P (S) = p and P (F ) = 1 p. Let X = the number of trials until (and including) the first success. Then, X follows a Geometric Distribution. The only parameter needed is the probability of a success p. NOTATION: If X follows a geometric distribution with parameter p (for probability of success), we can write X Geo(p) for X = 1, 2, 3,... 3 / 26

Geometric Distribution Example (Geometric random variable) Let X be a geometric random variable with p = 0.25. What is the probability that X = 4 (i.e. that the first success occurs on the 4th trial)? ANS: For X to be equal to 4, we must have had 3 failures, and then a success. P (X = 4) = Definition (Geometric Distribution) In a series of Bernoulli trials (independent trials with constant probability p of success), let the random variable X denote the number of trials until the first success. Then, X is a geometric random variable with parameter p such that 0 < p < 1 and the probability mass function of X is f(x) = (1 p) x 1 p for x = 1, 2, 3,... 4 / 26

Geometric Distribution The geometric distribution places mass at the counting numbers starting at 1 {1, 2, 3,...}. Though X can be any positive integer, the mass at the right-tailed numbers eventually gets quite small. Comparison/Contrast with binomial distribution: Similar They both have independent Bernoulli trials. Different For a r.v. with a binomial distribution, we know how many trials we will have, there will be n trials, X Bin(n, p) and X {0, 1, 2,..., n}. For a r.v. with a geometric distribution, we do not know how many trials we will have, X Geo(p) and X {1, 2, 3,...}. We stop only when we get a success. 5 / 26

Geometric Distribution What does the distribution look like for X Geo(p)? f(x) 0.0 0.2 0.4 0.6 0.8 1.0 p=0.8 p=0.5 p=0.2 1 2 3 4 5 6 7 8 9 10 x Is f(x) a legitimate probability mass function? (1 p) x 1 p = p + (1 p)p + (1 p) 2 p +?= 1 x=1 Mathematically this works out because x=0 a x = 1 1 a for 0 < a < 1 6 / 26

Geometric Distribution Definition (Mean and Variance for Geometric Distribution) If X is a geometric random variable with parameter p, then µ = E(X) = 1 p and σ 2 = V (X) = 1 p p 2 Example (Weld strength) A test of weld strength involves loading welded joints until a fracture occurs. For a certain type of weld, 80% of the fractures occur in the weld itself, while the other 20% occur in the beam. A number of welds are tested and the tests are independent. Let X be the number of tests up to and including the first test that results in observing a beam fracture. 1. Find P (X 3) {i.e. Find the probability that the first beam fracture happens on the third trial or later.} 7 / 26

Geometric Distribution Example (Weld strength, cont.) 1. Find P (X 3) {i.e. Find the probability that the first beam fracture happens on the third trial or later.} ANS: Either a weld fracture or a beam fracture will occur on each Bernoulli trial. We ll call a success a beam fracture. X is a geometric random variable with p = 0.20. P (X 3) = 1 P (X < 3) = 1 [P (X = 1) + P (X = 2)] = 1 [0.20 + (0.80)(0.20)] = 0.64 {complement} 8 / 26

Geometric Distribution Example (Weld strength, cont.) 2. Find E(X) and V (X) and the standard deviation of X. ANS: E(X) = 1 p = 1 0.20 = 5 σ 2 = V (X) = 1 p p 2 = 0.8 (0.2) 2 = 20 σ = V (X) = 20 4.47 9 / 26

Negative Binomial Distribution This distribution is similar to the geometric distribution, but now we re interested in continuing the independent Bernoulli trials until r successes have been found (you must specify r). Example (Weld strength, cont.) Find the probability that the 3rd beam fracture (success) occurs on the 6th trial. ANS: Recall, P (success) = P (beam fracture) = 0.2 We want the probability that there were 2 successes somewhere within the first 5 trials, and the 6th trial WAS a success. [( ) ] 5 probability = (0.2) 2 2 (0.8) 3 (0.2) = ( 5 2 ) (0.8) 3 (0.2) 3 = 10 (0.8) 3 (0.2) 3 = 0.04096 10 / 26

Negative Binomial Distribution Definition (Negative Binomial Distribution) In a series of Bernoulli trials (independent trials with constant probability p of success), let the random variable X denote the number of trials until r successes occur. Then, X is a negative binomial random variable with parameters 0 < p < 1 and r = 1, 2, 3,... and the probability mass function of X is f(x) = ( x 1 r 1 ) (1 p) x r p r for x = r, r + 1, r + 2,... Note that at least r trials are needed to get r successes. NOTE: the geometric distribution is a special case of the negative binomial distribution such that r = 1. 11 / 26

Negative Binomial Distribution A visual of the negative binomial distribution (given p and r): 12 / 26

Negative Binomial Distribution Definition (Mean and Variance for Negative Binomial Distribution) If X is a negative binomial random variable with parameters p and r, then µ = E(X) = r/p σ 2 = V (X) = r(1 p)/p 2 Example (Weld strength, cont.) Let X represent the number of trials until 3 beam fractures occur. Then, X follows a negative binomial distribution with parameters p = 0.2 and r = 3. When will the 3rd beam fracture likely occur? On the 3 rd trial? On the 4 th trial? 13 / 26

Negative Binomial Distribution Example (Weld strength, cont.) f(x) 0.00 0.01 0.02 0.03 0.04 0.05 0.06 10 20 30 40 X 1 Find P (X = 4). ANS: 2 Find the expected value of X and the variance of X. ANS: E(X) = 3 0.2 =15 σ 2 = V (X) = 3(0.8) (0.2) 2 = 60 and σ = 60 7.746 14 / 26

Negative Binomial Distribution Example (Participants in study) A pediatrician wishes to recruit 5 couples, each of whom is expecting their first child, to participate in a new natural childbirth regimen. Let p = P (a randomly selected couple agrees to participate). If p = 0.15, what is the probability that 15 couples must be asked before 5 are found who agree to participate? That is, with S = agrees to participate, what is the probability that 10 F s occur before the fifth S? ANS: Let X represent the trial on which the 5 th success occurs. X is a negative binomial r.v. with r = 5 and p = 0.15. P (X = 15) = f(15) = ( 14 4 ) (.85) 10.15 5 = 0.0150 15 / 26

Hypergeometric Distribution The hypergeometric distribution has many applications in finite population sampling. Drawing from a relatively small population without replacement. When removing one object from the population of interest affects the next probability (this is in contrast to sequential trials for the binomial which had independent draws, where the probability of a success remained constant at p). When sequential draws are not independent, the probability depends on what occurred in earlier draws. 16 / 26

Hypergeometric Distribution Example (Acceptance sampling) Suppose a retailer buys goods in lots and each item in the lot can be either acceptable or defective. N = Total number of items in the lot K = Number of defectives in the lot If N = 25 and K = 6, what is the probability that a sample of size 10 has no defectives? We could apply our counting techniques to calculate this, but here, we ll use the general formula for the hypergeometric probability distribution... 17 / 26

Hypergeometric Distribution (Sampling without replacement in a small finite population) Definition (Hypergeometric Distribution) A set of N objects contains: K objects classified as successes N K objects classified as failure A sample of size n objects is selected randomly (without replacement) from the N objects, where K N and n N. Let the random variable X denote the number of successes in the sample. Then X is a hypergeometric random variable and f(x) = K x N K n x N n for x = max{0, n (N K)} to min{k, n} 18 / 26

Hypergeometric Distribution Example (Acceptance sampling, cont.) Set-up the hypergeometric distribution... Information we re given: There are 25 objects altogether, and 6 are defectives. We also know that we are going to choose or sample 10 objects. We re going to calculate the probability of choosing 0 defects, so we ll label getting a defect as a success (it s just a label). A set of N = 25 objects contains: K = 6 objects classified as successes N K = 19 objects classified as failure And n = 10 (we re choosing 10 objects). 19 / 26

Hypergeometric Distribution Example (Acceptance sampling, cont.) What is the probability that a sample of size 10 has no defectives? ANS: Let X be the number of defectives (or successes) found in a sample of size n=10. X is a hypergeometric random variable. Need to calculate P (X = 0). Use the probability mass function for X (shown below) to calculate this probability: 6 19 x 10 x P (X = x) = f(x) = 25 for x {0, 1, 2, 3, 4, 5, 6} 10 20 / 26

Hypergeometric Distribution Example (Acceptance sampling, cont.) ( ) ( 6 19 ) P (X = 0) = f(0) = 0 10 ( ) = 0.0283 25 10 You can use the PMF to generate the probability for any relevant x... 6 19 x 10 x P (X = x) = f(x) = 25 10 f(x) 0.00 0.10 0.20 0.30 0 1 2 3 4 5 6 X No#ce that even though you're drawing n=10 it is impossible to draw any more than 6 successes (there's only 6 altogether). 21 / 26

Hypergeometric Distribution POSSIBLE VALUES FOR X if X is a hypergeometric random variable: highest possible = min{k, n} The largest number of successes you can have is either K (the # of successful objects present) or the number of trials (whichever of these is a smaller number, thus, min{k, n}). lowest possible = max{0, n (N K)} If there are only a few failure objects available, then you ll have to choose some successes simply by default. If there s only a few failures, the smallest possible number of successes is not 0 and specifically it is n (# of failures in the total pool)= n (N K). If the number of failures is n, then you can have all failures, and the number of successes X can be 0. So, the smallest number of successes you can have depends on the number of non-successes (N K) and how many you re choosing n. 22 / 26

Hypergeometric Distribution Example (Acceptance sampling, cont.) Continuing the example... N = 25 K = 6 N K = 19 n = 10 {successes} {failures} {number chosen} Minimum possible value of X? 0 max{0, n (N K)} = max{0, 10 19} = max{0, 9} Maximum possible value of X? 6 min{k, n} = min{6, 10} For the hypergeometric, you want to be able to recognize that you have a finite pool you re drawing from without replacement (i.e. not independent sequential draws), and be able to compute the probabilities using the probability mass function. 23 / 26

Hypergeometric Distribution Definition (Mean and Variance for Hypergeometric Distribution) If X is a negative hypergeometric random variable with parameters N, K and n, then µ = E(X) = np σ 2 = V (X) = np (1 p) ( ) N n N 1 where p = K N. 24 / 26

Hypergeometric Distribution Example (Acceptance sampling, cont.) Find the E(X) and V (X). ANS: n = 10, N = 25, K = 6 p = K/N = 6/25 = 0.24 µ = E(X) = 10 (6/25) = 2.4 σ 2 = V (X) = 10 (6/25) (19/25) (15/24) = 1.14 25 / 26

Poisson Distribution Section 3.9 Poisson Distribution This discrete distribution will not be on Midterm Exam 1, but it will be on Midterm Exam 2 instead. 26 / 26