Chris Morgan, MATH G160 January 8, 2012 Lecture 13

Slides:



Advertisements
Similar presentations
Fundamentals of Probability
Advertisements

Lecture Slides Elementary Statistics Eleventh Edition
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
STATISTICS HYPOTHESES TEST (III) Nonparametric Goodness-of-fit (GOF) tests Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering.
STATISTICS INTERVAL ESTIMATION Professor Ke-Sheng Cheng Department of Bioenvironmental Systems Engineering National Taiwan University.
Detection of Hydrological Changes – Nonparametric Approaches
STATISTICS Univariate Distributions
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Variance Estimation in Complex Surveys Third International Conference on Establishment Surveys Montreal, Quebec June 18-21, 2007 Presented by: Kirk Wolter,
UNITED NATIONS Shipment Details Report – January 2006.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
CS CS1512 Foundations of Computing Science 2 Lecture 23 Probability and statistics (4) © J.
CS1512 Foundations of Computing Science 2 Week 3 (CSD week 32) Probability © J R W Hunter, 2006, K van Deemter 2007.
Chapter 7 Sampling and Sampling Distributions
5.1 Probability of Simple Events
Chris Morgan, MATH G160 March 19, 2011 Lecture 23
Solve Multi-step Equations
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Chapter 5.5: Poisson Distribution, Poisson Approximation to Binomial
Chris Morgan, MATH G160 January 30, 2012 Lecture 9 Chapter 4.1: Combinations 1.
Discrete Random Variables and Probability Distributions
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
Business and Economics 6th Edition
5-1 Chapter 5 Theory & Problems of Probability & Statistics Murray R. Spiegel Sampling Theory.
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
2 |SharePoint Saturday New York City
Green Eggs and Ham.
VOORBLAD.
Chapter 4 Inference About Process Quality
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
Sets Sets © 2005 Richard A. Medeiros next Patterns.
LO: Count up to 100 objects by grouping them and counting in 5s 10s and 2s. Mrs Criddle: Westfield Middle School.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
Subtraction: Adding UP
Equal or Not. Equal or Not
Slippery Slope
Statistical Inferences Based on Two Samples
Analyzing Genes and Genomes
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Chapter 8 Estimation Understandable Statistics Ninth Edition
Intracellular Compartments and Transport
PSSA Preparation.
Experimental Design and Analysis of Variance
Essential Cell Biology
1 Chapter 13 Nuclear Magnetic Resonance Spectroscopy.
Energy Generation in Mitochondria and Chlorplasts
January Structure of the book Section 1 (Ch 1 – 10) Basic concepts and techniques Section 2 (Ch 11 – 15): Inference for quantitative outcomes Section.
Basics of Statistical Estimation
Commonly Used Distributions
Pick Me. Basic Probability Population – a set of entities concerning which statistical inferences are to be drawn Random Sample – all member of population.
Presentation transcript:

Chris Morgan, MATH G160 csmorgan@purdue.edu January 8, 2012 Lecture 13 Chapter 5.6: Hypergeometric Distribution, Binomial Approx. to HG Chris Morgan, MATH G160 csmorgan@purdue.edu January 8, 2012 Lecture 13

Hypergeometric Distribution With the binomial distribution you sample with replacement and count the number of successes after a set number of trials. But what if you sample without replacement? Now the trials are no longer independent and we can no longer use the binomial to model this situation. We need to look for another type of distribution that will describe these problems.

Hypergeometric Distribution - Given a population with N members - We are interested in an outcome that can be classified as a success or a failure Let the probability of success in the population be p - Sample from this population without replacement of size n

Hypergeometric Distribution Examples: –The probability of a full house in a poker hand. –The probability of 3 brown M&M’s in a selection of 5 M&M’s from a bag with 20 brown M&M’s and 30 other colors. - The probability of selecting 3 out of 5 defective parts on a moving conveyor belt containing 100 parts

Hypergeometric Distribution Notation: X ~ Hyp(N, n, p) PMF: where: x = the # of successes n = the # of trials, or how many we’re choosing f(x) = the probability of x success in n trials N = # of elements in population m = # of elements in population labeled a success p = probability of success in ENTIRE population (m/N)

Hypergeometric Distribution Expectation and Variance: E(X) = Var(X) =

Hypergeometric Distribution PMF: is the number of ways m elements can be selected from a population of size N is the number of ways that x successes can be selected from a total of r successes in the population is the number of ways that m-x failures can be selected from a total of N-n failures in the population

Hypergeometric Distribution Notation: X ~ Hyp(N, n, p) PMF: where: x = the # of successes n = the # of trials, or how many we’re choosing f(x) = the probability of x success in n trials N = # of elements in population r = # of elements in population labeled a success p = probability of success in ENTIRE population

Hypergeometric Distribution Expectation and Variance: E(X) = Var(X) =

Hypergeometric Distribution PMF: is the number of ways n elements can be selected from a population of size N is the number of ways that x successes can be selected from a total of r successes in the population is the number of ways that n-x failures can be selected from a total of N-r failures in the population

Hypergeometric Example #1 A bag of Skittles has 20 reds and 80 pieces of other colors. Find the probability that you randomly select 4 reds in a handful of 10 Skittles… a) With replacement b) Without replacement

