Geometric and Hyper-geometric Distribution. Geometric Random Variable  Take a fair coin and toss it as many times as needed until you observe a head.

Slides:



Advertisements
Similar presentations
Binomial random variables
Advertisements

BINOMIAL AND NORMAL DISTRIBUTIONS BINOMIAL DISTRIBUTION “Bernoulli trials” – experiments satisfying 3 conditions: 1. Experiment has only 2 possible outcomes:
The Bernoulli distribution Discrete distributions.
Chapter 6 Some Special Discrete Distributions
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.
C HAPTER 8 Section 8.2 – The Geometric Distribution.
Discrete Probability Distributions Martina Litschmannová K210.
5.1 Sampling Distributions for Counts and Proportions.
Probability Distributions
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
Binomial & Geometric Random Variables
The Binomial Distribution. Introduction # correct TallyFrequencyP(experiment)P(theory) Mix the cards, select one & guess the type. Repeat 3 times.
Probability Models Binomial, Geometric, and Poisson Probability Models.
Discrete Probability Distributions Binomial Distribution Poisson Distribution Hypergeometric Distribution.
 Consider the number of typos on each page of your textbook…  Or the number of car accidents between exit 168 and exit 178 on IN-65.
CHAPTER 6 Random Variables
Binomial & Geometric Random Variables §6-3. Goals: Binomial settings and binomial random variables Binomial probabilities Mean and standard deviation.
Probability Models Chapter 17.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Approximation and Nested Problem. Four players are playing a poker game out of a deck of 52 cards. Each player has 13 cards. Let X be the number of Kings.
Binomial distribution Nutan S. Mishra Department of Mathematics and Statistics University of South Alabama.
Binomial Distributions Calculating the Probability of Success.
The Binomial Distribution. Binomial Experiment.
Chapter 4 Probability Distributions
Expected values and variances. Formula For a discrete random variable X and pmf p(X): Expected value: Variance: Alternate formula for variance:  Var(x)=E(X^2)-[E(X)]^2.
Chapter 7 Lesson 7.5 Random Variables and Probability Distributions
Warm-up Grab a die and roll it 10 times and record how many times you roll a 5. Repeat this 7 times and record results. This time roll the die until you.
Section 6.3 Binomial Distributions. A Gaggle of Girls Let’s use simulation to find the probability that a couple who has three children has all girls.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
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}.
P. STATISTICS LESSON 8.2 ( DAY 1 )
Binomial Experiment A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties:
Binomial Probability Distribution
COMP 170 L2 L17: Random Variables and Expectation Page 1.
6.2 Homework Questions.
+ 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.
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 15.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
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.
At the end of the lesson, students can: Recognize and describe the 4 attributes of a binomial distribution. Use binompdf and binomcdf commands Determine.
Discrete Random Variables. Discrete random variables For a discrete random variable X the probability distribution is described by the probability function,
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 6 Random Variables 6.3 Binomial and Geometric.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Chapter 16 Week 6, Monday. Random Variables “A numeric value that is based on the outcome of a random event” Example 1: Let the random variable X be defined.
Q1: Standard Deviation is a measure of what? CenterSpreadShape.
DISCRETE PROBABILITY MODELS
Bernoulli Trials, Geometric and Binomial Probability models.
Chapter 3 Discrete Random Variables and Probability Distributions  Random Variables.2 - Probability Distributions for Discrete Random Variables.3.
1.Addition Rule 2.Multiplication Rule 3.Compliments 4.Conditional Probability 5.Permutation 6.Combinations 7.Expected value 8.Geometric Probabilities 9.Binomial.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 5 Discrete Random Variables.
6.3 Binomial and Geometric Random Variables
Lecture-6 Models for Data 1. Discrete Variables Engr. Dr. Attaullah Shah.
MATH 2311 Section 3.3.
Section 6.3 Geometric Random Variables. Binomial and Geometric Random Variables Geometric Settings In a binomial setting, the number of trials n is fixed.
Binomial Distribution. Bernoulli Trials Repeated identical trials are called Bernoulli trials if: 1. There are two possible outcomes for each trial, denoted.
Probability Distributions. Constructing a Probability Distribution Definition: Consists of the values a random variable can assume and the corresponding.
+ Binomial and Geometric Random Variables Textbook Section 6.3.
Chapter 8: The Binomial and Geometric Distributions 8.2 – The Geometric Distributions.
Chapter 5 Discrete Probability Distributions 1. Chapter 5 Overview 2 Introduction  5-1 Probability Distributions  5-2 Mean, Variance, Standard Deviation,
Unit 3: Probability.  You will need to be able to describe how you will perform a simulation  Create a correspondence between random numbers and outcomes.
8.2 The Geometric Distribution 1.What is the geometric setting? 2.How do you calculate the probability of getting the first success on the n th trial?
6.3 Binomial and Geometric Random Variables
CHAPTER 6 Random Variables
Math 4030 – 4a More Discrete Distributions
Binomial and Geometric Random Variables
Lesson Objectives At the end of the lesson, students can:
The Binomial and Geometric Distributions
Chapter 6: Random Variables
Expected values and variances
Presentation transcript:

