Math/Stat 352 Lecture 7

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

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

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

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

Random variables, probability distributions, binomial random variable

The normal approximation to the binomial

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

2. Discrete random variables

Chapter 5. Random variables

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 )

ST 371 (IV): Discrete Random Variables

Practice problems for Homework 11 - Point Estimation

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

4. Continuous Random Variables, the Pareto and Normal Distributions

Chapter 4 Lecture Notes

The normal approximation to the binomial

Normal Distribution as an Approximation to the Binomial Distribution

An Introduction to Basic Statistics and Probability

Business Statistics 41000: Probability 1

Sample Questions for Mastery #5

Lecture 10: Depicting Sampling Distributions of a Sample Proportion

Example 1: Dear Abby. Stat Camp for the Full-time MBA Program

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

2 Binomial, Poisson, Normal Distribution

MAS108 Probability I

Lecture 5 : The Poisson Distribution

WHERE DOES THE 10% CONDITION COME FROM?

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

Definition: Suppose that two random variables, either continuous or discrete, X and Y have joint density

The Binomial Probability Distribution

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.

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber

Chapter 4. Probability and Probability Distributions

Joint Exam 1/P Sample Exam 1

AP STATISTICS 2010 SCORING GUIDELINES

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

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

Introduction to Probability

Section 5 Part 2. Probability Distributions for Discrete Random Variables

Characteristics of Binomial Distributions

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

Lecture 8. Confidence intervals and the central limit theorem

BINOMIAL DISTRIBUTION

The Binomial Distribution. Summer 2003

5. Continuous Random Variables

SOLUTIONS: 4.1 Probability Distributions and 4.2 Binomial Distributions

Some special discrete probability distributions

STAT 35A HW2 Solutions

Practice Problems #4

Chapter 6: Point Estimation. Fall Probability & Statistics

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

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

2WB05 Simulation Lecture 8: Generating random variables

ECE302 Spring 2006 HW3 Solutions February 2,

Important Probability Distributions OPRE 6301

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

6.041/6.431 Spring 2008 Quiz 2 Wednesday, April 16, 7:30-9:30 PM. SOLUTIONS

Section 6.1 Discrete Random variables Probability Distribution

Chapter 5. Discrete Probability Distributions

Math 431 An Introduction to Probability. Final Exam Solutions

Introduction to the Practice of Statistics Fifth Edition Moore, McCabe Section 4.4 Homework

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

Final Mathematics 5010, Section 1, Fall 2004 Instructor: D.A. Levin

Chapter 9 Monté Carlo Simulation

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

PROBABILITY AND SAMPLING DISTRIBUTIONS

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

6.2. Discrete Probability Distributions

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Binomial Probability Distribution

Lecture 2 Binomial and Poisson Probability Distributions

Statistics 100A Homework 4 Solutions

Section 5-3 Binomial Probability Distributions

Statistics 100A Homework 4 Solutions

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

5/31/ Normal Distributions. Normal Distributions. Chapter 6. Distribution. The Normal Distribution. Outline. Objectives.

The Binomial Distribution The Binomial and Sign Tests

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. A) B) C) D) 0.

6 PROBABILITY GENERATING FUNCTIONS

Math 461 Fall 2006 Test 2 Solutions

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

Unit 4 The Bernoulli and Binomial Distributions

Lecture 6: Discrete & Continuous Probability and Random Variables

The Binomial Distribution

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Bayes and Naïve Bayes. cs534-machine Learning

Solved Problems. Chapter Probability review

ACMS Section 02 Elements of Statistics October 28, Midterm Examination II

Master s Theory Exam Spring 2006

WEEK #23: Statistics for Spread; Binomial Distribution

Probability Distribution for Discrete Random Variables

Lecture 2: Discrete Distributions, Normal Distributions. Chapter 1

CA200 Quantitative Analysis for Business Decisions. File name: CA200_Section_04A_StatisticsIntroduction

Probability Generating Functions

Tenth Problem Assignment

Probability Distributions

AP Statistics 7!3! 6!

Binomial Distribution Problems. Binomial Distribution SOLUTIONS. Poisson Distribution Problems

Stats on the TI 83 and TI 84 Calculator

ACMS Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Answers

Transcription:

Math/Stat 352 Lecture 7 Section 4.1 and 4.2 Commonly Used Distributions: The Bernoulli and Binomial distributions

The Bernoulli Distribution We use the Bernoulli distribution when we have an experiment/trial which can result in one of two outcomes labeled: Success (S) and Failure (F). The probability of a success is denoted by p =P(S). The probability of a failure is then 1 p=p(f). Such a trial/experiment is called a Bernoulli trial with success probability p. 2

Examples 1. The simplest Bernoulli trial is the toss of a coin. The two outcomes are heads and tails. If we define heads to be the success outcome, then p is the probability that the coin comes up heads. For a fair coin, p = 0.5. 2. Another Bernoulli trial is a selection of a component from a population of components, some of which are defective. If we define success to be a defective component, then p is the proportion of defective components in the population. 3

