Bernoulli and Binomial Distributions

Similar documents
Binomial Random Variables. Binomial Random Variables

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

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

STAT Mathematical Statistics

Elementary Statistics Lecture 5

The Bernoulli distribution

Central Limit Thm, Normal Approximations

Geometric & Negative Binomial Distributions

MATH 118 Class Notes For Chapter 5 By: Maan Omran

Expected Value and Variance

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

SOME MOST POPULAR DISTRIBUTIONS OF RANDOM VARIABLES

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

Probability Distributions for Discrete RV

Chapter 6: Random Variables and Probability Distributions

Chapter 3 - Lecture 5 The Binomial Probability Distribution

Review of the Topics for Midterm I

Chapter 3 Discrete Random Variables and Probability Distributions

MA : Introductory Probability

Chapter 3 Discrete Random Variables and Probability Distributions

4.2 Bernoulli Trials and Binomial Distributions

LESSON 9: BINOMIAL DISTRIBUTION

CIVL Learning Objectives. Definitions. Discrete 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.

Chapter 7. Sampling Distributions and the Central Limit Theorem

Chapter 7. Sampling Distributions and the Central Limit Theorem

CS 237: Probability in Computing

The Central Limit Theorem. Sec. 8.2: The Random Variable. it s Distribution. it s Distribution

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

Law of Large Numbers, Central Limit Theorem

15.063: Communicating with Data Summer Recitation 3 Probability II

CS145: Probability & Computing

CIVL Discrete Distributions

Math Week in Review #10. Experiments with two outcomes ( success and failure ) are called Bernoulli or binomial trials.

Engineering Statistics ECIV 2305

STAT Chapter 7: Central Limit Theorem

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

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

Chapter 7: Point Estimation and Sampling Distributions

STOR Lecture 7. Random Variables - I

AP Statistics Test 5

E509A: Principle of Biostatistics. GY Zou

Chapter 5. Statistical inference for Parametric Models

Business Statistics 41000: Probability 4

9 Expectation and Variance

Chapter 3 Class Notes Intro to Probability

PROBABILITY DISTRIBUTIONS

6. THE BINOMIAL DISTRIBUTION

Lean Six Sigma: Training/Certification Books and Resources

The Binomial Distribution

Chapter 5. Sampling Distributions

Chapter 3. Discrete Probability Distributions

Chapter 3 - Lecture 3 Expected Values of Discrete Random Va

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

4 Random Variables and Distributions

Binomial and Normal Distributions

STAT 241/251 - Chapter 7: Central Limit Theorem

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 3 - Lecture 4 Moments and Moment Generating Funct

The Binomial Probability Distribution

M3S1 - Binomial Distribution

Stat511 Additional Materials

(Practice Version) Midterm Exam 1

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

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

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

The binomial distribution p314

Probability Distributions: Discrete

The Binomial distribution

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

The binomial 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

TRINITY COLLGE DUBLIN

For more information about how to cite these materials visit

Module 3: Sampling Distributions and the CLT Statistics (OA3102)

A useful modeling tricks.

INF FALL NATURAL LANGUAGE PROCESSING. Jan Tore Lønning, Lecture 3, 1.9

Week 7. Texas A& M University. Department of Mathematics Texas A& M University, College Station Section 3.2, 3.3 and 3.4

1. A player of Monopoly owns properties with respective rents $90, $150, $200, $150. Anyone landing on a given property has to pay the rent.

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

Probability and Statistics

Statistics 6 th Edition

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

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

Binomial distribution

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

Math 166: Topics in Contemporary Mathematics II

Econ 6900: Statistical Problems. Instructor: Yogesh Uppal

