Chapter 2: Probability

Similar documents
Math 14 Lecture Notes Ch. 4.3

MATH 112 Section 7.3: Understanding Chance

The following content is provided under a Creative Commons license. Your support

Lesson 97 - Binomial Distributions IBHL2 - SANTOWSKI

Opening Exercise: Lesson 91 - Binomial Distributions IBHL2 - SANTOWSKI

Lecture 9. Probability Distributions. Outline. Outline

Lecture 9. Probability Distributions

The normal distribution is a theoretical model derived mathematically and not empirically.

Probability: Week 4. Kwonsang Lee. University of Pennsylvania February 13, 2015

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

Chapter 4 Discrete Random variables

Event p351 An event is an outcome or a set of outcomes of a random phenomenon. That is, an event is a subset of the sample space.

Shifting our focus. We were studying statistics (data, displays, sampling...) The next few lectures focus on probability (randomness) Why?

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

Basics of Probability

Chapter 4 Discrete Random variables

6.1 Binomial Theorem

5.1 Personal Probability

MATH 446/546 Homework 1:

Stat 20: Intro to Probability and Statistics

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Determine whether the given events are disjoint. 1) Drawing a face card from a deck of cards and drawing a deuce A) Yes B) No

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Probability distributions

WorkSHEET 13.3 Probability III Name:

5.2 Random Variables, Probability Histograms and Probability Distributions

Probability and Sample space

***SECTION 8.1*** The Binomial Distributions

What do you think "Binomial" involves?

Chapter 14. From Randomness to Probability. Copyright 2010 Pearson Education, Inc.

Lecture 6 Probability

Review. What is the probability of throwing two 6s in a row with a fair die? a) b) c) d) 0.333

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

The Binomial Probability Distribution

Prof. Thistleton MAT 505 Introduction to Probability Lecture 3

Probability Distributions

Statistical Methods for NLP LT 2202

Chapter 3 Class Notes Intro to Probability

Business Statistics 41000: Probability 4

6 If and then. (a) 0.6 (b) 0.9 (c) 2 (d) Which of these numbers can be a value of probability distribution of a discrete random variable

Binomial and multinomial distribution

Binomial Distributions

expl 1: Consider rolling two distinguishable, six-sided dice. Here is the sample space. Answer the questions that follow.

Probability (10A) Young Won Lim 5/29/17

Probability. An intro for calculus students P= Figure 1: A normal integral

14.30 Introduction to Statistical Methods in Economics Spring 2009

Mean, Variance, and Expectation. Mean

Chapter 9. Sampling Distributions. A sampling distribution is created by, as the name suggests, sampling.

Lecture 2. Probability Distributions Theophanis Tsandilas

2. Modeling Uncertainty

Math 235 Final Exam Practice test. Name

Review for Final Exam Spring 2014 Jeremy Orloff and Jonathan Bloom

Ch 9 SB answers.notebook. May 06, 2014 WARM UP

STA 6166 Fall 2007 Web-based Course. Notes 10: Probability Models

The Binomial Theorem 5.4

MidTerm 1) Find the following (round off to one decimal place):

VIDEO 1. A random variable is a quantity whose value depends on chance, for example, the outcome when a die is rolled.

The topics in this section are related and necessary topics for both course objectives.

30 Wyner Statistics Fall 2013

If X = the different scores you could get on the quiz, what values could X be?

CHAPTER 6 Random Variables

4: Probability. Notes: Range of possible probabilities: Probabilities can be no less than 0% and no more than 100% (of course).

MATH 118 Class Notes For Chapter 5 By: Maan Omran

binomial day 1.notebook December 10, 2013 Probability Quick Review of Probability Distributions!

Week 3 Supplemental: The Odds......Never tell me them. Stat 305 Notes. Week 3 Supplemental Page 1 / 23

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Fundamentals of Managerial and Strategic Decision-Making

Test - Sections 11-13

STT315 Chapter 4 Random Variables & Probability Distributions AM KM

Binomial and Normal Distributions

5.4 Normal Approximation of the Binomial Distribution Lesson MDM4U Jensen

Review: Population, sample, and sampling distributions

Fall 2015 Math 141:505 Exam 3 Form A

The Binomial Distribution

Probability Distributions

6.3: The Binomial Model

Chapter Six Probability

6.042/18.062J Mathematics for Computer Science November 30, 2006 Tom Leighton and Ronitt Rubinfeld. Expected Value I

7.1: Sets. What is a set? What is the empty set? When are two sets equal? What is set builder notation? What is the universal set?

5.4 Normal Approximation of the Binomial Distribution

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x)

