Lesson 6 - R Discrete Probability Distributions Review.

Slides:



Advertisements
Similar presentations
Discrete Uniform Distribution
Advertisements

DISCRETE RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS
Lecture (7) Random Variables and Distribution Functions.
Chapter 5 Discrete Random Variables and Probability Distributions
ฟังก์ชั่นการแจกแจงความน่าจะเป็น แบบไม่ต่อเนื่อง Discrete Probability Distributions.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
1 Set #3: Discrete Probability Functions Define: Random Variable – numerical measure of the outcome of a probability experiment Value determined by chance.
Chapter 4 Discrete Random Variables and Probability Distributions
Discrete Probability Distributions Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
Review.
Probability Distributions
Ka-fu Wong © 2003 Chap 6- 1 Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Chapter 4 Probability Distributions
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Statistics.
Discrete Probability Distributions
Class notes for ISE 201 San Jose State University
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Five Discrete Probability Distributions GOALS When you have completed.
McGraw-Hill Ryerson Copyright © 2011 McGraw-Hill Ryerson Limited. Adapted by Peter Au, George Brown College.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Lesson 6 – 2b Hyper-Geometric Probability Distribution.
Binomial Distributions
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
6- 1 Chapter Six McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Lesson Geometric Probability Distribution. Construction Objectives Given the probability of success, p, calculate the probability of getting the.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved.
Lesson 8 – R Taken from And modified slightlyhttp://
Binomial Distributions Calculating the Probability of Success.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Review and Preview This chapter combines the methods of descriptive statistics presented in.
Slide 1 Copyright © 2004 Pearson Education, Inc..
LESSON Geometric Probability Distribution. VOCABULARY Geometric Setting – random variable meets geometric conditions Trial – each repetition of.
Chapter 7 Lesson 7.5 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.
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}.
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Biostatistics Class 3 Discrete Probability Distributions 2/8/2000.
Binomial Probability Distribution
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
1 Topic 3 - Discrete distributions Basics of discrete distributions Mean and variance of a discrete distribution Binomial distribution Poisson distribution.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 5-5 Poisson Probability Distributions.
Exam 2: Rules Section 2.1 Bring a cheat sheet. One page 2 sides. Bring a calculator. Bring your book to use the tables in the back.
Lesson 6 – 2c Negative Binomial Probability Distribution.
Lesson The Normal Approximation to the Binomial Probability Distribution.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
Lesson 6.3 Discrete Distribution Binomial. Knowledge Objectives Describe the conditions that need to be present to have a binomial setting. Define a binomial.
Lesson 6 – 2a Geometric Probability Distribution.
Lesson Binomial Probability Distribution. Objectives Determine whether a probability experiment is a binomial experiment Compute probabilities of.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Chap 5-1 Chapter 5 Discrete Random Variables and Probability Distributions Statistics for Business and Economics 6 th Edition.
Special Discrete Distributions. Bernoulli Trials The basis for the probability models we will examine in this chapter is the Bernoulli trial. We have.
Chapter 4 Discrete Random Variables and Probability Distributions
Lesson Poisson Probability Distribution. Objectives Understand when a probability experiment follows a Poisson process Compute probabilities of.
The Binomial Probability Distribution
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Probability Distributions Chapter 6.
AP Statistics Chapter 8 Section 2. If you want to know the number of successes in a fixed number of trials, then we have a binomial setting. If you want.
SWBAT: -Calculate probabilities using the geometric distribution -Calculate probabilities using the Poisson distribution Agenda: -Review homework -Notes:
Chapter Five The Binomial Probability Distribution and Related Topics
Chapter Six McGraw-Hill/Irwin
Discrete Distribution Binomial
Chapter 5 Created by Bethany Stubbe and Stephan Kogitz.
Binomial and Geometric Random Variables
Geometric Probability Distribution
Discrete Random Variables
Discrete Probability Distributions
STATISTICAL MODELS.
Each Distribution for Random Variables Has:
Geometric Poisson Negative Binomial Gamma
Review of Chapter 8 Discrete PDFs Binomial and Geometeric
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