Geometric and Hyper-geometric Distribution

Geometric Random Variable  Take a fair coin and toss it as many times as needed until you observe a head.  Let X= number of tosses that is needed.  Sample points={H, TH, TTH, TTTH, …}  Distribution of X X 1 (H) 2(TH)3(TTH)4(TTTH)K(TTT…TH) P(X)1/21/41/81/16?

Geometric Random Variable  Think about another example, if we keep tossing a biased coin with 70% of getting a tail and 30% of seeing a head, let X=number of tosses needed to get the first head.  Then the distribution of X is: X 1 (H) 2(TH)3(TTH)4(TTTH)K(TTT…TH) P(X)0.30.7*0.30.7*0.7*0.30.7*0.7*0.7*0.30.7*0.7*…*0.7*0.3

Geometric Random Variable  If we repeat an experiment with two outcomes, success/failure, with probability p for success and q=1-p for failure, the number of trials needed to get the first success follows a Geometric distribution, say, X~Geo(p).

Geometric Random Variable  Similarities and differences between Binomial and Geometric random variable. ◦ Similarities: independent trials of the identical experiment, probabilities of success/failure consistent. ◦ Differences:  1. For Binomial, we know how many trials we have in total and for Geometric, we don’t know it, actually that number is not of interest.  2. For Binomial, there are usually several possibilities for a specific value of the variable, but for geometric, there is only one. (note: there is a coefficient of a combination for the binomial probability)

Example  Someone is trying to take the road test to get a driver’s license. If the probability of passing the test is 40%, what is the probability that this person will pass the test at second shot?

Example  What is the probability that someone will pass the road test in 5 trials?  Given that someone has taken the test 4 times and still has not got the license, what is that person’s chance of passing it the next time?

Mean and Variance of a Geometric Random Variable  If X~Geo(p), then ◦ E(X)=1/p ◦ Var(X)=(1-p)/(p^2)

Example  On average, how many times does one have to take the test to get the driver’s license?

 In one of the episodes of Planet Earth by BBS, an experiment was recorded. In the experiment, some animal scientists captured a snow leopard and put an instrument with a remote sensor so that they can keep track of her behavior. Also, they can use the instrument to estimate the number of wild snow leopard existing.

 Suppose there are a total of N wild snow leopards, r of them are captured and attached the instrument and the rest N-r are not.  In the future, scientists can keep capturing wild snow leopards and count how many captured ones have the instrument and how many don’t. (assuming snow leopards don’t take the instrument off by themselves).

 In a population of size N, r have a feature of interest and N-r don’t. Then if we take a sample of size n from the population, what is the probability that x units in our sample of size n have that feature?

 Hyper-geometric distribution:  If a random variable follows a hyper- geometric distribution, we say X~HG(N, n, r) and ◦ p(x=k)= ◦ Parameters:  N: number of elements in the population  n: number of elements in the sample  r: number of elements in the population with the desired feature.

 Population of size N, r with desired feature. ◦ If we take samples, considered a trial, with replacement, then each trial is independent with the same probability of getting one with the desired feature. (Binomial) ◦ If we take samples without replacement, then each trial is not independent. Also, the probability of getting one with the desired feature changes across trials. (Hypergeometric)

 If we have 20 books, 4 textbooks and 16 non-textbooks.  A. If we take one book at a time and then put it back, repeat 5 times, what is the probability that we get all 4 textbooks?

 B. If we take one book at a time and do not put it back, repeat 5 times, what is the probability that we get all 4 textbooks?

 C. If we take 5 books out of the 20, what is the probability that we get all 4 textbooks?

 Given that a random variable follows a Hyper- geometric distribution, ◦ E(X)=n*r/N ◦ Var(X)=n(r/N)(1-r/N)[(N-n)/(N-1)]

 D. On average, if we take 5 books out of the 20, how many textbooks can we get?

 A. Suppose we randomly draw 5 cards from a deck of 52 cards, what is the probability that there are exactly 2 red cards in our hand?

 B. what is the probability that we get at most two hearts?

 Four players are playing a poker game out of a deck of 52 cards. Each player has 13 cards. Let X be the number of Kings one player may have, and answer the following questions.  1. Is X a discrete or continuous random variable?  2. Find an appropriate probability distribution that can be used to describe X. Also, find the corresponding parameter(s).

 3. Find the sample space and X and the probability corresponding to each point in the sample space.