MAT Mathematics in Today's World

Similar documents
Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

STA Module 4 Probability Concepts. Rev.F08 1

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

STAT 201 Chapter 5. Probability

Chapter 18. Sampling Distribution Models. Copyright 2010, 2007, 2004 Pearson Education, Inc.

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

P (A) = P (B) = P (C) = P (D) =

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

STA 247 Solutions to Assignment #1

Ch 14 Randomness and Probability

3.2 Probability Rules

Fundamentals of Probability CE 311S

Intermediate Math Circles November 8, 2017 Probability II

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Example. If 4 tickets are drawn with replacement from ,

Probability: Part 1 Naima Hammoud

Math 140 Introductory Statistics

1 What are probabilities? 2 Sample Spaces. 3 Events and probability spaces

Math 140 Introductory Statistics

Mathematics. ( : Focus on free Education) (Chapter 16) (Probability) (Class XI) Exercise 16.2

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

Lecture 6 Probability

The Central Limit Theorem

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Basic Probability. Introduction

Axioms of Probability

CS 361: Probability & Statistics

Steve Smith Tuition: Maths Notes

Discrete Structures for Computer Science

Probability and Independence Terri Bittner, Ph.D.

Why should you care?? Intellectual curiosity. Gambling. Mathematically the same as the ESP decision problem we discussed in Week 4.

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

P (second card 7 first card King) = P (second card 7) = %.

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

Senior Math Circles November 19, 2008 Probability II

CS 124 Math Review Section January 29, 2018

Lecture 1: Probability Fundamentals

5.3 Conditional Probability and Independence

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

3 PROBABILITY TOPICS

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

Lecture 6 - Random Variables and Parameterized Sample Spaces

Lecture 15. DATA 8 Spring Sampling. Slides created by John DeNero and Ani Adhikari

Sampling Distribution Models. Chapter 17

Math 1313 Experiments, Events and Sample Spaces

Probability Notes (A) , Fall 2010

University of California, Berkeley, Statistics 134: Concepts of Probability. Michael Lugo, Spring Exam 1

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 4.1-1

Lecture notes for probability. Math 124

Chapter 6: Probability The Study of Randomness

Business Statistics. Lecture 3: Random Variables and the Normal Distribution

6.041SC Probabilistic Systems Analysis and Applied Probability, Fall 2013 Transcript Tutorial:A Random Number of Coin Flips

Today we ll discuss ways to learn how to think about events that are influenced by chance.

Discrete Probability and State Estimation

A brief review of basics of probabilities

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

Summer HSSP Lecture Notes Week 1. Lane Gunderman, Victor Lopez, James Rowan

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

Math 140 Introductory Statistics

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Toss 1. Fig.1. 2 Heads 2 Tails Heads/Tails (H, H) (T, T) (H, T) Fig.2

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

UNIT NUMBER PROBABILITY 6 (Statistics for the binomial distribution) A.J.Hobson

Probability- describes the pattern of chance outcomes

Math 243 Section 3.1 Introduction to Probability Lab

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Great Theoretical Ideas in Computer Science

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

6.042/18.062J Mathematics for Computer Science November 28, 2006 Tom Leighton and Ronitt Rubinfeld. Random Variables

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

Discrete Probability

Probability (Devore Chapter Two)

the time it takes until a radioactive substance undergoes a decay

Chapter 7 Wednesday, May 26th

Formalizing Probability. Choosing the Sample Space. Probability Measures

RVs and their probability distributions

1 Normal Distribution.

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Chapter 3: Probability 3.1: Basic Concepts of Probability

UNIT 5 ~ Probability: What Are the Chances? 1

1. Rolling a six sided die and observing the number on the uppermost face is an experiment with six possible outcomes; 1, 2, 3, 4, 5 and 6.

STA Why Sampling? Module 6 The Sampling Distributions. Module Objectives

Statistics Primer. A Brief Overview of Basic Statistical and Probability Principles. Essential Statistics for Data Analysts Using Excel

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

Objective - To understand experimental probability

Review of probabilities

Basic Concepts of Probability

