Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS. Part 3: Discrete Uniform Distribution Binomial Distribution

Similar documents
3.4. The Binomial Probability Distribution. Copyright Cengage Learning. All rights reserved.

Chapter 5. Random variables

WHERE DOES THE 10% CONDITION COME FROM?

Chapter 4 Lecture Notes

Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution

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 )

Random variables, probability distributions, binomial random variable

Section 5 Part 2. Probability Distributions for Discrete Random Variables

The Binomial Probability Distribution

Math 461 Fall 2006 Test 2 Solutions

ST 371 (IV): Discrete Random Variables

STAT 315: HOW TO CHOOSE A DISTRIBUTION FOR A RANDOM VARIABLE

MAS108 Probability I

You flip a fair coin four times, what is the probability that you obtain three heads.

Practice problems for Homework 11 - Point Estimation

An Introduction to Basic Statistics and Probability

10.2 Series and Convergence

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

Chapter 5. Discrete Probability Distributions

Lecture 5 : The Poisson Distribution

Math 431 An Introduction to Probability. Final Exam Solutions

Practice Problems #4

Probability Calculator

6.2. Discrete Probability Distributions

5. Continuous Random Variables

2. Discrete random variables

DETERMINE whether the conditions for a binomial setting are met. COMPUTE and INTERPRET probabilities involving binomial random variables

2WB05 Simulation Lecture 8: Generating random variables

Chapter 4. Probability and Probability Distributions

ECE302 Spring 2006 HW4 Solutions February 6,

STT315 Chapter 4 Random Variables & Probability Distributions KM. Chapter 4.5, 6, 8 Probability Distributions for Continuous Random Variables

IEOR 6711: Stochastic Models I Fall 2012, Professor Whitt, Tuesday, September 11 Normal Approximations and the Central Limit Theorem

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

Lecture 3: Continuous distributions, expected value & mean, variance, the normal distribution

Probability Distribution for Discrete Random Variables

1.1 Introduction, and Review of Probability Theory Random Variable, Range, Types of Random Variables CDF, PDF, Quantiles...

Lecture 10: Depicting Sampling Distributions of a Sample Proportion

Some special discrete probability distributions

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

Math 370/408, Spring 2008 Prof. A.J. Hildebrand. Actuarial Exam Practice Problem Set 2 Solutions

Binomial Probability Distribution

Stats on the TI 83 and TI 84 Calculator

UNIT I: RANDOM VARIABLES PART- A -TWO MARKS

Chapter 5 Discrete Probability Distribution. Learning objectives

4. Continuous Random Variables, the Pareto and Normal Distributions

Binomial random variables (Review)

Lecture 6: Discrete & Continuous Probability and Random Variables

0 x = 0.30 x = 1.10 x = 3.05 x = 4.15 x = x = 12. f(x) =

Statistics and Random Variables. Math 425 Introduction to Probability Lecture 14. Finite valued Random Variables. Expectation defined

Introduction to Probability

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Bayes Theorem. Bayes Theorem- Example. Evaluation of Medical Screening Procedure. Evaluation of Medical Screening Procedure

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].

Statistics 100A Homework 4 Solutions

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 13. Random Variables: Distribution and Expectation

The normal approximation to the binomial

Binomial random variables

Tenth Problem Assignment

Notes on Continuous Random Variables

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

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

What is Statistics? Lecture 1. Introduction and probability review. Idea of parametric inference

SOLUTIONS: 4.1 Probability Distributions and 4.2 Binomial Distributions

Lecture 2: Discrete Distributions, Normal Distributions. Chapter 1

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

E3: PROBABILITY AND STATISTICS lecture notes

6 PROBABILITY GENERATING FUNCTIONS

PROBABILITY AND SAMPLING DISTRIBUTIONS

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Section 6.1 Discrete Random variables Probability Distribution

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.

Chapter 4. Probability Distributions

Binomial Distribution n = 20, p = 0.3

