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)

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

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

Probability Distributions for Discrete RV

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

Some Discrete Distribution Families

Chapter 7. Sampling Distributions and the Central Limit Theorem

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

Chapter 7. Sampling Distributions and the Central Limit Theorem

MA : Introductory Probability

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

Statistics 6 th Edition

Chapter 4 Probability Distributions

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

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

Chapter 5. Sampling Distributions

4 Random Variables and Distributions

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series

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

Simple Random Sample

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

The normal distribution is a theoretical model derived mathematically and not empirically.

Probability and Statistics

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

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

Discrete Random Variables and Probability Distributions

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

Data Science Essentials

The Binomial distribution

2011 Pearson Education, Inc

Statistical Methods in Practice STAT/MATH 3379

Random Variable: Definition

Probability mass function; cumulative distribution function

CS145: Probability & Computing

Random Variables Handout. Xavier Vilà

Statistics for Managers Using Microsoft Excel 7 th Edition

STAT Mathematical Statistics

Chapter 5: Probability models

Lean Six Sigma: Training/Certification Books and Resources

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

The Binomial and Geometric Distributions. Chapter 8

Discrete Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions

Commonly Used Distributions

MATH 264 Problem Homework I

ECON 214 Elements of Statistics for Economists 2016/2017

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

Chapter 7: Point Estimation and Sampling Distributions

The Binomial Probability Distribution

Probability Models.S2 Discrete Random Variables

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

Bernoulli and Binomial Distributions

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

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.

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Chapter 4 Continuous Random Variables and Probability Distributions

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

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

CIVL Discrete Distributions

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

Stat 20: Intro to Probability and Statistics

Binomial and multinomial distribution

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

Chapter 5: Statistical Inference (in General)

Discrete Probability Distributions and application in Business

Chapter 7: Random Variables

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

Stat511 Additional Materials

Statistics Class 15 3/21/2012

Discrete Probability Distribution

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

STOR Lecture 7. Random Variables - I

Chapter 3 Statistical Quality Control, 7th Edition by Douglas C. Montgomery. Copyright (c) 2013 John Wiley & Sons, Inc.

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

Probability Distributions

CIVL Learning Objectives. Definitions. Discrete Distributions

TOPIC: PROBABILITY DISTRIBUTIONS

Chapter 17 Probability Models

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

STAT Chapter 4/6: Random Variables and Probability Distributions

Random Variables and Probability Functions

Chapter 5. Statistical inference for Parametric Models

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

Probability Distributions: Discrete

5.4 Normal Approximation of the Binomial Distribution

STA 220H1F LEC0201. Week 7: More Probability: Discrete Random Variables

Mean of a Discrete Random variable. Suppose that X is a discrete random variable whose distribution is : :

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

4.2 Bernoulli Trials and Binomial Distributions

The Bernoulli distribution

Chapter 6: Random Variables

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 3. Discrete Probability Distributions

Probability and Statistics for Engineers

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

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

Probability & Statistics Chapter 5: Binomial Distribution

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

Transcription:

Chapter 3 Discrete Random Variables and Probability Distributions Part 3: Special Discrete Random Variable Distributions Section 3.5 Discrete Uniform Section 3.6 Bernoulli and Binomial Others sections will cover: Geometric, Negative Binomial, Hypergeometric, Poisson 1 / 19

Special Discrete Random Variable Distributions A random variable (r.v.) following any of the distributions below is limited to only discrete values. Discrete Uniform Bernoulli Binomial Geometric Negative Binomial Hypergeometric Poisson Some of these special distributions have mass (i.e. positive probability) at only a finite number of values, such as {1, 2, 3} or { 2, 1, 0, 1, 2}. Some of these discrete r.v. distributions have mass at a countably infinite number of values, like {0, 1, 2, 3,...} 2 / 19

