Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.

Slides:



Advertisements
Similar presentations
A binomial is a polynomial with two terms such as x + a. Often we need to raise a binomial to a power. In this section we'll explore a way to do just.
Advertisements

Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lecture 3 HSPM J716. Efficiency in an estimator Efficiency = low bias and low variance Unbiased with high variance – not very useful Biased with low variance.
Acknowledgement: Thanks to Professor Pagano
Ch. 17 The Expected Value & Standard Error Review of box models 1.Pigs – suppose there is a 40% chance of getting a “trotter”. Toss a pig 20 times. –What.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Sections.
Statistics Chapter 3: Introduction to Discrete Random Variables.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Copyright (c) Bani K. Mallick1 STAT 651 Lecture #15.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Binomial & Geometric Random Variables
The Binomial Distribution. Introduction # correct TallyFrequencyP(experiment)P(theory) Mix the cards, select one & guess the type. Repeat 3 times.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
A multiple-choice test consists of 8 questions
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Copyright © Cengage Learning. All rights reserved. 5 Probability Distributions (Discrete Variables)
Many Experiments can be done with the results of each trial reduced to 2 outcomes Binomial Experiment: There are n independent trials Each trial has only.
DISCRETE PROBABILITY DISTRIBUTIONS
Binomial Distributions Calculating the Probability of Success.
AP Statistics: Section 8.2 Geometric Probability.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lectures prepared by: Elchanan Mossel elena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Binomial Probability Distribution
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Probability Distributions: Binomial & Normal Ginger Holmes Rowell, PhD MSP Workshop June 2006.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Sections.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Binomial Probability Section Starter Here’s a game you will like: Let’s bet a dollar on this proposition: I will roll a fair die once. If.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
Chapter 6: Random Variables
16-3 The Binomial Probability Theorem. Let’s roll a die 3 times Look at the probability of getting a 6 or NOT getting a 6. Let’s make a tree diagram.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Sections.
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Chapter 8: The Binomial and Geometric Distributions 8.2 – The Geometric Distributions.
Distributions Day 1: Review Probability Functions Binomial Distribution Blaise Pascal.
The Binomial Probability Distribution
MATHPOWER TM 12, WESTERN EDITION Chapter 9 Probability Distributions
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
Chapter 5 Review MDM 4U Mr. Lieff.
Lectures prepared by: Elchanan Mossel Yelena Shvets
Section 6.2 Binomial Probability Distribution
Discrete Probability Distributions
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
PROBABILITY AND STATISTICS
Simple Random Sample A simple random sample (SRS) of size n consists of n elements from the population chosen in such a way that every set of n elements.
Lectures prepared by: Elchanan Mossel Yelena Shvets
Binomial Distribution Prof. Welz, Gary OER –
The Binomial Probability Theorem.
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Lectures prepared by: Elchanan Mossel Yelena Shvets
Presentation transcript:

Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section 2.1

Binomial Distribution Toss a coin 100, what’s the chance of 60 ? hidden assumptions: n-independence; probabilities are fixed.

Magic Hat: Each time we pull an item out of the hat it magically reappears. What’s the chance of drawing 3 I-pods in 10 trials? ={ } ( ( ))

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=0

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=1

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=2

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=3

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=4

Binomial Distribution Suppose we roll a die 4 times. What’s the chance of k ? Let. = { } k=0 k=1 k=2 k=3 k=4

Binomial Distribution How do we count the number of sequences of length 4 with 3. and 1. ?

Binomial Distribution This is the Pascal’s triangle, which gives, as you may recall the binomial coefficients.

Binomial Distribution 1a1a 1b1b 1a21a2 2ab2ab 1b21b2 1a31a3 3a2b3a2b 3ab23ab2 1b31b3 1a41a4 4a3b4a3b 6a2b26a2b2 4ab34ab3 1b41b4 (a + b) = (a + b) 2 = (a + b) 3 = (a + b) 4 =

Newton’s Binomial Theorem

Binomial Distribution For n independent trials each with probability p of success and (1-p) of failure we have This defines the binomial(n,p) distribution over the set of n+1 integers {0,1,…,n}.

Binomial Distribution This represents the chance that in n draws there was some number of successes between zero and n.

Example: A pair of coins A pair of coins will be tossed 5 times. Find the probability of getting on k of the tosses, k = 0 to 5. binomial(5,1/4)

Example: A pair of coins A pair of coins will be tossed 5 times. Find the probability of getting on k of the tosses, k = 0 to 5. # =k To fill out the distribution table we could compute 6 quantities for k = 0,1,…5 separately, or use a trick.

Binomial Distribution: consecutive odds ratio Consecutive odds ratio relates P(k) and P(k-1).

543210k Example: A pair of coins Use consecutive odds ratio to quickly fill out the distribution table for binomial (5,1/4):

Binomial Distribution We can use this table to find the following conditional probability: P(at least 3 | at least 1 in first 2 tosses) = P(3 or more & 1 or 2 in first 2 tosses) P(1 or 2 in first 2)

543210k bin (5,1/4): 10k 2 bin (2,1/4):

Stirling’s formula How useful is the binomial formula? Try using your calculators to compute P( 500 H in 1000 coin tosses ) directly: Your calculator may return error when computing 1000!. This number is just too big to be stored.

The following is called the Stirling’s approximation. It is not very useful if applied directly : n n is a very big number if n is 1000.

Stirling’s formula:

Binomial Distribution Toss coin 1000 times; P( 500 in 1000 | 250 in first 500 )= P( 500 in 1000 & 250 in first 500 )/P( 250 in first 500 )= P( 250 in first 500 & 250 in second 500 )/P( 250 in first 500 )= P( 250 in first 500 ) P( 250 in second 500 )/ P( 250 in first 500 )= P( 250 in second 500 )=

Binomial Distribution: Mean Question: For a fair coin with p = ½, what do we expect in 100 tosses?

Binomial Distribution: Mean Recall the frequency interpretation: p ¼ #H/#Trials So we expect about 50 H !

Binomial Distribution: Mean Expected value or Mean  of a binomial(n,p) distribution  = #Trials £ P(success) = n p slip !!

Binomial Distribution: Mode Question: What is the most likely number of successes? Mean seems a good guess.

Binomial Distribution: Mode Recall that To see whether this is the most likely number of successes we need to compare this to P(k in 100) for every other k.

Binomial Distribution: Mode The most likely number of successes is called the mode of a binomial distribution.

Binomial Distribution: Mode If we can show that for some m P(1) · … P(m-1) · P(m) ¸ P(m+1) … ¸ P(n), then m would be the mode.

Binomial Distribution: Mode so we can use successive odds ratio: to determine the mode.

Binomial Distribution: Mode successive odds ratio: If we replace · with > the implications will still hold. >> >> >> So for m= b np+p c we get that P(m-1) · P(m) > P(m+1).

Binomial Distribution: Mode - graph SOR k mode = 50

Binomial Distribution: Mode - graph distr k mode = 50

Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section 2.1