Binomial Random Variables. Binomial experiment A sequence of n trials (called Bernoulli trials), each of which results in either a “success” or a “failure”.

Slides:



Advertisements
Similar presentations
Modeling of Data. Basic Bayes theorem Bayes theorem relates the conditional probabilities of two events A, and B: A might be a hypothesis and B might.
Advertisements

Discrete Uniform Distribution
Chapter 5 Some Important Discrete Probability Distributions
Chapter 5 Discrete Random Variables and Probability Distributions
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
The Bernoulli distribution Discrete distributions.
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics for.
CHAPTER 13: Binomial Distributions
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.3 Binomial and Geometric Random Variables.
Chapter 2 Discrete Random Variables
Chapter 4 Discrete Random Variables and Probability Distributions
5.1 Sampling Distributions for Counts and Proportions.
Descriptive statistics Experiment  Data  Sample Statistics Sample mean Sample variance Normalize sample variance by N-1 Standard deviation goes as square-root.
Hypergeometric Random Variables. Sampling without replacement When sampling with replacement, each trial remains independent. For example,… If balls are.
Discrete Probability Distributions
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Copyright © Cengage Learning. All rights reserved. 6 Point Estimation.
Class notes for ISE 201 San Jose State University
Statistics for Managers Using Microsoft® Excel 5th Edition
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Discrete Distributions
Chapter 5 Sampling Distributions
Estimation Basic Concepts & Estimation of Proportions
PBG 650 Advanced Plant Breeding
Chapter 5 Some Discrete Probability Distributions.
Section 15.8 The Binomial Distribution. A binomial distribution is a discrete distribution defined by two parameters: The number of trials, n The probability.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Lecture 4 1 Discrete distributions Four important discrete distributions: 1.The Uniform distribution (discrete) 2.The Binomial distribution 3.The Hyper-geometric.
AP Statistics: Section 8.2 Geometric Probability.
Random Sampling, Point Estimation and Maximum Likelihood.
Random Variables Section 3.1 A Random Variable: is a function on the outcomes of an experiment; i.e. a function on outcomes in S. For discrete random variables,
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Basic Business Statistics.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
COMP 170 L2 L17: Random Variables and Expectation Page 1.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 6: Random Variables Section 6.3 Day 1 Binomial and Geometric Random.
King Saud University Women Students
Chapter 16 Random Variables Random Variable Variable that assumes any of several different values as a result of some random event. Denoted by X Discrete.
The Binomial Distribution
Expectation. Let X denote a discrete random variable with probability function p(x) (probability density function f(x) if X is continuous) then the expected.
Some Common Discrete Random Variables. Binomial Random Variables.
Chapter 4-5 DeGroot & Schervish. Conditional Expectation/Mean Let X and Y be random variables such that the mean of Y exists and is finite. The conditional.
Statistics Sampling Distributions and Point Estimation of Parameters Contents, figures, and exercises come from the textbook: Applied Statistics and Probability.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Copyright © Cengage Learning. All rights reserved. 3 Discrete Random Variables and Probability Distributions.
Conditional Expectation
Chapter5 Statistical and probabilistic concepts, Implementation to Insurance Subjects of the Unit 1.Counting 2.Probability concepts 3.Random Variables.
6.3 Binomial and Geometric Random Variables
CHAPTER 6 Random Variables
Known Probability Distributions
Estimating Volatilities and Correlations
Poisson Random Variables
Random Variables and Their Distributions
Binomial and Geometric Random Variables
Chapter 2 Discrete Random Variables
Chapter 5 Sampling Distributions
Chapter 5 Sampling Distributions
Chapter 5 Some Important Discrete Probability Distributions
More about Posterior Distributions
Chapter 5: Some Discrete Probability Distributions:
Chapter 6: Random Variables
12/12/ A Binomial Random Variables.
Random Variables Binomial and Hypergeometric Probabilities
IE 360: Design and Control of Industrial Systems I
Presentation transcript:

Binomial Random Variables

Binomial experiment A sequence of n trials (called Bernoulli trials), each of which results in either a “success” or a “failure”. The trials are independent and so the probability of success, p, remains the same for each trial. Define a random variable Y as the number of successes observed during the n trials. What is the probability p(y), for y = 0, 1, …, n ? How many successes may we expect? E(Y) = ?

Returning Students Suppose the retention rate for a school indicates the probability a freshman returns for their sophmore year is Among 12 randomly selected freshman, what is the probability 8 of them return to school next year? Each student either returns or doesn’t. Think of each selected student as a trial, so n = 12. If we consider “student returns” to be a success, then p = 0.65.

