Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006.

Slides:



Advertisements
Similar presentations
What are your Chances? by Laurie Townsend.
Advertisements

Discrete Probability Rosen 5.1.
Probability What Are the Chances?. Section 1 The Basics of Probability Theory Objectives: Be able to calculate probabilities by counting the outcomes.
Probability Fall 2011, CISC1400 Dr. Zhang.
How likely something is to happen.
Probability Chapter 11 1.
Math notebook, pencil, and possibly calculator. Definitions  An outcome is the result of a single trial of an experiment.  The sample space of an experiment.
Describing Probability
In each of the following situations, state whether or not the given assignment of probabilities to individual outcomes is legitimate, that is, satisfies.
8.7 Probability. Ex 1 Find the sample space for each of the following. One coin is tossed. Two coins are tossed. Three coins are tossed.
Section 16.1: Basic Principles of Probability
1 Discrete Structures & Algorithms Discrete Probability.
Probability Probability Principles of EngineeringTM
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
Great Theoretical Ideas in Computer Science.
What are the chances of that happening?. What is probability? The mathematical expression of the chances that a particular event or outcome will happen.
Bellwork What fraction of the spinner is blue? Write in simplest form.
Refreshing Your Skills for Chapter 10.  If you flip a coin, the probability that it lands with heads up is 1/2.  If you roll a standard die, the probability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
C4, L1, S1 Probabilities and Proportions. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
X of Z: MAJOR LEAGUE BASEBALL ATTENDANCE Rather than solving for z score first, we may be given a percentage, then we find the z score, then we find the.
Lecture Discrete Probability. 5.1 Probabilities Important in study of complexity of algorithms. Modeling the uncertain world: information, data.
6.1 Probability exercises. Def Def: If S is a finite sample space of equally likely outcomes, and E is an event, that is, a subset of S, then the probability.
Bell Quiz.
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Warm-Up 1. What is Benford’s Law?
Notes on PROBABILITY What is Probability? Probability is a number from 0 to 1 that tells you how likely something is to happen. Probability can be either.
Chapter 7 With Question/Answer Animations. Section 7.1.
Each time an experiment such as one toss of a coin, one roll of a dice, one spin on a spinner etc. is performed, the result is called an ___________.
Homework Homework due now. Reading: relations
C4, L1, S1 Chapter 3 Probability. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take so that.
1.4 Equally Likely Outcomes. The outcomes of a sample space are called equally likely if all of them have the same chance of occurrence. It is very difficult.
7th Probability You can do this! .
Review Homework pages Example: Counting the number of heads in 10 coin tosses. 2.2/
MA 485/585 Probability Theory (Dr Chernov). Five cards Five cards are labeled 1,2,3,4,5. They are shuffled and lined up in an arbitrary order. How many.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Do Now. Introduction to Probability Objective: find the probability of an event Homework: Probability Worksheet.
Probability VOCAB!. What is probability? The probability of an event is a measure of the likelihood that the event will occur. When all outcomes are equally.
Section 7.1. Probability of an Event We first define these key terms: An experiment is a procedure that yields one of a given set of possible outcomes.
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
No Warm-Up today. You have a Quiz Clear your desk of everything but a calculator and something to write with.
Unit 4 Probability Day 3: Independent and Dependent events.
Chance We will base on the frequency theory to study chances (or probability).
Sample Spaces and Probability Addition Rules Multiplication Rules and Conditional Probability Counting Rules Probability and Counting Rules
Counting and Probability. Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. Below are the results after 50 tosses Tossing.
Ch 11.7 Probability. Definitions Experiment – any happening for which the result is uncertain Experiment – any happening for which the result is uncertain.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
Probability…What is it?
Natural Language Processing
Introduction to Discrete Mathematics
Meaning of Probability
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
Natural Language Processing
Discrete Probability Chapter 7 With Question/Answer Animations
WARMUP Lesson 10.3, For use with pages
Introduction to Probability
Probabilities and Proportions
Lecture 22 Section 7.1 – Wed, Oct 20, 2004
COUNTING AND PROBABILITY
Digital Lesson Probability.
Probability Rules.
Presentation transcript:

Introduction Lecture 25 Section 6.1 Wed, Mar 22, 2006

What is Probability? A coin has a 50% chance of landing heads. What does that mean? The coin will land heads 50% of the time? This is demonstrably false. The coin will land heads approximately 50% of the time? Then the probability is approximately 50%, not exactly 50%.

The Meaning of Probability It means that the fraction of the time that the coin lands heads will get arbitrarily close to 50% as the number of coin tosses increases without bound. This involves the notion of a limit as n approaches infinity.

The Sample Space An experiment is a procedure that leads to an outcome. If at least one step in the procedure is left to chance, then the outcome is unpredictable. We observe a characteristic of the outcome. The sample space is the set of all possible observations.

The Sample Space Example Procedure: Toss a coin. Observed characteristic: Which side landed up. Sample space = {H, T}

The Sample Space Example Procedure: Roll a die. Observed characteristic: Which number landed up. Sample space = {1, 2, 3, 4, 5, 6}

Calculation of Probability We will consider only finite sample spaces. If the n members of the sample space are equally likely, then the probability of each member is 1/n. Examples Toss a coin, P(H) = 1/2. Roll a die, P(3) = 1/6.

The Probability of an Event An event is a collection of possible observations, i.e., a subset of the sample space. The probability of an event is the sum of the probabilities of its individual members. If the members of the sample space are equally likely, then P(E) = |E|/|S|.

Example: Probability of an Event In a full binary search tree of 25 values, what is the probability that a search will require 5 comparisons? Assume that all 25 values are equally likely. 10 of them occupy the bottom row. Therefore, p = 10/25 = 40%.

Example A deck of cards is shuffled and the top card is drawn. What is the probability that it is The ace of spades? An ace? A spade? A black card?

Example A deck of cards is shuffled, the top card is discarded, and the next card is drawn. What is the probability that it is The ace of spades? An ace? A spade? A black card?

Example A deck of cards is shuffled, the top card is drawn, and it is noted that it is red. Then the next card is drawn. What is the probability that it is The ace of spades? An ace? A spade? A black card?

Example A deck of cards is shuffled, the top card is drawn, and it is noted that it is black. Then the next card is drawn. What is the probability that it is The ace of spades? An ace? A spade? A black card?

Example Two red cards and two black cards are laid face down. Two of them are chosen at random and turned over. What is the probability that they are the same color?

The Monty Hall Problem See p There are three doors on the set for a game show. Call them A, B, and C. You get to open one door and you win the prize behind the door. One of the doors has a Ferrari behind it. You pick door A.

The Monty Hall Problem However, before you open it, Monty Hall opens door B and shows you that there is a goat behind it. He asks you whether you want to change your choice to door C. Should you change your choice or should you stay with door A?

The Monty Hall Problem There are three plausible strategies. Stay with door A. Door C still has a 1/3 chance, so door A must have a 2/3 chance. Switch to door C. Door A still has a 1/3 chance, so door C must have a 2/3 chance. It doesn’t matter. Both doors now have a 1/2 chance.

The Monty Hall Problem Use a simulation to determine the correct answer. MontyHall.exe. MontyHall.exe

A Contest Problem If we choose an integer at random from 1 to 1000, what is the probability that it can be expressed as the difference of two squares?