STT When trying to evaluate the likelihood of random events we are using following wording.

MA 1125 Lecture 15 - The Standard Normal Distribution. Friday, October 6, Objectives: Introduce the standard normal distribution and table.

The Central Limit Theorem

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin,

Conditional Probability

4. Probability of an event A for equally likely outcomes:

Transcription:

MAT 1000 Mathematics in Today's World

Last Time We discussed the four rules that govern probabilities: 1. Probabilities are numbers between 0 and 1 2. The probability an event does not occur is 1 minus the probability that it does 3. The probability of one or the other of two disjoint events occurring is the sum of their probabilities 4. All possible outcomes together have a probability of 1

Last Time We also discussed independent events. If two events are independent, the probability that both happen is the product of the probabilities of each. We also saw how to analyze simple probabilities using sample spaces, and probability models. Probability models can be represented visually by probability histograms

Today We will talk about random phenomena with equally likely outcomes. Meaning: all outcomes have the same probability. When outcomes are all equally likely, to find probabilities we just need to count.

Today We will also talk about simulation. Probability is a long-term frequency, so we can experimentally approximate probabilities.

Equally likely outcomes A probability model is a list of all possible outcomes (the sample space) and the probability of each. Models where all outcomes have the same probability are especially easy to work with. When all outcomes in a probability model have the same probability, we say the outcomes are equally likely.

Equally likely outcomes Some of the simple examples we have considered have equally likely outcomes. Flipping a coin: Rolling a die:

Equally likely outcomes But, not every probability model has equally likely outcomes. We ve seen a few examples of this. The gender of a newborn baby: The color of a randomly drawn M&M

Equally likely outcomes If we know that a probability model has equally likely outcomes, finding the probability of each individual outcome is quite easy. When all outcomes are equally likely: probability of any one outcome = 1 total number of outcomes

Equally likely outcomes Last time we found the sample space for rolling two dice: I also said that the probability of any one outcome is: The reason is that there are 36 possible outcomes, and they are all equally likely. 1 36

Equally likely outcomes Outcomes and events are somewhat different things An event is a collection of outcomes. When rolling two dice, the sum of the numbers on the dice is 10 is an event (not an outcome). Which outcomes are in this event?

Equally likely outcomes What is the probability of this event? I claimed last time that it is 3 1 or 36 18 Why is this true? When all outcomes are equally likely: probability of an event= number of outcomes in the event total number of outcomes

Equally likely outcomes Be careful. These two formulas are not always true: probability of any one outcome = 1 total number of outcomes probability of an event= number of outcomes in the event total number of outcomes They are only true when all of the outcomes are equally likely.

Probability myths Suppose we flip a coin six times in a row. For each flip, we ll write down H if we get heads and T if we get tails. Which of these sequences is less likely to happen? H H H H H H T H H T H T Almost everyone would answer that the first sequence is less likely. This is false.

Probability myths Each flip of a coin is independent. Getting heads or tails on one flip doesn t change the probabilities of getting heads or tails on the next. What s the probability of getting heads on two flips? probability of H H = 1 2 1 2 = 1 4

Probability myths What s the probability of getting heads on three flips? probability of H H H = 1 2 1 2 1 2 = 1 8 Four? probability of H H H H= 1 2 1 2 1 2 1 2 = 1 16

Probability myths By now you see the pattern, and you can guess that the probability of the sequence H H H H H H should be 1 2 multiplied by itself 6 times. 1 2 1 2 1 2 1 2 1 2 1 2 = 1 64 What is the probability of the sequence T H H T H T? Exactly the same.

Probability myths The probability that we toss a coin and get tails is 1 2 The next toss is independent of this, so the probability of getting heads is 1 2 Becausae these two tosses are independent, we have probability of T H = 1 2 1 2 = 1 4 The next toss is also independent, so probability of T H H = 1 2 1 2 1 2 = 1 8

Probability myths Again you should see the pattern. Each of the six tosses is independent, so the probability of the sequence T H H T H T is 1 2 multiplied by itself 6 times: 1 2 1 2 1 2 1 2 1 2 1 2 = 1 64 The probability of tossing a coin six times and getting T H H T H T is the same as the probability of getting H H H H H H

