Binomial Random Variables. Binomial Random Variables

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

Chapter 3 Discrete Random Variables and Probability Distributions

Chapter 3 Discrete Random Variables and Probability Distributions

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

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

Chapter 3 - Lecture 5 The Binomial Probability Distribution

MA : Introductory Probability

Bernoulli and Binomial Distributions

STOR Lecture 7. Random Variables - I

The Binomial distribution

Probability Distributions for Discrete RV

Chapter 7. Sampling Distributions and the Central Limit Theorem

Statistics 6 th Edition

Probability mass function; cumulative distribution function

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

5.4 Normal Approximation of the Binomial Distribution

The binomial distribution p314

Stat511 Additional Materials

Random Variables CHAPTER 6.3 BINOMIAL AND GEOMETRIC RANDOM VARIABLES

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

Some Discrete Distribution Families

Random Variables Handout. Xavier Vilà

Chapter 7. Sampling Distributions and the Central Limit Theorem

Probability and Statistics

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

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

AP Statistics Ch 8 The Binomial and Geometric Distributions

Binomial and multinomial distribution

Elementary Statistics Lecture 5

Random Variables. Chapter 6: Random Variables 2/2/2014. Discrete and Continuous Random Variables. Transforming and Combining Random Variables

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

Discrete Random Variables and Probability Distributions

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

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

MATH 264 Problem Homework I

The Binomial Probability Distribution

4 Random Variables and Distributions

Section 8.4 The Binomial Distribution

Discrete Random Variables

Random Variables and Probability Functions

The Bernoulli distribution

4.2 Bernoulli Trials and Binomial Distributions

Chapter 5. Sampling Distributions

CHAPTER 6 Random Variables

15.063: Communicating with Data Summer Recitation 3 Probability II

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

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

CIVL Discrete Distributions

Chapter 6: Random Variables

2011 Pearson Education, Inc

5.3 Statistics and Their Distributions

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

Statistical Methods for NLP LT 2202

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

Tuesday, December 12, 2017 Warm-up

Business Statistics 41000: Probability 4

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

Chapter 3 Discrete Random Variables and Probability Distributions

Engineering Statistics ECIV 2305

Probability Distributions: Discrete

MA 1125 Lecture 12 - Mean and Standard Deviation for the Binomial Distribution. Objectives: Mean and standard deviation for the binomial distribution.

Part 10: The Binomial Distribution

Probability Distributions: Discrete

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

Chpt The Binomial Distribution

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Counting Basics. Venn diagrams

chapter 13: Binomial Distribution Exercises (binomial)13.6, 13.12, 13.22, 13.43

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

LECTURE CHAPTER 3 DESCRETE RANDOM VARIABLE

Chapter 17 Probability Models

Expected Value and Variance

Chapter 9: Sampling Distributions

Review of the Topics for Midterm I

Probability Models.S2 Discrete Random Variables

5.2 Random Variables, Probability Histograms and Probability Distributions

Binomal and Geometric Distributions

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

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

Central Limit Theorem 11/08/2005

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

Chapter 5: Probability models

Random Variable: Definition

Chapter 7: Point Estimation and Sampling Distributions

Math 243 Section 4.3 The Binomial Distribution

Lean Six Sigma: Training/Certification Books and Resources

Homework Assignments

The Binomial Distribution

ME3620. Theory of Engineering Experimentation. Spring Chapter III. Random Variables and Probability Distributions.

ECON 214 Elements of Statistics for Economists 2016/2017

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

STA Module 3B Discrete Random Variables

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

ECON 214 Elements of Statistics for Economists 2016/2017

8.1 Binomial Distributions

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

Math 14 Lecture Notes Ch. 4.3

CHAPTER 8 PROBABILITY DISTRIBUTIONS AND STATISTICS

Statistical Methods in Practice STAT/MATH 3379

Transcription:

Bernoulli Trials Definition A Bernoulli trial is a random experiment in which there are only two possible outcomes - success and failure. 1 Tossing a coin and considering heads as success and tails as failure. 2 Checking items from a production line: success = not defective, failure = defective. 3 Phoning a call centre: success = operator free; failure = no operator free.