12 trials, 8 successes To find the probability of this event, consider the probability for just one sample point in the event. For example, the probability the first 8 students return and the last 4 don’t. Since independent, we just multiply the probabilities:

12 trials, 8 successes For the probability of this event, we sum the probabilities for each sample point in the event. How many sample points are in this event? How many ways can 8 successes and 4 failures occur? Each of these sample points has the same probability. Hence, summing these probabilities yields

Binomial Probability Function A random variable has a binomial distribution with parameters n and p if its probability function is given by

Rats! In a research study, rats are injected with a drug. The probability that a rat will die from the drug before the experiment is over is Ten rats are injected with the drug. What is the probability that at least 8 will survive? Would you be surprised if at least 5 died during the experiment?

Quality Control For parts machined by a particular lathe, on average, 95% of the parts are within the acceptable tolerance. If 20 parts are checked, what is the probability that at least 18 are acceptable? If 20 parts are checked, what is the probability that at most 18 are acceptable?

Binomial Theorem As we saw in our Discrete class, the Binomial Theorem allows us to expand As a result, summing the binomial probabilities, where q = 1- p is the probability of a failure,

Mean and Variance If Y is a binomial random variable with parameters n and p, the expected value and variance for Y are given by

Deriving Expected Value When y = 0, the summand is zero. Just as well start at y = 1.

And deriving… =1

DerivingVariance? Just the highlights (see page 104 for details). “fairly common trick” to use E[Y(Y-1)] to find E(Y 2 )

Rats! In a research study, rats are injected with a drug. The probability that a rat will die from the drug before the experiment is over is Ten rats are injected with the drug. How many of the rats are expected to survive? Find the variance for the number of survivors.

Geometric Random Variables

Your 1 st Success Similar to the binomial experiment, we consider: A sequence of independent Bernoulli trials. The probability of “success” equals p on each trial. Define a random variable Y as the number of the trial on which the 1 st success occurs. (Stop the trials after the first success occurs.) What is the probability p(y), for y = 1,2, … ? On which trial is the first success expected?

Finding the probability Consider the values of Y: y = 1: (S) y = 2: (F, S) y = 3: (F, F, S) y = 4: (F, F, F, S) and so on… S S S F F S …. F (F, S) (F, F, S) (S) (F, F, F, S) p(1) = p p(2) = (q)( p) p(3) = (q 2 )( p) p(4) = (q 3 )( p)

Geometric Probability Function A random variable has a geometric distribution with parameter p if its probability function is given by

Success? Of course, you need to be clear on what you consider a “success”. For example, the 1 st success might mean finding the 1 st defective item! D D D G G G (G, D) (G, G, D) (D)

Geometric Mean, Variance If Y is a geometric random variable with parameter p the expected value and variance for Y are given by

Deriving the Mean

Deriving Variance Using the “trick” of finding E[Y(Y-1)] to get E(Y 2 )…

Deriving Variance Now, forming the second moment, E(Y 2 )… And so, we find the variance…

At least ‘a’ trials? (#3.55) For a geometric random variable and a > 0, show P(Y > a) = q a Consider P(Y > a) = 1 – P(Y < a) = 1 – p(1 + q + q 2 + …+ q a-1 ) = q a, based on the sum of a geometric series

At least b more trials? Based on the result, it follows P(Y > a + b) = q a+b Also, the conditional probability P(Y > a + b | Y > a ) = q b = P(Y > b) “the memoryless property”

No Memory? For the geometric distribution P(Y > a + b | Y > a ) = q b = P(Y > b) This implies P(Y > 7 | Y > 2 ) = q 5 = P(Y > 5) “knowing the first two trials were failures, the probability a success won’t occur on the next 5 trials” as compared to “just starting the trials and a success won’t occur on the first 5 trials” same probability?!

Estimating p (example 3.13) Considering implementing a new policy in a large company, so we ask employees whether or not they favor the new policy. Suppose the first four reject the new policy, but the 5 th individual is in favor of the policy. What does this tell us about the percentage of employees we might expect to favor the policy? Can we estimate the probability p of getting a favorable vote on any given trial?

What value of p is most likely? We wish to find the value of p which would make it highly probable that the 5 th individual turns out to be first “success”. That is, let’s maximize the probability of finding the first success on trial 5, where p(5) = (1- p) 4 p For what value of p is this probability a max?

Find the Extrema The derivative is zero and the probability is at its maximum when p = 0.2 Using the derivative to locate the maximum “the method of maximum likelihood”