Probability myths Our intuition is wrong in believing that T H H T H T is more likely than H H H H H H But, there is a kernel of truth in this false intuition. It is true that tossing a coin six times and getting heads three times is more likely than tossing a coin six times and getting heads all six times.

Compare the wording: Probability myths getting heads three times in six tosses tossing a coin six times and getting T H H T H T These are different statements. Why? There are several ways to toss a coin six times and get heads three times. The sequence T H H T H T is just one way. Here are two more: T T H H T H H H T T T H

Probability myths So what is the probability of tossing a coin six times and getting heads three times? Turns out it s 20 64 = 5 16

Probability myths Any sequence of six outcomes for our coin tosses is equally likely (they all have probability 1/64). Remember that probability of an event= number of outcomes in the event total number of outcomes So finding the probability of getting heads on three tosses requires counting how many ways there are to do this.

Probability myths Turns out there are 20 (we ll see a nice formula for counting this next time) ways to get three heads on six tosses. Also there are 64 possible outcomes (another formula we ll learn next time). So, as I said, the probability is number of outcomes in the event total number of outcomes = 20 64

Simulation This type of question quickly get difficult to analyze. Suppose we want to know the probability of tossing a coin ten times and getting a run of at least three heads in a row. This can be calculated mathematically, but it s fairly subtle. Fortunately, there is an alternative approach. We can estimate probabilities using simulation.

Simulation Probabilities are long-run frequencies. To estimate the probability of getting a run of three or more heads in ten coin tosses, we could repeatedly toss a coin ten times. Keeping track of how often we get a run of three or more on ten tosses, we could look at the frequency: number of times we get a run of three or more heads number of times we toss the coin ten times The more times we do this, our approximation will get closer and closer to the actual probability.

Simulation But tossing a coin thousands of times would take a long time. We can use what s called simulation to speed up the process (and this can be done on a computer). The key idea of simulation: use random digits to imitatate chance behavior.

Setting up a simulation: Simulation Step 1. Give a probability model for the underlying random phenomenon. Our model is that we have two outcomes: heads and tails. They are independent, and equally likely (probability of either is 1 2 )

Setting up a simulation: Simulation Step 2. Assign digits to represent outcomes. If we use a table of random digits, we will get digits from 0 to 9. Each digit is equally likely (probability 0.1), and successive digits are independent.

Simulation In our simulation each digit will represent a coin toss. We can let odd digits represent the outcome heads and let even digits represent the outcome tails. Note this works out because there are 5 odd digits and 5 even digits (including 0), so the probability of choosing an odd number is exactly the probability of getting heads (0.5), and the probability of choosing an even number is exactly the same as the probability of getting tails (0.5 again).

Setting up a simulation: Simulation Step 3. Simulate many repetitions. We want to simulate what happens when toss a coin ten times. Each digit is one toss. So we look at ten digits from a table of random digits to simulate ten tosses. Let s start from the first line

Chapter 2 32

The first 10 digits are Simulation 1 9 2 2 3 9 5 0 3 4 Odd means heads and even means tails, so these 10 digits simulate tossing a coin ten times and getting: H H T T H H H T H T This time we did get 3 heads in a row. Let s do two more repetitions.

Simulation The next 10 digits on the table are 0 5 7 5 6 2 8 7 1 3 This corresponds to the sequence: T H H H T T T H H H Another sequence with three heads in a row (twice). The next 10 digits are 9 6 4 0 9 1 2 5 3 1 H T T T H H T H H H Yet again we have three heads in a row.

Simulation At this point our simulation estimates the probability of tossing a coin ten times and getting three or more heads to be Not a very good estimate. 3 3 = 1 We haven t done enough simulations. Of course a computer can quickly do thousands, which is enough to give a good estimate.

Simulation If we do 17 more simulations, for a total of 20, heads occurs at least three times in a row in 11 simulations. This gives an estimated probability of 11 20 = 0.52 For comparison (using some difficult math) the actual probability is 0.5078125 So even 20 simulations gives a decent estimate.