CS 361: Probability & Statistics

Similar documents
RANDOM EXPERIMENTS AND EVENTS

Probability. Dr. Zhang Fordham Univ.

Diamond ( ) (Black coloured) (Black coloured) (Red coloured) ILLUSTRATIVE EXAMPLES

Combinatorics: The Fine Art of Counting

STAT 155 Introductory Statistics. Lecture 11: Randomness and Probability Model

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 3

STOR 155 Introductory Statistics. Lecture 10: Randomness and Probability Model

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes

heads 1/2 1/6 roll a die sum on 2 dice 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 1, 2, 3, 4, 5, 6 heads tails 3/36 = 1/12 toss a coin trial: an occurrence

Lesson 10: Using Simulation to Estimate a Probability

Grade 6 Math Circles Fall Oct 14/15 Probability

FALL 2012 MATH 1324 REVIEW EXAM 4

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

Probability: Terminology and Examples Spring January 1, / 22

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

Chapter 8: Probability: The Mathematics of Chance

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

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

I. WHAT IS PROBABILITY?

CS 361: Probability & Statistics

Probability. Ms. Weinstein Probability & Statistics

Class XII Chapter 13 Probability Maths. Exercise 13.1

Homework #1-19: Use the Counting Principle to answer the following questions.

Fdaytalk.com. Outcomes is probable results related to an experiment

Page 1 of 22. Website: Mobile:

Chapter 4: Introduction to Probability

Exercise Class XI Chapter 16 Probability Maths

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

Probability and Counting Rules. Chapter 3

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Name: Class: Date: Probability/Counting Multiple Choice Pre-Test

UNIT 4 APPLICATIONS OF PROBABILITY Lesson 1: Events. Instruction. Guided Practice Example 1

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

Counting and Probability

7.1 Experiments, Sample Spaces, and Events

12 Probability. Introduction Randomness

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?

Probability Exercise 2

Probability of Independent and Dependent Events

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

Before giving a formal definition of probability, we explain some terms related to probability.

4.1 Sample Spaces and Events

= = 0.1%. On the other hand, if there are three winning tickets, then the probability of winning one of these winning tickets must be 3 (1)

CSC/MTH 231 Discrete Structures II Spring, Homework 5

Probability (Devore Chapter Two)

Probability Assignment

Algebra I Notes Unit One: Real Number System

In how many ways can the letters of SEA be arranged? In how many ways can the letters of SEE be arranged?

Probability - Chapter 4

Simple Probability. Arthur White. 28th September 2016

Intermediate Math Circles November 1, 2017 Probability I

3 The multiplication rule/miscellaneous counting problems

MATH CALCULUS & STATISTICS/BUSN - PRACTICE EXAM #1 - SPRING DR. DAVID BRIDGE

Chapter 4. Probability and Counting Rules. McGraw-Hill, Bluman, 7 th ed, Chapter 4

Discrete probability and the laws of chance

The probability set-up

CS 237: Probability in Computing

Math 1313 Section 6.2 Definition of Probability

Math 147 Elementary Probability/Statistics I Additional Exercises on Chapter 4: Probability

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Math141_Fall_2012 ( Business Mathematics 1) Week 7. Dr. Marco A. Roque Sol Department of Mathematics Texas A&M University

1) What is the total area under the curve? 1) 2) What is the mean of the distribution? 2)

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Solving Problems by Searching

The probability set-up

3 The multiplication rule/miscellaneous counting problems

Week 1: Probability models and counting

Probability Theory. POLI Mathematical and Statistical Foundations. Sebastian M. Saiegh

PROBABILITY. 1. Introduction. Candidates should able to:

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

Theory of Probability - Brett Bernstein

Chapter 1: Sets and Probability

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

Probability: Part 1 1/28/16

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Lecture Start

Beginnings of Probability I

COUNTING AND PROBABILITY

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results.

XXII Probability. 4. The odds of being accepted in Mathematics at McGill University are 3 to 8. Find the probability of being accepted.

Lesson 4: Chapter 4 Sections 1-2

INDEPENDENT AND DEPENDENT EVENTS UNIT 6: PROBABILITY DAY 2

Chapter 1. Probability

NumberSense Companion Workbook Grade 4

Probability. The Bag Model

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

STAT 3743: Probability and Statistics

TJP TOP TIPS FOR IGCSE STATS & PROBABILITY

Probability Models. Section 6.2

Probability. Engr. Jeffrey T. Dellosa.

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

Probability Paradoxes

A. 15 B. 24 C. 45 D. 54

November 6, Chapter 8: Probability: The Mathematics of Chance

Unit 9: Probability Assignments

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Independent and Mutually Exclusive Events

Use a tree diagram to find the number of possible outcomes. 2. How many outcomes are there altogether? 2.

Chapter 3: Elements of Chance: Probability Methods

Transcription:

January 31, 2018 CS 361: Probability & Statistics Probability

Probability theory

Probability Reasoning about uncertain situations with formal models Allows us to compute probabilities Experiments will be our data generating process