Discrete Uniform Distribution Definition (Discrete Uniform Distribution) A random variable X has a discrete uniform distribution if each of the n values in its range, say x 1, x 2,..., x n, has equal probability. Then, f(x i ) = 1 n where f(x) represents the probability mass function (PMF). Example (Discrete Uniform Distribution) One example for n = 10: 3 / 19

Discrete Uniform Distribution Example (Discrete Uniform Distribution, cont.) Let X represent a random variable taking on the possible values of {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, and each possible value has equal probability. This is a discrete uniform distribution and the probability for each of the 10 possible value is P (X = x i ) = f(x i ) = 1 10 = 0.10 4 / 19

Discrete Uniform Distribution - Mean and Variance Definition (Mean and Variance for Discrete Uniform Distribution) Suppose X is a discrete uniform random variable on the consecutive integers a, a + 1, a + 2,..., b for a b. The mean of X is The variance of X is µ = E(X) = b+a 2 σ 2 = (b a+1)2 1 12 NOTE: If you compute the mean and variance by their definitions (i.e. using the possible x-values from a to b, f(x i ) = 1 n, E(X) = x f(x),etc.), you will derive the above formulas. But for the special distributions, you just need to know how to use the above formulas to get the mean and variance, not derive it yourself. 5 / 19

Discrete Uniform Distribution - Mean and Variance Example (Discrete Uniform Distribution) What is the mean and variance of the random variable X described on the previous page? I.e. X is distributed uniform discrete on {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. ANS: 6 / 19

Suppose a trial has only two outcomes, denoted by S for success and F for failure with P (S) = p and P (F ) = 1 p. For example, a coin toss where a Head is a success S and a Tail is a failure F. Such a trial is called a Bernoulli trial. If we perform a random experiment by repeating n independent Bernoulli trials, then the random variable X representing the number of successes in the n trials has a binomial distribution. The possible values for binomial random variable X depends on the number of Bernoulli trials independently repeated, and is {0, 1, 2,..., n}. Prior to the experiment, the number of successes to occur is unknown, but you could have as few as 0 successes, or as many as n successes. 7 / 19

Example (Binomial Distribution with p(success) = 0.4) Suppose 40% of a large population of registered voters favor candidate Obama. A random sample of n = 5 voters will be selected, and X, the number favoring Obama out of 5, is to be observed. What is the probability of getting no one who favors Obama (i.e. what is P (X = 0) )? ANS: NOTE ON PROBLEM SET-UP: We assume here that this is a very large population. Thus, we assume that drawing one person at random without replacement who favors Obama will not substantially change the probability in subsequent draws. This means we have 5 independent trials, with the same probability of choosing an Obama supporter each time. And each trial is labeled as S or F. 8 / 19

Example (Binomial Distribution with p(success) = 0.4, cont.) We ll consider picking someone who favors Obama a success and X is the number of successes. (The terms success and failure are just labels). p = P (success) = 0.40 1 p = P (failure) = 0.60 Either Yes (S) or No (F ) on each of 5 draws. X (the number out of 5 favoring Obama) follows a binomial distribution. What is the probability of getting 0 persons who favors Obama? P (X = 0) = (0.6)(0.6)(0.6)(0.6)(0.6) No No No No No = (0.6) 5 = 0.07776 {independence between events} 9 / 19

Example (Binomial Distribution with p(success) = 0.4, cont.) What is the probability of getting 1 person who favors Obama? (5 configurations of Y and N...) P (X = 1) = (0.4)(0.6)(0.6)(0.6)(0.6) Y No No No No + (0.6)(0.4)(0.6)(0.6)(0.6) No Y No No No... + (0.6)(0.6)(0.6)(0.6)(0.4) No No No No Y = ( 5 1 ) (0.4) 1 (0.6) 4 = 0.25920 10 / 19

Example (Binomial Distribution with p(success) = 0.4, cont.) What is the probability of getting 2 person who favors Obama? P (X = 2) =? How many configurations of 2 Yes and 3 No s can we have? We have 5 slots to fill. probability ("")" 5 """"""""5!" """="""""""""""""="10" 2""""""""""2!"3!" Y"""Y""N""N""N" Y"""N""Y""N""N"."."." N""N""N""Y"""Y" (0.4)(0.4)(0.6)(0.6)(0.6)" (0.4)(0.6)(0.4)(0.6)(0.6)"."."." (0.6)(0.6)(0.6)(0.4)(0.4)" P (X = 2) = ( 5 2 10 configurations ) (0.4) 2 (0.6) 3 = 10 (0.4) 2 (0.6 3 ) = 0.34560 11 / 19

Example (Binomial Distribution with p(success) = 0.4, cont.) We ll finish out the probability distribution for X... P (X = 3) = P (X = 4) = P (X = 5) = ( 5 3 ( 5 4 ( 5 5 ) (0.4) 3 (0.6) 2 = 10 (0.4) 3 (0.6) 2 = 0.23040 ) (0.4) 4 (0.6) 1 = 5 (0.4) 4 (0.6) 1 = 0.07680 ) (0.4) 5 (0.6) 0 = 1 (0.4) 5 = 0.01024 Note: 5 i=0 P (X = i) = 1 as this is a legitimate discrete probability distribution for X {0, 1, 2, 3, 4, 5}. 12 / 19

Definition (Binomial Distribution) A random experiment consists of n Bernoulli trials such that 1 The trials are independent 2 Each trial results in only two possible outcomes labeled as success and failure (dichotomous) 3 The probability of a success in each trial denotes as p, remains constant The random variable X that equals the number of trials that result in a success is a binomial random variable with parameters p and n and 0 < p < 1 and n = 1, 2,.... The probability mass function ( ) (PMF) of X is n f(x) = p x x (1 p) n x for x = 0, 1, 2,..., n 13 / 19

Example (Sampling water) Each sample of water has a 10% chance of containing a particular organic pollutant. Assume that the samples are independent with regard to the presence of the pollutant. Let X = the number of samples that contain the pollutant in the next 18 samples analyzed. Then X is a binomial random variable with p = 0.10 and n = 18. 1. Find the probability that in the next 18 samples, exactly 2 contain the pollutant. ANS: 14 / 19

Example (Sampling water,cont.) 2. Find the probability that 3 X 5. ANS: 3. Find the probability that X 2. ANS: 15 / 19

Definition (Mean and Variance for Binomial Distribution) If X is a binomial random variable with parameters p and n, then the mean of X is µ = E(X) = np the variance of X is σ 2 = V (X) = np(1 p) NOTATION: If X follows a binomial distribution with parameters p and n, we sometimes just write X Bin(n, p) 16 / 19

Example (Sampling water,cont.) Each sample of water has a 10% chance of containing a particular organic pollutant. Assume that the samples are independent with regard to the presence of the pollutant. Let X = the number of samples that contain the pollutant in the next 18 samples analyzed. Then X is a binomial random variable with p = 0.10 and n = 18. Compute the expected value and variance of X with X Bin(18, 0.10). ANS: E(X) = V (X) = If X follows a binomial distribution, then X is a discrete random variable. 17 / 19

What does the binomial distribution look like? Well, it depends on the parameters p and n. Here we see a few different binomial distributions... Example (Binomial Distributions PMF) X Bin(10, 0.5) X Bin(10, 0.2) equal chance of small chance of success/failure success probability 0.0 0.1 0.2 0.3 0.4 probability 0.0 0.1 0.2 0.3 0.4 0 2 4 6 8 10 x 0 2 4 6 8 10 x 18 / 19

What does the binomial distribution look like? Well, it depends on the parameters p and n. Here we see a few different binomial distributions... Example (Binomial Distributions PMF) X Bin(10, 0.8) X Bin(10, 0.9) large chance of even larger chance success of success probability 0.0 0.1 0.2 0.3 0.4 probability 0.0 0.1 0.2 0.3 0.4 0 2 4 6 8 10 x 0 2 4 6 8 10 x 19 / 19