Lesson 6 - R Discrete Probability Distributions Review

Objectives Understand when a probability experiment follows one of the processes for discrete random variables: –Uniform (can be continuous as well) –Binomial –Geometric –Poisson –Hypergeometric –Negative Binomial Compute probabilities of discrete random variables Find the mean and standard deviation of a discrete random variables

Vocabulary None new

English Phrases Math Symbol English Phrases ≥At leastNo less thanGreater than or equal to >More thanGreater than <Fewer thanLess than ≤No more thanAt mostLess than or equal to =ExactlyEqualsIs ≠Different from Cumulative probability or cdf P(x ≤ A) cdf(x > A) = 1 – P(x ≤ A) Values of Discrete Variable, X P(X) ∑P(x) = 1 X=A

Let P(x) denote the probability that the random variable X equals x, then 1) The sum of all probabilities of all outcomes must equal 1 ∑ P(x) = 1 2) The probability of any value x, P(x), must between 0 and 1 0≤ P(x) ≤ 1 Discrete PDF Rules

Mean value of a Discrete Random Variable: Given by the formula μ x = ∑ [x ∙P(x)] (Expected Value = μ x ) where x is the value of the random variable and P(x) is the probability of observing x Variance and Standard Deviation of a Discrete Random Variable: The variance of a discrete random variable is given by: σ 2 x = ∑ [(x – μ x ) 2 ∙ P(x)] = ∑[x 2 ∙ P(x)] – μ 2 x and standard deviation is √σ 2 Mean & Variance

Uniform: probability is equal distributed Binomial: number of successes in n trials Geometric: number of trials until a success or failure is observed Hypergeometric: sampling without replacement in a small population Negative Binomial: number of trials necessary to observe r# of successes (Geometric is a special case with r=1) Poisson: number of successes in a interval of fixed length (time, distance, or area) Discrete PDFs

1)Experiment is performed a fixed number of times. Each repetition is called a trial. 2)The trials are independent 3)For each trial there are two mutually exclusive (disjoint) outcomes: success or failure 4)The probability of success is the same for each trial of the experiment Binomial Experiment Criteria

Binomial Notation The probability of obtaining x successes in n independent trials of a binomial experiment, where the probability of success is p, is given by: P(x) = n C x p x (1 – p) n-x, x = 0, 1, 2, 3, …, n Where n is # of independent trials of the experiment p denotes the probability of success 1 – p is the probability of failure x denotes the number of successes in n independent trials of the experiment. So 0 ≤ x ≤ n Determining probabilities using calculator: 2 nd VARS: binompdf(n,p,x) or binomcdf(n,p,x)

As the number of trials n in a binomial experiment increases, the probability distribution of the random variable X becomes bell shaped. As a rule of thumb, if np(1-p) ≥ 10, the probability distribution will be approximately bell shaped. (which means the Empirical Rule can be used!!) Binomial PDF and Law of Large Numbers

Geometric Criteria An experiment is said to be a geometric experiment provided: 1.Each repetition is called a trial. 2.The trials are independent 3.For each trial there are two mutually exclusive (disjoint) outcomes: success or failure 4.The probability of success is the same for each trial of the experiment

Geometric Notation The geometric distribution addresses the number of trials necessary before the first success. If the trials are repeated k times until the first success, we will have had k – 1 failures. If p is the probability for a success and q (1 – p) the probability for a failure, the probability for the first success to occur at the kth trial will be (where x = k) P(x) = p(1 – p) x-1, x = 1, 2, 3, … Using the calculator: 2 nd VARS geometpdf(p,k) for P(X=k) Using the calculator: 2 nd VARS geometcdf(p,k) for P(k ≤ X)