2017 Fall QMS102 Tip Sheet 2

CHAPTER 6 Random Variables

Binomial Distributions

STOR Lecture 7. Random Variables - I

Chapter 3 - Lecture 5 The Binomial Probability Distribution

x is a random variable which is a numerical description of the outcome of an experiment.

Unit 3: Probability: Foundations for Inference

STOR 155 Introductory Statistics (Chap 5) Lecture 14: Sampling Distributions for Counts and Proportions

Probability Distributions. Definitions Discrete vs. Continuous Mean and Standard Deviation TI 83/84 Calculator Binomial Distribution

Unit 4 Bernoulli and Binomial Distributions Week #6 - Practice Problems. SOLUTIONS Revised (enhanced for q4)

Part 10: The Binomial Distribution

Part V - Chance Variability

Chapter 6: Random Variables. Ch. 6-3: Binomial and Geometric Random Variables

Statistical Methods in Practice STAT/MATH 3379

GOALS. Discrete Probability Distributions. A Distribution. What is a Probability Distribution? Probability for Dice Toss. A Probability Distribution

Discrete Probability Distributions Chapter 6 Dr. Richard Jerz

The probability of having a very tall person in our sample. We look to see how this random variable is distributed.

Computational social choice

The Binomial Distribution

Transcription:

Slide 2.1 Chapter 2: Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics (such as the sample mean) depend upon chance. Hence to understand how to interpret sample evidence, we need to understand chance, or probability.

Slide 2.2 The definition of probability The probability of an event A may defined in different ways: The frequentist view: the proportion of trials in which the event occurs, calculated as the number of trials approaches infinity The subjective view: someone s degree of belief about the likelihood of an event occurring

Slide 2.3 Some vocabulary an experiment: an activity such as tossing a coin, which has a range of possible outcomes. a trial: a single performance of the experiment. the sample space: all possible outcomes of the experiment. For a single toss of a coin the sample space is {Heads, Tails}.

Slide 2.4 Probabilities With each outcome in the sample space we can associate a probability (calculated according to either the frequentist or subjective view) Pr(Heads) = 1/2 Pr(Tails) = 1/2 This is an example of a probability distribution (more detail in Chapter 3)

Slide 2.5 Rules for probabilities 0 Pr(A) 1 p =1, summed over all outcomes Pr(not-A) = 1 - Pr(A)

Slide 2.6 Examples: picking a card from a pack The probability of picking any one card from a pack (e.g. King of Spades) is 1/52. This is the same for each card Summing over all cards: 1/52 + 1/52 +... = 1 Pr(not-King of Spades) = 51/52 = 1-Pr(King of Spades)

Slide 2.7 Compound events Often we need to calculate more complicated probabilities: what is the probability of drawing any Spade? what is the probability of throwing a double six with two dice? what is the probability of collecting a sample of people whose average IQ is greater than 100? These are compound events.

Slide 2.8 Rules for calculating compound probabilities 1. The addition rule: the or rule Pr(A or B) = Pr(A) + Pr(B) The probability of rolling a five or six on a single roll of a die is Pr(5 or 6) = Pr(5) + Pr(6) = 1/6 + 1/6 = 1/3 1 2 3 4 5 6

Slide 2.9 A slight complication... If A and B can simultaneously occur, the previous formula gives the wrong answer... Pr(King or Heart) = 4/52 + 13/52 = 17/52 This double counts the King of Hearts 16 dots highlighted A K Q J 10 9 8 7 6 5 4 3 2 Spades Hearts Diamonds Clubs

Slide 2.10 A slight complication... (continued) We therefore subtract the King of Hearts: Pr(King or Heart) = 4/52 + 13/52-1/52 = 16/52 The formula is therefore Pr(A or B) = Pr(A) + Pr(B) - Pr(A and B) When A and B cannot occur simultaneously, Pr(A and B) = 0

Slide 2.11 The multiplication rule When you want to calculate Pr(A and B): Pr(A and B) = Pr(A) Pr(B) The probability of obtaining a double-six when rolling two dice is Pr(Six and Six) = Pr(Six) Pr(Six) = 1/6 1/6 = 1/36.

Slide 2.12 Another slight complication: independence Pr(drawing two Aces from a pack of cards, without replacement)... If the first card drawn is an Ace (P = 4/52), that leaves 51 cards, of which 3 are Aces. The probability of drawing the second Ace is 3/51, different from the probability of drawing the first Ace. They are not independent events. The probability changes. Pr(two Aces) = 4/52 3/51 = 1/221