Hypergeometric Example #1a With replacement: X ~ Bin(n = 4, p = 0.2) P(X=4) =

Hypergeometric Example #1b b) Without replacement: X ~ Hyp(N=100, n=10, p=0.2) P(X=4) =

Hypergeometric Example #1c c) What is the expected number of red Skittles in a handful of 20 pieces? With replacement: E(X) = np = 20(0.2) = 4 Without replacement: E(X) = n(r/N) = 20(20/100) =4

Hypergeometric Example #1c c) What is the variance of number of red Skittles in a handful of 20 pieces? With replacement: Var(X) = np(1-p) = 20(0.2)(0.8) = 3.2 Without replacement: Var(X) =

Hypergeometric Example #2 In a jar there are 20,000 coins, 500 of which are quarters. You select 5 coins randomly. What is the probability that you get exactly 2 quarters? a)With replacement? b)Without replacement?

Hypergeometric Example #3 A marine biologist has been tracking manatees in the Miami region. There are a total of 200 manatees in the region, and 80 of them have been tagged with their information recorded. Each day he will take a random sample of 12 manatees (without replacement) and will continue to record information on those that have been tagged. Let T be the number of manatees that have been tagged in your sample. T ~ Hyp(N=200, n=12, p=80/200=0.4)

Hypergeometric Example #3a N=number on POPULATION n=how many we’re choosing r=number of “desirable” objects or “success” objects in population p=probability of success in ENTIRE population = r/N What is the probability you choose exactly 3 tagged manatees?

Hypergeometric Example #3b Given you have less than 4 tagged manatees, what is the probability you have exactly 3 tagged manatees?

Hypergeometric Example #3c If he continues this same procedure for 4 days (all days independent of one another), what is the probability that he has exactly 3 tagged manatees in his sample all 4 days? How many tagged manatees you expect to see in a sample of 12?

Hypergeometric Example #4 How often do we REALLY know the population size? Collecting records from all the marine biologists in Florida, we have a total of 500 tagged manatees. How do we estimate the population size? If we sample from this LARGE population, say there are a total of 2,000 manatees (and 500 tagged), we select 10 of them.

Hypergeometric Example #4a 1. What is the exact distribution for the number of tagged manatees in our sample? 2. What is the exact probability we have exactly 4 tagged manatees in our sample?

Hypergeometric Example #4b 3. What is a good approximation for the number of tagged manatees in our sample? 4. What is the approximate probability we select 4 tagged manatees in the sample?

Hypergeometric Example #5 Little Johnny has a jar containing 10 blue marbles and 12 red marbles. He reaches into the jar and selects 5 marbles without replacement. Let X denote the number of red marbles he obtains. a) Identify the distribution and parameters corresponding to the random variable X.

Hypergeometric Example #5 b) What is the probability Johnny obtains exactly 3 red marbles? c) If Johnny repeats this experiment a large number of times, on average how many red marbles can he expect to obtain?

Hypergeometric Example #6a In a certain mid-west town consisting of 100 residents, 60% are in favor of raising the local sales tax rate while the other 40% are opposed. Suppose a sample of 10 residents is taken without replacement. Let X denote the number of residents who are in favor of raising taxes. a) Identify the distribution and parameters corresponding to the random variable X.

Hypergeometric Example #6b b) What is the probability of obtaining at least 9 residents who are in favor of raising taxes? c) What number of residents in favor of raising taxes can we expect to obtain?

Hypergeometric Example #7a Axline Computers manufactures personal computers at two plants, one in Texas and the other in Hawaii. The Texas plant has 40 employees; the Hawaii plant has 20. A random sample of 10 employees is to be asked to fill out a benefits questionnaire. Let X be a worker from Hawaii. a) What is the probability that none of the employees in the sample are from the Hawaii plant?

Hypergeometric Example #7b b) What is the probability that one of the employees in the sample works at the plant in Hawaii? c) What is the probability that two or more of the employees in the sample work at the plant in Hawaii? d) What is the expected number of employees from the Hawaii plant to be included in the sample?

Approximating Hypergeometric We can approximate the hypergeometric distribution by the binomial distribution if: N > 20*n This is because N is so big there is very little chance of getting the same object; so even though HG is without replacement and Bin is with replacement, which such a large N it is as if the binomial distribution is now without replacement because the chance of grabbing the same object twice is so small.

Approximation Example #1 You roll two 20-sided dice 400 times. Let X be the number of double 20’s you see. Find the approximate probability you see 2 double 20’s.

Approximation Example #2 A shoe store has 2,000 pairs of shoes, 800 are men’s shoes, and the rest are women’s. You randomly select 4 pairs of shoes without replacement. What is the approximate probability you select exactly 2 pairs of men’s shoes?

Approximation Example #3 A Chicago baseball convention has 5,000 attendees consisting of 3,500 Cubs fans and 1,500 White Soxs fans. Ten people are randomly chosen to participate in a contest to win World Series tickets. What is the approximate probability exactly 7 Cubs fans are selected?

Approximation Example #4 Suppose an earthquake will occur somewhere in California each day with probability .005. Assuming earthquake occurrences are weakly dependent from day to day find the approximate probability Californians will experience no earthquakes this year. How many earthquakes can Californians expect to experience in 2010?