Hyper-Geometric Criteria An experiment is said to be a hyper-geometric experiment provided: 1.The experiment is performed a fixed number of times. 2.Each repetition is called a trial. 3.The trials are dependent 4.For each trial there are two mutually exclusive (disjoint) outcomes: success or failure Note: One of the conditions of a binomial distribution was the independence of the trials so the probability of a success is the same for every trial. If successive trials are done without replacement and the sample size or population is small, the probability for each observation will vary.

Hyper-Geometric Notation The formula for the hyper-geometric distribution is: Np C x N(1-p) C n-x P(x) = x = 0, 1, 2, 3, …, n N C n Where N is the size of the population, p is the proportion of the population with a certain attribute (success), x is the number of individuals from the population selected in the sample with the attribute and n is the number selected to be in the sample (n-x is the number selected who do not have the attribute)

Negative Binomial Criteria An experiment is said to be a negative binomial experiment provided: 1.Each repetition is called a trial. 2.For each trial there are two mutually exclusive (disjoint) outcomes: success or failure 3.The probability of success is the same for each trial of the experiment 4.The trials are independent 5.The trials are repeated until r successes are observed, where r is specified in advance.

Negative Binomial Notation When we studied the Binomial distribution, we were only interested in the probability for a success or a failure to happen. The negative binomial distribution addresses the number of trials necessary before the r th success. If the trials are repeated x times until the r th success, we will have had x – r failures. If p is the probability for a success and (1 – p) the probability for a failure, the probability for the r th success to occur at the x th trial will be P(x) = x-1 C r-1 p r (1 – p) x-r x = r, r+1, r+2, … Where r number of successes is observed in x number of trials of a binomial experiment with success rate of p

Poisson Criteria Poisson distributions can be used to computer probabilities of experiments in which the random variable X counts the number of occurrences (successes) of a particular event within a specified interval (usually time or space). An experiment is said to be a Poisson process provided: 1) Probability of two or more successes in any sufficiently small sub-interval* is 0. 2) The probability of success is the same for any two intervals of equal length 3) The number of successes in any interval is independent of the number of successes in any other interval provided the intervals are not overlapping

Poisson Notation If X is the number of successes in an interval of fixed length t, then probability formula for X is (λt) x P(x) = e -λt x = 0, 1, 2, 3, … x! where λ (the Greek letter lamda) represents the average number of occurrences of the event in some interval of length 1 and e = (Euler's constant) Using the calculator: Poissonpdf(μ,x) & Poissoncdf(μ,x)

Discrete Probability Functions Summary NamePDF x =μσ BinomialP(x) = n C x p x (1-p) n-x x = 0,1,2,…np√np(1-p) Example: Coin flips (x = number of heads in n=10 trials) GeometricP(x) = p(1 – p) x-1 x = 1,2,…1/p√1-p Example: number of trials necessary before the first success How many flips before the first tail is observed? Hyper- geometric Np C x N(1-p) C n-x P(x) = N C n x = 0,1,2,…np√ (np(1-p)(N-n)/N-1) Example: Small number sampling without replacement What is P(x=6) women will be selected from population of 20 men & 20 women (N=40) in a n=10 random sampling? Negative Binomial P(x) = x-1 C r-1 p r (1 – p) x-r x = r,r+1,…r/p√ (r(1-p)/p 2 ) Example: r number of successes in x trials (of a binomial experiment) What is the P(x=5) flips are necessary to get 3 heads? Poisson (λt) x P(x) = e -λt x! x = 0,1,2,… λtλt √λt√λt Example: Events occurring over time or space What is the P(x<15) people per hour going through McD’s drive through?

Summary and Homework Summary –Probability rules remain the same –Each of the six Discrete PDFs have criteria that are similar, but slightly different –Calculator has pdf and cdf functions for 3 of the 6 Discrete PDFs Homework –pg : 1, 4, 5, 9, 13, 19