Outcomes If we toss a fair coin a bunch of times we expect about the same number of heads and tails If we roll a die, we don t expect to see one number more often than any other We can formally state the set of outcomes (heads, tails) we expect from an experiment (flipping the coin)

Outcomes Tossing a fair coin once: {H, T} Tossing a die: {1, 2, 3, 4, 5, 6} Tossing two coins: {HH, HT, TH, TT}

Sample space The sample space is the set of all possible outcomes of an experiment, written

Example Three playing cards: King (K), Queen (Q), Knight (N). One is turned over randomly What is the sample space? {K, Q, N}

Example Suppose we flip a card, turn it back over, rearrange the cards and flip another. What is the sample space? {KK, KQ, KN, QQ, QK, QN, NN, NK, NQ}

Example A couple decides to have children until they have both a boy and a girl or until they have three children What is the sample space? {BG, GB, BBG, GGB, BBB, GGG}

Example: Monty Hall There are three doors: door #1, door #2, door #3. Behind two of them are goats, behind one is a car. The goats are indistinguishable If we open the doors and note what we observe the sample space is {CGG, GCG, GGC}

Monty hall #2 Consider the Monty Hall scenario with distinguishable goats, one male and one female {CFM, CMF, FCM, FMC, MCF, MCF} Notice how there are more outcomes here

More family planning A couple decides to have children They decide to have children until a girl and then a boy is born What is the sample space here? The set of all strings that end in GB and contain no other GBs As a regular expression: B*G+B Somewhere between two and infinite children

Sample spaces Each run of an experiment has exactly one outcome The set of all possible outcomes is the sample space We will need to think of sample spaces to think rigorously about probability Sample spaces can be finite or infinite

Probability We might like to think of how often we will see each particular outcome A if we repeat an experiment over and over If our experiment is flipping a coin and we repeat it a large number of times We probably expect the relative frequencies of heads and tails to be non-negative and we want the frequency of either outcome to be at most 1 Finally we want the relative frequencies of heads and tails to add up to 1

Probability More generally, for an experiment with sample space that we want each outcome A to satisfy intuition tells us probability of outcome A And we also want the following

Example If we have a biased coin where P(H) = 1/3 and P(T) = 2/3 and we toss it three million times, how many times will we expect to see heads? We will see close to a million heads and 2 million tails

Example We often look at experiments where each outcome is equally likely In the example earlier with 3 cards, a King, Queen, and Knight where we turn one over at random. If each is equally likely, what probability should we assign to each card?

Example Recall the Monty Hall setup: 3 doors, 2 with a goat, and one with a car If we open the first door, what is the probability that we see a goat? What is the probability we see the car? P(car) = 1/3, P(goat) = 2/3

Example Recall the Monty Hall setup with distinguishable goats What is the probability we find a female goat behind door #1? P(female goat) = 1/3

Events Our formalization of probability will be about rules to assign probability to sets of outcomes For example, we might flip a coin three times Our sample space, the set of all outcomes, is {HHH, HHT, HTH, HTT, THH, THT, TTH, TTT} Getting two tails might be something we are interested int he probability of and is the set of outcomes {HTT, THT, TTH} We give sets of outcomes a special name, events, and the theory we develop will concern the probabilities of events

Events Remember: events are sets of outcomes The set of all outcomes is therefore an event and has probability 1 Likewise the empty set is an event (the set of no outcomes) and has probability 0

Events Since events are sets, we want it to be the case that if A and B are events things like,,, and are also events Example: Roll a die, let A={1,2,5} and B={2,4,6} What are,,, and in this case?

Probability and events: axioms Probabilities of events are non-negative: Every experiment has an outcome: The probability of disjoint events is additive: if for all i and j we have then Any function P that maps sets to real numbers and satisfies these is called a probability function or probability

Some properties These properties follow from the simple axioms on the last slide

Probability and size It can be helpful to think of the probability of an event as measuring its size We can then use diagrams to reason about certain properties. Which properties are illustrated below?

Counting and probability In many cases, we will use counting in order to compute probabilities If we are interested in an event writing its probability as follows, a set of outcomes, we might think of Thus, if each outcome in has the same probability then we have

Example Roll two fair dice and consider the total: what is the probability of getting an odd number? There are 36 outcomes in the sample space and each of them are equally likely giving each a probability of 1/36 18 of the 36 outcomes result in an odd number So the probability is 18/36=1/2

Example If we shuffle a pack of cards and draw one at random, what is the probability that it is a red 10? There are 52 cards, each an equally likely outcome in the sample space Our event of interest is the set containing the two outcomes where a red 10 is drawn The probability is 2/52=1/26

Example Roll two dice, add the two numbers, what in the probability the result is divisible by 5? There are 36 equally likely outcomes as before There are 4 ways to get a 5 with two dice and 3 ways to get a 10, so the probability is 7/36

Example We stop three random people on the street and ask them on what day of the week they were born. What is the probability that they were born on days of the week that are in succession? E.g. Monday-Tuesday-Wednesday or Saturday-Sunday-Monday The sample space has 7^3 outcomes each equally likely Our event has 7 possible outcomes So our probability is 7/7^3 = 1/49