Quantifying Uncertainty

Slides:



Advertisements
Similar presentations
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
Advertisements

Probability Simple Events
1 Codes, Ciphers, and Cryptography-Ch 2.3 Michael A. Karls Ball State University.
9.7 Probability Mutually exclusive events. Definition of Probability Probability is the Outcomes divided by Sample Space. Outcomes the results of some.
Section 4.2 Probability Rules HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights.
Section 7.4 (partially). Section Summary Expected Value Linearity of Expectations Independent Random Variables.
PROBABILITY  A fair six-sided die is rolled. What is the probability that the result is even?
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Probability and Probability Distributions
Conditional Probability
5.1 Probability of Simple Events
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Copyright © 2000 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen College Algebra: A Graphing Approach Chapter Six Sequences, Series, and Probability.
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.
Conditional Probability and Independence If A and B are events in sample space S and P(B) > 0, then the conditional probability of A given B is denoted.
Welcome to Probability and the Theory of Statistics This class uses nearly every type of mathematics that you have studied so far as well as some possibly.
Probability Rules!. ● Probability relates short-term results to long-term results ● An example  A short term result – what is the chance of getting a.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Randomness, Uncertainty, & Probability. Probability The formal study of the laws of chance Examples of probability statements are everywhere: – There.
Lecture Discrete Probability. 5.3 Bayes’ Theorem We have seen that the following holds: We can write one conditional probability in terms of the.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Chapter 9 Review. 1. Give the probability of each outcome.
September1999 CMSC 203 / 0201 Fall 2002 Week #9 – 21/23/25 October 2002 Prof. Marie desJardins.
The Cartoon Guide to Statistics
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.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
1 CHAPTER 7 PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
Probability.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Probability and Simulation The Study of Randomness.
ROLL A PAIR OF DICE AND ADD THE NUMBERS Possible Outcomes: There are 6 x 6 = 36 equally likely.
Section 6.4: Conditional Probability. Conditional Probability of an Event Let E and F be two events with P(F) > 0. Conditional Probability is denoted.
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
Basic Probabilities Starting Unit 6 Today!. Definitions  Experiment – any process that generates one or more observable outcomes  Sample Space – set.
Probability. Today we will look at… 1.Quick Recap from last week 2.Terminology relating to events and outcomes 3.Use of sample spaces when dealing with.
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.
Section 7.3. Why we need Bayes?  How to assess the probability that a particular event occurs on the basis of partial evidence.  The probability p(F)
AP Statistics From Randomness to Probability Chapter 14.
Chapter 7. Section 7.1 Finite probability  In a lottery, players win a large prize when they pick four digits that match, in the correct order, four.
Essential Ideas for The Nature of Probability
ICS 253: Discrete Structures I
Probability – part 1 Prof. Carla Gomes Rosen 1 1.
Chapter 6: Discrete Probability
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Section 4.2 Probability Rules
Lecture 8.
Monkeys and Coincidences
CS104:Discrete Structures
Conditional Probability
5.2 Probability
5.1 Probability of Simple Events
PROBABILITY.
CONDITIONAL PROBABILITY
Sampling Distributions
I flip a coin two times. What is the sample space?
Conditional Probability and the Multiplication Rule
Probability of two events
CSE 321 Discrete Structures
Lecture 2 Basic Concepts on Probability (Section 0.2)
Chapter 11 Probability.
Presentation transcript:

Quantifying Uncertainty Probability Quantifying Uncertainty April 20, 2005

Quiz Scores poor (average = 76, st dev = 19) many, many small mistakes Diffie-Hellman was supposed to be easy just like sample quiz. find errors in lectures and book for points! April 20, 2005

Definitions A probability is a real number between 0 and 1, inclusive, that measures the uncertainty of what is to happen. If an event has probability 0, then it is certain to not happen. If an event has probability 1, it is certain to happen. What is the probability that a coin comes up heads? What is the probability that an icosahedron comes up 20? If there are N conceivable outcomes, and X is a set of n outcomes, then P[X] = n/N. This assumes that all conceivable outcomes are equally conceivable. This is a huge assumption. What is the probability that it will rain tomorrow in San Diego? What is the probability that an icosahedral die will come up a multiple of 7? April 20, 2005

Roulette Wheels Imagine a roulette wheel, but one in which the sectors are not all the same size. An “event” is a set of angles. The probability of the event is the proportion of all angles that are in the set. =/(2) April 20, 2005

Roulette If this wheel is spun, it will output “green” with probability ¼. If this wheel is spun 1000 times, it will output “green” about 250 times April 20, 2005

Dice Suppose that you throw two dice. What is the probability that the sum is 7? 11 possibilities: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12. So probability is 1/11. 36 possibilities, and 6 of them lead to a sum of 7. So probability is 6/36. This is not a matter of logic! You must experiment. April 20, 2005

Dice Roulette Experiments confirm “6/36” interpretation: the dice are independent. If you roll N times, you will get 2 approximately (1/36)N times, 3 approx (2/36)N times, …. The average outcome will be (total sum)/N = ((1/36)N*2+(2/36)N*3+(3/36)N*4+(4/36)N*5+(5/36)N*6+(6/36)N*7+(5/36)N*8+(4/36)N*9+(3/36)N*10+(2/36)N*11+(1/36)N*12) The “N” cancels out! We define the expected value of “throw two dice and add them” to be k=212 P[X=k] k If X is a fortune wheel with outcomes x1, x2, …, xn, its expected value is the expected value of a wheel is the estimated outcome of spinning the wheel many times, and averaging the output. April 20, 2005

Independent Events An event E is a set of possible outcomes. The probability of an event P[E] is the probability that the actual outcome will be in the event E. A random variable X is a number which depends on the outcome. An equation like X=3 defines an event. Events have probabilities, random variables have expectations. If E,F are two events, P[E|F] denotes the probability that the outcome will be in E, if you are guaranteed that the outcome will be in F. P[E|F] = P[E and F] / P[F] Two events are independent if, upon learning the outcome of either event, it does not allow you to adjust the probability of the other event. That is, if P[E|F]=P[E] and P[F|E] = P[F]. Equivalently, E and F are independent if P[E and F] = P[E] P[F]. April 20, 2005

Random Variables Let X be a random variable, and F and event. We will work later to define conditional expectation of random variables in various combinations. April 20, 2005

Text Roulette April 20, 2005

Index Of Coincidence The index of coincidence of a text is the probability that a pair of letters (chosen uniformly from the text) are equal. IOC for random text = 1/26 = 3.9% IOC for English text = 6.5% IOC for Caesar ciphertext? IOC for Monoalphabetic ciphertext? IOC for Vigenere ciphertext? April 20, 2005