Slide 2.13 Conditional probability 3/51 is the probability of drawing an Ace given that an Ace was drawn as the first card This is the conditional probability and is written Pr(Second Ace Ace on first draw) To simplify notation write as Pr(A2 A1) This is the probability of event A2 occurring, given A1 has occurred

Slide 2.14 Conditional probability (continued) Consider Pr(A2 not-a1)... A not-ace is drawn first, leaving 51 cards of which 4 are Aces Hence Pr(A2 not-a1) = 4/51 So Pr(A2 not-a1) Pr(A2 A1) They are not independent events

Slide 2.15 The multiplication rule again The general rule is Pr(A and B) = Pr(A) Pr(B A) For independent events Pr(B A) = Pr(B not-a) = Pr(B) and so Pr(A and B) = Pr(A) Pr(B)

Slide 2.16 Combining the rules Pr(1 Head in two tosses)......= Pr( [H and T] or [T and H] ) = Pr( [H and T] ) + Pr( [T and H] ) = [1/2 1/2] + [1/2 1/2] ) = 1/4 + 1/4 = 1/2

Slide 2.17 The tree diagram H ½ {H,H} P = 1 / 4 H T ½ ½ T H ½ ½ {H,T} {T,H} P = 1 / 4 P = 1 / 4 P = ½ T ½ {T,T} P = 1 / 4

Slide 2.18 But it gets complicated quickly... Pr(3 Heads in 5 tosses)? Pr(30 Heads in 50 tosses)? How many routes? Drawing takes too much time, we need a formula...

Slide 2.19 The Combinatorial formula The combinatorial formula gives the number of routes through the diagram: ncr = n! r!( n r)! n! = n ( n 1) ( n 2) 1 E.g. 5 4 3 2 1 5 C3 = = 10 ( 3 2 1) ( 2 1) n is the number of trials, r is the number of successes required. Note the formula is not that difficult to evaluate, many terms cancel out.

Slide 2.20 The Combinatorial formula (continued) We can write the probability of 1 Head in 2 tosses as the probability of a head and a tail (in that order) times the number of possible orderings. Pr(2 Heads) = ½ ½ 2C1 = ¼ 2 = ½ We can formalise this in the Binomial distribution...

Slide 2.21 The Binomial distribution If we define P as the probability of Heads, and hence (1-P) is the probability of Tails, we can write Pr(1 Head) = P 1 (1-P) 1 2C1 or, in general Pr(r Heads) = P r (1-P) (n-r) ncr This is the formula for the Binomial distribution The Binomial distribution applies in circumstances where the underlying experiment has only two possible outcomes, e.g. success or failure.

Slide 2.22 P(3 heads in 5 tosses): n = 5, r = 3, P = ½ Example Pr(3 Heads) = P r (1-P) (n-r) ncr = ½ 3 (1 - ½) 2 5C3 = 1 / 8 1 / 4 5!/(3! 2!) = 10/32

Slide 2.23 Bayes Theorem A ball is drawn at random from one of the boxes below. It is red. Box A Box B Intuitively, it seems more likely to have come from Box A. But what is the precise probability? Bayes theorem answers this question.

Slide 2.24 Solution We require Pr(A R). This can be written: Pr( Aand R) Pr( A R) = Pr( R) Expanding top and bottom we have: Pr( A R) = Pr( R Pr( R A) Pr( A) A) Pr( A) + Pr( R B) Pr( B) We now have the answer in terms of probabilities we can evaluate.

Slide 2.25 Solution (continued) Hence we obtain: 6 /10 0.5 Pr( A R) = = 6 /10 0.5 + 3/10 0.5 There is a 2/3 probability the ball was taken from Box A. 2 3 A similar calculation yields Pr(B R) = 1 / 3 These are the posterior probabilities. The prior probabilities were ½, ½.

Slide 2.26 Prior and posterior probabilities Prior probabilities: Pr(A), Pr(B) Likelihoods: Pr(R A), Pr(R A) Posterior probabilities: Pr(A R), Pr(B R) posterior probability = likelihood prior probability ( likelihood prior probability)

Slide 2.27 Table of likelihoods and probabilities Prior probabilities Likelihoods Prior likelihood Posterior probabilities A 0.5 0.6 0.30 0.30/0.45 = 2/3 B 0.5 0.3 0.15 0.15/0.45 = 1/3 Total 0.45 The posterior probabilities are calculated as 2 / 3 and 1 / 3, as before.

Slide 2.28 Summary Probability underlies statistical inference There are rules (e.g. the multiplication rule) for calculating probabilities Independence simplfies the rules These rules lead on to probability distributions such as the Binomial Bayes theorem tells us how to update probabilities in the light of evidence