Bernoulli random variable: X ~ Bernoulli(p) For any Bernoulli trial, we define a random variable X as follows: If the experiment results in a success, then X = 1. Otherwise, X = 0. It follows that X is a discrete random variable, with probability mass function p(x) defined by p(0) = P(X = 0) = 1 p p(1) = P(X = 1) = p p(x) = 0 for any value of x other than 0 or 1 4

Mean and Variance of Bernoulli r.v. If X ~ Bernoulli(p), then µ X = 0(1 p) + 1( p) = p 2 2 2 σ = + = (0 p) (1 p) (1 p) ( p) p(1 p) X 5

Example Ten percent of components manufactured by a certain process are defective. A component is chosen at random. Let X = 1 if the component is defective, and X = 0 otherwise. 1. What is the distribution of X? 2. Find the mean and variance of X. 6

Example At a certain fast food restaurant, 25% of drink orders are for a small drink, 35% for a medium, and 40% for a large drink. Let X=1 if a randomly chosen order is for a small, and let X =0 otherwise. Let Y=1 if the order is for medium, and Y=0 otherwise. Let Z=1 if the order is for either small or medium, and let Z=0 otherwise. 1. Let px denote the success probability for X. What is px? 2. Let py denote the success probability for Y. What is py? 3. Let pz denote the success probability for Z. What is pz? 4. Is it possible for both X and Y to equal 1? 5. Does pz= px + py? 6. Does Z= X+Y? 7

The Binomial Distribution If a total of n Bernoulli trials are conducted, and The trials are independent. Each trial has the same success probability p X = # of successes in the n Bernoulli trials then X has the binomial distribution with parameters n and p, denoted X ~ Bin(n, p). 8

The Binomial Distribution Binomial(15,0.1) Unimodal (mode = 1) Right-skewed Mean= np = 1.5) Concentrated around 1.5 Binomial(19,0.1) Unimodal (mode = 1) Right-skewed Mean = np = 1.9 Concentrated around 1.9 dbinom(q, 19, 0.1) 0.00 0.05 0.10 0.15 0.20 0.25 dbinom(q, 19, 0.1) 0.00 0.05 0.10 0.15 0.20 0.25 0 2 4 6 8 10 Number of succsses 0 2 4 6 8 10 Number of succsses 9

Example A fair coin is tossed 10 times. Let X be the number of heads that appear. What is the distribution of X? 10

Sampling from Finite Populations: Binomial Distribution Experiment: A simple random sample is drawn from a finite population that contains items of two types: S and F. Assume that the sample size is no more than 5% of the population. Let X= # of S in the sample. Then, X ~ Bin(n, p). Example: A lot contains several thousand components, 10% of which are defective. Seven components are sampled from the lot. Let X represent the number of defective components in the sample. What is the distribution of X? 11

Binomial R.V.: pmf, mean, and variance If X ~ Bin(n, p), the probability mass function of X is n! x n x p (1 p), x= 0,1,..., n px ( ) = PX ( = x) = x!( n x)! 0, otherwise Mean of X: EX = µ X = np Variance of X: 2 σ = np(1 p) X 12

Example A large industrial firm allows a discount on any invoice that is paid within 30 days. Of all invoices, 10% receive the discount. In a company audit, 12 invoices are sampled at random. What is the probability that fewer than 4 of the 12 sampled invoices receive the discount? 13

Binomial as sum of iid Bernoulli rv s. Assume n independent Bernoulli trials are conducted. Each trial has probability of success p. Let Y 1,, Y n be defined as follows: 1 ii S on ith trial Y i = 0 ii F on ith trial That is each of the Y i has the Bernoulli(p) distribution. Let X = number of successes among the n trials, so X ~ Bin(n, p). Also note that X = Y 1 + + Y n. Thus sum of n iid Bernoulli(p) rv s has a Binomial(n, p) distribution 14

Estimate of p In practice we usually do not know p need to approximate/estimate p. Estimation of p: (1) collect a sample on n Bernoulli trials, (2) compute X= the number of S in the sample. pˆ = X / n (3) Use the sample proportion of S: to estimate p. Note that: X ~ Bin(n, p). Since X is a random variable, then pˆ = X / n is also a random variable. 15

How good is in estimating p? ˆp Mean of : E = p, so on average, the estimator = p. ˆp ˆp ˆp We say that is an unbiased estimator of p. Error of the estimation: ˆ p. p The uncertainty or standard deviation of ˆp is σ pˆ = p(1 p). n In practice, when computing σ, we substitute unknown. ˆp for p, since p is 16

Example In a sample of 100 newly manufactured automobile tires, 7 are found to have minor flaws on the tread. If four newly manufactured tires are selected at random and installed on a car, estimate the probability that none of the four tires have a flaw. 17