Homework 4 - KEY. Jeff Brenion. June 16, Note: Many problems can be solved in more than one way; we present only a single solution here.

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Statistics 100A Homework 4 Solutions

Lecture 7: Continuous Random Variables

Experimental Design. Power and Sample Size Determination. Proportions. Proportions. Confidence Interval for p. The Binomial Test

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 18. A Brief Introduction to Continuous Probability

Overview of Monte Carlo Simulation, Probability Review and Introduction to Matlab

WEEK #23: Statistics for Spread; Binomial Distribution

Binomial lattice model for stock prices

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables

Cardinality. The set of all finite strings over the alphabet of lowercase letters is countable. The set of real numbers R is an uncountable set.

Section 5-3 Binomial Probability Distributions

Normal Approximation. Contents. 1 Normal Approximation. 1.1 Introduction. Anthony Tanbakuchi Department of Mathematics Pima Community College

Unit 4 The Bernoulli and Binomial Distributions

e.g. arrival of a customer to a service station or breakdown of a component in some system.

STAT x 0 < x < 1

Normal Distribution as an Approximation to the Binomial Distribution

The Binomial Distribution. Summer 2003

Probability Distributions

Binomial Random Variables

Math 151. Rumbos Spring Solutions to Assignment #22

University of California, Los Angeles Department of Statistics. Random variables

Joint Exam 1/P Sample Exam 1

Transcription:

Chapter 3: DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS Part 3: Discrete Uniform Distribution Binomial Distribution Sections 3-5, 3-6 Special discrete random variable distributions we will cover in this chapter: Discrete Uniform Bernoulli Binomial Geometric Negative Binomial Hypergeometric Poisson A random variable (r.v.) following any of these distributions is limited to only discrete values. 1

Some of these special distributions have mass (i.e. positive probability) at only a finite number of values, such as {1, 2, 3, 4, 5} or {0.10, 0.15, 0.20}. Some of these distributions have mass at a countably infinite number of values, like {0, 1, 2, 3,...} 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). One example for n = 10: 2

Example: 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 3

Mean and Variance of a 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 µ = E(X) = b+a 2 The variance of X is σ 2 = (b a+1)2 1 12 If you compute the mean and variance by their definitions (using the possible x-values and their probabilities), you will derive the above formulas. But for the common distributions, you just need to know how to use the formulas to get the mean and variance. 4

Example: What is the mean and variance of the random variable X described on the previous page? X is distributed uniform discrete on {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. 5

Binomial Distribution Section 3-6 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 and a Tail is a failure. 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}. 6

Example: Suppose 40% of a large population of registered voters favor the 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. P (X = 0) )? Because drawing one person at random out of this HUGE population will not substantially change the probabilities on subsequent draws, we assume each pick is independent of the other picks. 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 7

Either Yes or No on each of 5 draws. X (the number out of 5 favoring Obama) follows a binomial distribution. P (X = 0) = (0.6)(0.6)(0.6)(0.6)(0.6) No No No No No = (0.6) 5 = 0.07776 What is the probability of getting 1 person who favors Obama? (5 configurations...) 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 8

What is the probability of getting 2 persons 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 9

We ll finish out the probability distribution for X... P (X = 3) = ( 5 3 ) (0.4) 3 (0.6) 2 = 10 (0.4) 3 (0.6) 2 = 0.23040 P (X = 4) = ( 5 4 ) (0.4) 4 (0.6) 1 = 5 (0.4) 4 (0.6) 1 = 0.07680 P (X = 5) = ( 5 5 ) (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. 10

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 11

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. 12

2. Find the probability that 3 X 5. 3. Find the probability that X 2. 13

Mean and Variance of Binomial Distribution If X is a binomial random variable with parameters p and n, then µ = E(X) = np σ 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) 14

Example: Returning to the sampling water random variable X... Compute the expected value and variance of X with X Bin(18, 0.10). E(X) = V (X) = If X follows a binomial distribution, X is a discrete random variable. What does the distribution look like? (next slide shows a few different binomial distributions) 15

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 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 16