Binomial population distribution X ~ B(

What do you think "Binomial" involves?

Probability Models. Grab a copy of the notes on the table by the door

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

Mathematics of Randomness

Chapter 5: Probability

Discrete Random Variables and Probability Distributions

Discrete Random Variables

x is a random variable which is a numerical description of the outcome of an experiment.

Exam 2 Spring 2015 Statistics for Applications 4/9/2015

Statistics for Business and Economics

8.1 Binomial Distributions

Transcription:

Bernoulli and Binomial Distributions

Bernoulli Distribution a flipped coin turns up either heads or tails an item on an assembly line is either defective or not defective a piece of fruit is either damaged or not damaged a cow is either pregnant or not pregnant a child is either female or male X = We can write the pmf as { 1, if the outcome of the trial is a success 0, if the outcome of the trial is a failure { 1, w.p. p X = 0, w.p. q = 1 p p() = p (1 p) 1, = 0, 1 Arthur Berg Bernoulli and Binomial Distributions 2/ 9

Bernoulli Distribution a flipped coin turns up either heads or tails an item on an assembly line is either defective or not defective a piece of fruit is either damaged or not damaged a cow is either pregnant or not pregnant a child is either female or male X = We can write the pmf as { 1, if the outcome of the trial is a success 0, if the outcome of the trial is a failure { 1, w.p. p X = 0, w.p. q = 1 p p() = p (1 p) 1, = 0, 1 Arthur Berg Bernoulli and Binomial Distributions 2/ 9

Bernoulli Distribution a flipped coin turns up either heads or tails an item on an assembly line is either defective or not defective a piece of fruit is either damaged or not damaged a cow is either pregnant or not pregnant a child is either female or male X = We can write the pmf as { 1, if the outcome of the trial is a success 0, if the outcome of the trial is a failure { 1, w.p. p X = 0, w.p. q = 1 p p() = p (1 p) 1, = 0, 1 Arthur Berg Bernoulli and Binomial Distributions 2/ 9

Bernoulli Distribution a flipped coin turns up either heads or tails an item on an assembly line is either defective or not defective a piece of fruit is either damaged or not damaged a cow is either pregnant or not pregnant a child is either female or male X = We can write the pmf as { 1, if the outcome of the trial is a success 0, if the outcome of the trial is a failure { 1, w.p. p X = 0, w.p. q = 1 p p() = p (1 p) 1, = 0, 1 Arthur Berg Bernoulli and Binomial Distributions 2/ 9

Epectation and Variance of Bernoulli(p) E(X) = 1 p() = 0p(0) + 1p(1) = 0(1 p) + 1(p) = p =0 Noting that when X Bernoulli(p), X 2 X, i.e. X 2 has the same distribution as X. var(x) = E(X 2 ) [E(X)] 2 = p p 2 = p(1 p) = pq Arthur Berg Bernoulli and Binomial Distributions 3/ 9

Epectation and Variance of Bernoulli(p) E(X) = 1 p() = 0p(0) + 1p(1) = 0(1 p) + 1(p) = p =0 Noting that when X Bernoulli(p), X 2 X, i.e. X 2 has the same distribution as X. var(x) = E(X 2 ) [E(X)] 2 = p p 2 = p(1 p) = pq Arthur Berg Bernoulli and Binomial Distributions 3/ 9

Epectation and Variance of Bernoulli(p) E(X) = 1 p() = 0p(0) + 1p(1) = 0(1 p) + 1(p) = p =0 Noting that when X Bernoulli(p), X 2 X, i.e. X 2 has the same distribution as X. var(x) = E(X 2 ) [E(X)] 2 = p p 2 = p(1 p) = pq Arthur Berg Bernoulli and Binomial Distributions 3/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Binomial Distribution We are typically interested in n independent Bernoulli trials, each with a probability p of success. Let Y 1, Y 2,..., Y n denote independent and identically-distributed (iid) Bernoulli(p) random variables. The sum X = n i=1 Y i denotes the number of successes among n sampled items. X is defined to be the binomial distribution with n trials and probability p of success, i.e. X binomial(n, p). The pmf of the binomial(n, p) is p() = p (1 p) n = p q n Arthur Berg Bernoulli and Binomial Distributions 4/ 9

Checking the Probability Mass Function Sums to One The pmf of any discrete random variable should sum to one. Recall the binomial theorem: ( + y) n = n y n i i Therefore p() = =0 =0 i=0 p (1 p) n = p + (1 p) n = 1 n = 1 Arthur Berg Bernoulli and Binomial Distributions 5/ 9

Checking the Probability Mass Function Sums to One The pmf of any discrete random variable should sum to one. Recall the binomial theorem: ( + y) n = n y n i i Therefore p() = =0 =0 i=0 p (1 p) n = p + (1 p) n = 1 n = 1 Arthur Berg Bernoulli and Binomial Distributions 5/ 9

Checking the Probability Mass Function Sums to One The pmf of any discrete random variable should sum to one. Recall the binomial theorem: ( + y) n = n y n i i Therefore p() = =0 =0 i=0 p (1 p) n = p + (1 p) n = 1 n = 1 Arthur Berg Bernoulli and Binomial Distributions 5/ 9

Checking the Probability Mass Function Sums to One The pmf of any discrete random variable should sum to one. Recall the binomial theorem: ( + y) n = n y n i i Therefore p() = =0 =0 i=0 p (1 p) n = p + (1 p) n = 1 n = 1 Arthur Berg Bernoulli and Binomial Distributions 5/ 9

Mean and Variance of Binomial(n, p) Recall X binomial(n, p) can be written as X = n i=1 Y i where iid Y 1,..., Y n Bernoulli(p). Therefore ( ) E(X) = E Y i = E(Y i ) = p = np i=1 i=1 i=1 And because of the independence, we similarly calculate the variance to be ( ) var(x) = var Y i = var(y i ) = pq = npq i=1 i=1 i=1 Arthur Berg Bernoulli and Binomial Distributions 6/ 9

Mean and Variance of Binomial(n, p) Recall X binomial(n, p) can be written as X = n i=1 Y i where iid Y 1,..., Y n Bernoulli(p). Therefore ( ) E(X) = E Y i = E(Y i ) = p = np i=1 i=1 i=1 And because of the independence, we similarly calculate the variance to be ( ) var(x) = var Y i = var(y i ) = pq = npq i=1 i=1 i=1 Arthur Berg Bernoulli and Binomial Distributions 6/ 9

Mean and Variance of Binomial(n, p) Recall X binomial(n, p) can be written as X = n i=1 Y i where iid Y 1,..., Y n Bernoulli(p). Therefore ( ) E(X) = E Y i = E(Y i ) = p = np i=1 i=1 i=1 And because of the independence, we similarly calculate the variance to be ( ) var(x) = var Y i = var(y i ) = pq = npq i=1 i=1 i=1 Arthur Berg Bernoulli and Binomial Distributions 6/ 9

Problem From Last Time discrete r.v. s with mean 0 and variance 1 Consider the discrete random variable { a, w.p. p X = b, w.p. 1 p In class, we saw that a = ±1, b = 1, and p = 1/2 we have E(X) = 0 and var(x) = 1. Are there other choices of a, b, and p that will give E(X) = 0 and var(x) = 1? Arthur Berg Bernoulli and Binomial Distributions 7/ 9

Eercise 4.45 (p.147) Arthur Berg Bernoulli and Binomial Distributions 8/ 9

Eercise 4.55 (p.149) Arthur Berg Bernoulli and Binomial Distributions 9/ 9