Bernoulli Random Variables If S is a sample space and E is an event, then the random variable { 1 if ω E X (ω) = 0 if ω E c is a Bernoulli random variable with parameter p = P(E).

Bernoulli Random Variables For any Bernoulli random variable, P(X = 1) = p P(X = 0) = 1 p. It can be easily checked that the mean and variance of a Bernoulli random variable are E(X ) = p V (X ) = p(1 p).

Binomial Experiments Consider the following type of random experiment: 1 The experiment consists of n repeated Bernoulli trials - each trial has only two possible outcomes labelled as success (s) and failure (f ); 2 The trials are independent - the outcome of any trial has no effect on the probability of the others; 3 The probability of success in each trial is constant which we denote by p. Such an experiment is a binomial experiment with n trials and parameter p.

Binomial Experiments The outcomes of a binomial experiment with 3 trials are (s, s, s), (s, s, f ), (s, f, s), (f, s, s), (f, f, s), (f, s, f ), (s, f, f ), (f, f, f ). In general, the outcomes of a binomial experiment with n trials will be n-tuples (x 1, x 2,..., x n ) where each x i is either s or f.

Definition The random variable X that counts the number of successes, k, in the n trials of a binomial random experiment is a binomial random variable with parameters n and p. The probability mass function of a binomial random variable X with parameters n and p is ( ) n f (k) = P(X = k) = p k (1 p) n k k for k = 0, 1, 2, 3,..., n. ( n ) k counts the number of outcomes that include exactly k successes and n k failures.

- Examples Example A biased coin is tossed 6 times. The probability of heads on any toss is 0.3. Let X denote the number of heads that come up. Calculate: (i) P(X = 2) (ii) P(X = 3) (iii) P(1 < X 5).

Binomial RVs - Examples Example (i) If we call heads a success then this X has a binomial distribution with parameters n = 6 and p = 0.3. ( ) 6 P(X = 2) = (0.3) 2 (0.7) 4 = 0.324135 2 (ii) P(X = 3) = (iii) We need P(1 < X 5) ( ) 6 (0.3) 3 (0.7) 3 = 0.18522. 3 P(X = 2) + P(X = 3) + P(X = 4) + P(X = 5) = 0.324 + 0.185 + 0.059 + 0.01 = 0.578

Binomial RVs - Example Example As part of a quality control process, an engineer randomly selects a batch of 12 DVD players from each day s production. The day s production is acceptable provided no more than 1 DVD player fails to meet specifications. Otherwise, the entire day s production has to be tested. (i) What is the probability that the engineer passes a day s production as acceptable if only 80% of the day s DVD players actually conform to specification? (ii) What is the probability that the engineer requires the entire day s production to be tested if in fact 90% of the DVD players conform to specifications?

Example Example (i) Let X denote the number of DVD players in the sample that fail to meet specifications. In part (i) we want P(X 1) with binomial parameters n = 12, p = 0.2. P(X 1) = P(X = 0) + P(X = 1) ( ) ( ) 12 12 = (0.2) 0 (0.8) 12 + (0.2) 1 (0.8) 11 0 1 = 0.069 + 0.206 = 0.275

Example Example (ii) We now want P(X > 1) with parameters n = 12, p = 0.1. P(X 1) = P(X = 0) + P(X = 1) ( ) 12 = (0.1) 0 (0.9) 12 + 0 = 0.659 So P(X > 1) = 0.341. ( 12 1 ) (0.1) 1 (0.9) 11

Binomial Rvs - Mean and Variance 1 Any binomial random variable X with parameters n and p is a sum of n independent Bernoulli random variables in which the probability of success is p. X = X 1 + X 2 + + X n. 2 The mean and variance of each X i can easily be calculated as: E(X i ) = p, V (X i ) = p(1 p). 3 Hence the mean and variance of X are given by (remember the X i are independent) E(X ) = np, V (X ) = np(1 p).

Binomial Distribution - Examples Example Bits are sent over a communications channel in packets of 12. If the probability of a bit being corrupted over this channel is 0.1 and such errors are independent, what is the probability that no more than 2 bits in a packet are corrupted? If 6 packets are sent over the channel, what is the probability that at least one packet will contain 3 or more corrupted bits? Let X denote the number of packets containing 3 or more corrupted bits. What is the probability that X will exceed its mean by more than 2 standard deviations?

Binomial Distribution - Examples Example Let C denote the number of corrupted bits in a packet. Then in the first question, we want P(C 2) = P(C = 0) + P(C = 1) + P(C = 2). ( ) 12 P(C = 0) = (0.1) 0 (0.9) 12 = 0.282 0 ( ) 12 P(C = 1) = (0.1) 1 (0.9) 11 = 0.377 P(C = 2) = 1 ( 12 2 ) (0.1) 2 (0.9) 10 = 0.23 So P(C 2) = 0.282 + 0.377 + 0.23 = 0.889.

Binomial Distribution - Examples Example The probability of a packet containing 3 or more corrupted bits is 1 0.889 = 0.111. Let X be the number of packets containing 3 or more corrupted bits. X can be modelled with a binomial distribution with parameters n = 6, p = 0.111. The probability that at least one packet will contain 3 or more corrupted bits is: ( ) 6 1 P(X = 0) = 1 (0.111) 0 (0.889) 6 = 0.494. 0 The mean of X is µ = 6(0.111) = 0.666 and its standard deviation is σ = 6(0.111)(0.889) = 0.77.

Binomial Distribution - Examples So the probability that X exceeds its mean by more than 2 standard deviations is P(X µ > 2σ) = P(X > 2.2). As X is discrete, this is equal to P(X 3) P(X = 1) = P(X = 2) = ( ) 6 (0.111) 1 (0.889) 5 = 0.37 1 ( ) 6 (0.111) 2 (0.889) 4 = 0.115. 2 So P(X 3) = 1 (.506 +.37 +.115) = 0.009.

Geometric Random Variables X 1, X 2,..., X k,... is a sequence of independent Bernoulli trials each with probability of success p. The geometric random variable Y records the time at which the first success occurs. The first success occurs on the kth trial when the first k 1 trials are failures, followed by a success on the kth trial. The pmf of Y is thus P(Y = k) = p(1 p) k 1.

Geometric Random Variables It can be shown that for a geometric random variable with parameter p, E[Y ] = 1 p ; V [Y ] = 1 p p 2. Example A biassed coin such that P(H) = 0.75 is tossed repeatedly (H denotes heads). What is the probability that the first time tails comes up is on the 5th toss? If we count tails as success, this is a geometric random variable with parameter p = 0.25. P(Y = 5) = 0.25(0.75) 4. Also the expected number of tosses before tails comes up is 1 0.25 = 4.

Negative More generally, the random variable describing the time of the r th success is a negative binomial random variable. This has probability mass function given by ( ) k 1 P(Y r = k) = p r (1 p) k r r 1 for k = r, r + 1,.... E[Y r ] = r p, V [Y r ] = r(1 p) p 2.

Negative Example Continuing the earlier example of the biassed coin, the probability of getting the 3rd tail on the 6th toss is ( ) 5 P(Y 3 = 6) = (0.25) 3 (0.75) 3. 2 Similarly, the probability that the 2nd tail comes up on the 7th toss is ( ) 6 P(Y 2 = 7) = (0.25) 2 (0.75) 5. 1