Introduction to Probability (1)

Size: px
Start display at page:

Download "Introduction to Probability (1)"

Transcription

1 Introduction to Probability (1) John Kelleher & Brian Mac Namee

2 1 Introduction Summarizing Uncertainty 2 Where Do Probabilities Come From? 3 Basic Probability Notation Basics 4 The Axioms of Probabilities 5 Unconditional and Conditional Probabilities 6 Summary

3 Introduction

4 So far we have looked at similarity-based and information-theory-based approaches to machine learning. Probability theory offers us another way to tackle the same sorts of problems. Probability theory offers us a formally sophisticated way in which to perform reasoning based on an assessment of the likelihood of various outcomes performed across a historical dataset. Probaility theory is used widely in artificial intelligence in particular because it solves the qualification problem.

5 Let s consider a dental patient s toothache as an example of uncertain reasoning. Consider a rule that attempts to capture the relationship between patients having a cavity and patients having a toothache. Toothache = Cavity But this doesn t work as every toothache is not caused by a cavity. Toothache = Cavity OR GumProblem OR Abscess... We could try to go the other way around and make a rule such as Cavity = Toothache This has the same problem, though, as not all cavities cause toothaches.

6 Summarizing Uncertainty Trying to use exact rules to cope with a domain like medical diagnosis fails for three main reasons. Laziness it is too much work to list an exceptionless rule-set and actually too difficult to use such a rule-set. Theoretical ignorance Medical science has no complete theory for the domain. Practical ignorance Even if we know all the rules, we might be uncertain about particular patient because not all the necessary tests have been or can be run. This is essentially the qualification problem.

7 Summarizing Uncertainty Probability provides a way of summarizing the uncertainty that comes from our laziness and ignorance. We might not know for sure what afflicts a particular patient, but we believe that there is, say, an 80% chance - that is, a probability of that the patient has a cavity if they have a toothache. The 80% summarises those cases in which all the factors needed for a cavity to cause a toothache are present and other cases in which the patient has both toothache and cavity but the two are unconnected. The missing 20% summarizes all the other possible causes of tootache that we are too lazy or ignorant to confirm or deny.

8 Where Do Probabilities Come From?

9 Frequentist position is that the numbers can come only from experiments (i.e. they are based on the relative frequency of an event within a sample) Objectivist view is that probabilities are real aspect of the universe propensities of objects to behave in a certain way. Subjectivist view describes probabilities as a way of characterising beliefs about the world, rather than as having any external physical significance

10 Relative Frequency The relative frequency for any particular category is the proportion of all responses in the data set that fall in that category: relative frequency = frequency of event total number of sample points

11 Example Suppose we take a coin and begin to toss it over and over. After each toss, we compute the relative frequency of heads observer so far, i.e., (number of heads)/(number of tosses). Table: Results of Coin Toss Experiment Toss Number Outcome T H H H T T H H T T Cum. Number of Heads Relative Frequency of Heads Much empirical evidence suggests that as the number of tosses increases, the relative frequency of heads does not continue to fluctuate wildly but instead stablizes and approaches some fixed number.

12 Basic Probability Notation

13 Basics Chance Experiment We use the phrases chance experiment or random experiment to refer to any activity or situation in which the outcome is uncertain. Example A chance experiment might involve: rolling a dice, tossing a coin, running a survey to ascertain whether or not each person in a sample supports the death penalty, or it could involve an investigation carried out in a laboratory to study how varying the amount of a certain chemical input affects the yield of a product.

14 Basics Random Variables A random variable associates a single number with each outcome of an experiment. A random variable can be thought of as referring to part of the world whose status is initially unknown. We will always capitalize the names of random variables. Example For example, imagine we are about to roll two dice. We might have a random variable called Die 1 to hold the value of the first dice after we roll it, another random variable called Die 2 to hold the value of the second dice after we roll it, and another random variable called Total to hold the summation of the two dice values after we roll them. In our dentistry domain we might have a random variable called Cavity which would refer to whether my lower left wisdom tooth has a cavity.

15 Basics Random Variables and Domains Each random variable has a domain of values that it can take on: for example, the domain of Cavity might be true, false. Random variables are typically divided into three kinds, depending on the type of the domain: 1 Boolean random variables have a domain < true, false > 2 Discrete random variables take values from a countable domain. The values in the domain must be mutually exclusive and exhaustive. For example, the domain of Weather might be < sunny, rainy, cloudy, snowy >. 3 Continuous random variables take on values from the real numbers. For example, the time it takes a car to travel a quarter of a kilometer. With some exceptions, we will be concentrating on the discrete case.

16 Basics In probability theory the set of all possible worlds (i.e. the set of all possible results of a chance experiment) is called the sample space Sample Space Ω We use the phrase sample space - denoted by the Greek symbol Ω (upper case omega) - to describe the results of a set of chance experiments; e.g., the results of 6 rolls of a dice.

17 Basics Possible worlds are also known as atomic events or sample points A sample point/possible world/atomic event (denoted by the symbol ω) is one element of a sample space: ω Ω. Atomic events ω An atomic event is a complete specification of the state of the world. It can be thought of as an assignment of particular values to all the variables of which the world is composed. Example For example, if my world consists of only the Boolean variables Cavity and Toothache, then there are just four distinct atomic events; the proposition Cavity = false Toothache = true is one such event.

18 Basics Atomic events have some important properties: They are mutually exclusive at most one can actually be the case. The set of all possible atomic events is exhaustive at least one of them must be the case. That is, the disjunction of all atomic events is logically equivalent to true. Any particular atomic event entails the truth or falsehood of every proposition, whether simple or complex. Any proposition is logically equivalent to the disjunction of all atomic events that entail the truth of the proposition.

19 Basics Probability Space/Model A probability space or probability model is a sample space with an assignment P(ω) for every ω Ω s.t. 0 P(ω) 1 ω P(ω) = 1 Example For example, if we are about to roll a dice, there are 6 possible worlds/atomic events/sample points to consider: d=1, d=2, d=3, d=4, d=5, d=6. If we assume that the dice is fair and the the rolls don t interfere with each other then each of the possible worlds/atomic events/sample points has an equal probability P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6.

20 Basics Probabilistic assertions and queries are not usually about particular possible worlds, but about sets of them; e.g., we might be interested in the cases where two dice add up to 11. Event and Propositions An event is any collection of possible outcomes of a chance experiment. In other words, an event A is any subset of Ω In AI, these sets are always described by propositions in a formal language. For each proposition, the corresponding set contains just those possible worlds in which the proposition holds.

21 Basics Propositions A proposition asserts that such-and-such is the case; Example For example, the simplest kind of proposition asserts that a random variable has a particular value drawn from its domain. (i.e. Cavity = true) might represent the proposition that I do in fact have a cavity in my lower left wisdom tooth. In the slides we may sometimes abbreviate a proposition such as Cavity = true by cavity and Cavity = false by cavity

22 Basics The Probability of an Event/Proposition Is denoted by P(E) Is defined to be the sum of the probabilities of the worlds in which it holds (i.e. the probability of an event E is the sum of the probabilities of all outcomes contained in E). P(E) = Example {ω E} P(ω) For example, P(die roll < 4) = P(1) + P(2) + P(3) = 1/6 + 1/6 + 1/6 = 1/2 is the value approached by the relative frequency of occurrence of E in a very long series of replications of a chance experiment.

23 Basics Basics summary: Chance Experiments Random Variables and Domains Sample Space Ω Sample point/possible world/atomic Event ω e.g. die roll = 4. Probability Space/Model Ω with assignment P(ω) for every ω Ω 0 P(ω) 1 ω P(ω) = 1 Events and Propositions, e.g. P(dieroll > 4) P(E) = {ω E} P(ω)

24 The Axioms of Probabilities

25 Andrei Kolmogorov, showed how that you can build up the rest of probability theory from three simple axioms (Kolmogorov s axioms). (Ax.1) 0 P(a) 1 All probabilities are between 0 and 1. For any proposition a (Ax.2) P(true) = 1 P(false) = 0 Necessarily true (i.e. valid) propositions have probability 1, and necessarily false (i.e., unsatisfiable) propositions have probability 0. (Ax.3) P(a b) = P(a) + P(b) P(a b) Inclusion-exclusion principle: the cases where a holds together with the cases where b holds cover all the cases where a b holds; but summing the two sets of cases counts the intersection twice, so we need to subtract P(a b).

26 We can derive a variety of useful facts from the basic axioms: Recall that, any proposition a is equivalent to the disjunction of all the atomic events in which a holds; call this set of events e(a). Recall also that atomic events are mutually exclusive, so the probability of any conjunction of atomic events is zero, by axiom 2. Hence, from axiom 3, we can derive the following relationship: P(a) = e i e(a) P(e i) The probability of a proposition is equal to the sum of the probabilities of the atomic events in which it holds

27 Unconditional and Conditional Probabilities

28 Unconditional/Prior Probabilities The unconditional or prior probability associated with a proposition a is the degree of belief accorded to it in the absence of any other information; it is written as Example P(a) For example, if the prior probability that I have a cavity is 0.1, then we would write: P(Cavity = true) = 0.1 or P(cavity) = 0.1 It is important to remember that P(a) can be used only when there is no other information!

29 Conditional/Posterior Probabilities Once we obtain some evidence concerning the previously unknown random variables making up the domain, prior probabilities are no longer applicable. Instead we use Conditional or posterior probabilities; written as: P(a b) where the is prounced as given Example For example, P(cavity toothache) = 0.8 i.e., given that toothache is all I know the probability of cavity is 0.8

30 If we know more, e.g. swelling is also given, then we have P(cavity toothache, swelling) = 0.95 Note: the less specific belief remains valid after more evidence arrives, but is not always useful New evidence may be irrelevant, allowing simplification, e.g., P(cavity toothache, IrelandWins) = P(cavity toothache) = 0.8 This kind of inference, sanctioned by domain knowledge, is crucial

31 Practice Calculate P(fineGael) given the following dataset Name Party Min? ADAMS, Gerry Sinn Fein No BANNON, James Fine Gael No BARRETT, Sean Fine Gael No BARRY, Tom Fine Gael No BROUGHAN, Tommy Labour No BROWNE, John Fianna Fail No BRUTON, Richard Fine Gael Yes BUTLER, Ray Fine Gael No BURTON, Joan Labour Yes BYRNE, Eric Labour No CALLEARY, Dara Fianna Fail No COVENEY, Simon Fine Gael Yes DEENIHAN, Jimmy Fine Gael Yes DURKAN, Bernard Fine Gael No FITZGERALD, Frances Fine Gael Yes GILMORE, Eamon Labour Yes KIRK, Seamus Fianna Fail No KITT, Michael Fianna Fail No LYNCH, Kathleen Labour No LYONS, John Labour No MALONEY, Eamonn Labour No MARTIN, Micheal Fianna Fail No MATHEWS, Peter Fine Gael No Name Party Min? MING Ind No NOONAN, Michael Fine Gael Yes O DEA, Willie Fianna Fail No QUINN Ruairi Labour Yes RABBITTE, Pat Fine Gael Yes REILY, James Fine Gael Yes RING, Michael Fine Gael No ROSS, Shane Independent No RYAN, Brendan Labour No SHATTER, Alan Fine Gael Yes SHERLOCK, Sean Labour Cork No SHORTALL, Roisin Labour No SMITH, Brendan Fianna Fail No SPRING, Arthur Labour Kerry No STAGG, Emmet Labour No TROY, Robert Fianna Fail No TUFFY, Joanna Labour No TWOMEY, Liam Fine Gael No VARADKAR, Leo Fine Gael Yes WALL, Jack Labour No WALLACE, Mick Ind No WALSH, Brian Fine Gael No WHITE, Alex Labour No

32 Practice Calculate P(minister finegael) given the following dataset Name Party Min? ADAMS, Gerry Sinn Fein No BANNON, James Fine Gael No BARRETT, Sean Fine Gael No BARRY, Tom Fine Gael No BROUGHAN, Tommy Labour No BROWNE, John Fianna Fail No BRUTON, Richard Fine Gael Yes BUTLER, Ray Fine Gael No BURTON, Joan Labour Yes BYRNE, Eric Labour No CALLEARY, Dara Fianna Fail No COVENEY, Simon Fine Gael Yes DEENIHAN, Jimmy Fine Gael Yes DURKAN, Bernard Fine Gael No FITZGERALD, Frances Fine Gael Yes GILMORE, Eamon Labour Yes KIRK, Seamus Fianna Fail No KITT, Michael Fianna Fail No LYNCH, Kathleen Labour No LYONS, John Labour No MALONEY, Eamonn Labour No MARTIN, Micheal Fianna Fail No MATHEWS, Peter Fine Gael No Name Party Min? MING Ind No NOONAN, Michael Fine Gael Yes O DEA, Willie Fianna Fail No QUINN Ruairi Labour Yes RABBITTE, Pat Fine Gael Yes REILY, James Fine Gael Yes RING, Michael Fine Gael No ROSS, Shane Independent No RYAN, Brendan Labour No SHATTER, Alan Fine Gael Yes SHERLOCK, Sean Labour Cork No SHORTALL, Roisin Labour No SMITH, Brendan Fianna Fail No SPRING, Arthur Labour Kerry No STAGG, Emmet Labour No TROY, Robert Fianna Fail No TUFFY, Joanna Labour No TWOMEY, Liam Fine Gael No VARADKAR, Leo Fine Gael Yes WALL, Jack Labour No WALLACE, Mick Ind No WALSH, Brian Fine Gael No WHITE, Alex Labour No

33 Mathematical definition of conditional probability Conditional probabilities are defined in terms of unconditional probabilities as follows: For any propositions a and b we have: P(a b) = P(a b) P(b) if P(b) 0 The definition makes sense if you remember that observing b rules out all those possible worlds where b is false, leaving a set whose total probability is just P(b). Within that set, the a-worlds satisfy a b and constitute a fraction P(a b) P(b).

34 Product rule The definition of conditional probability can be rewritten in a different form called the Product Rule. P(a b) = P(a b)p(b) = P(b a)p(a) The product rule comes from the fact that, for a and b to be true, we need b to be true, and we also need a to be true given b.

35 Unconditional/Conditional Probabilities summary: Unconditional/Prior Probabilities Conditional/Posterior Probabilities P(a b) = P(a b) P(b) if P(b) 0 P(a b) = P(a b)p(b) = P(b a)p(a) Product Rule

36 Summary

37 1 Introduction Summarizing Uncertainty 2 Where Do Probabilities Come From? 3 Basic Probability Notation Basics 4 The Axioms of Probabilities 5 Unconditional and Conditional Probabilities 6 Summary

A Few Basics of Probability

A Few Basics of Probability A Few Basics of Probability Philosophy 57 Spring, 2004 1 Introduction This handout distinguishes between inductive and deductive logic, and then introduces probability, a concept essential to the study

More information

Lecture Note 1 Set and Probability Theory. MIT 14.30 Spring 2006 Herman Bennett

Lecture Note 1 Set and Probability Theory. MIT 14.30 Spring 2006 Herman Bennett Lecture Note 1 Set and Probability Theory MIT 14.30 Spring 2006 Herman Bennett 1 Set Theory 1.1 Definitions and Theorems 1. Experiment: any action or process whose outcome is subject to uncertainty. 2.

More information

People have thought about, and defined, probability in different ways. important to note the consequences of the definition:

People have thought about, and defined, probability in different ways. important to note the consequences of the definition: PROBABILITY AND LIKELIHOOD, A BRIEF INTRODUCTION IN SUPPORT OF A COURSE ON MOLECULAR EVOLUTION (BIOL 3046) Probability The subject of PROBABILITY is a branch of mathematics dedicated to building models

More information

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability Math/Stats 425 Introduction to Probability 1. Uncertainty and the axioms of probability Processes in the real world are random if outcomes cannot be predicted with certainty. Example: coin tossing, stock

More information

15-381: Artificial Intelligence. Probabilistic Reasoning and Inference

15-381: Artificial Intelligence. Probabilistic Reasoning and Inference 5-38: Artificial Intelligence robabilistic Reasoning and Inference Advantages of probabilistic reasoning Appropriate for complex, uncertain, environments - Will it rain tomorrow? Applies naturally to many

More information

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty AMS 5 PROBABILITY Basic Probability Probability: The part of Mathematics devoted to quantify uncertainty Frequency Theory Bayesian Theory Game: Playing Backgammon. The chance of getting (6,6) is 1/36.

More information

E3: PROBABILITY AND STATISTICS lecture notes

E3: PROBABILITY AND STATISTICS lecture notes E3: PROBABILITY AND STATISTICS lecture notes 2 Contents 1 PROBABILITY THEORY 7 1.1 Experiments and random events............................ 7 1.2 Certain event. Impossible event............................

More information

Basic Probability Concepts

Basic Probability Concepts page 1 Chapter 1 Basic Probability Concepts 1.1 Sample and Event Spaces 1.1.1 Sample Space A probabilistic (or statistical) experiment has the following characteristics: (a) the set of all possible outcomes

More information

Statistics in Geophysics: Introduction and Probability Theory

Statistics in Geophysics: Introduction and Probability Theory Statistics in Geophysics: Introduction and Steffen Unkel Department of Statistics Ludwig-Maximilians-University Munich, Germany Winter Term 2013/14 1/32 What is Statistics? Introduction Statistics is the

More information

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes Probability Basic Concepts: Probability experiment: process that leads to welldefined results, called outcomes Outcome: result of a single trial of a probability experiment (a datum) Sample space: all

More information

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University 1 Chapter 1 Probability 1.1 Basic Concepts In the study of statistics, we consider experiments

More information

Chapter 4. Probability and Probability Distributions

Chapter 4. Probability and Probability Distributions Chapter 4. robability and robability Distributions Importance of Knowing robability To know whether a sample is not identical to the population from which it was selected, it is necessary to assess the

More information

What Is Probability?

What Is Probability? 1 What Is Probability? The idea: Uncertainty can often be "quantified" i.e., we can talk about degrees of certainty or uncertainty. This is the idea of probability: a higher probability expresses a higher

More information

Chapter 4: Probability and Counting Rules

Chapter 4: Probability and Counting Rules Chapter 4: Probability and Counting Rules Learning Objectives Upon successful completion of Chapter 4, you will be able to: Determine sample spaces and find the probability of an event using classical

More information

Unit 19: Probability Models

Unit 19: Probability Models Unit 19: Probability Models Summary of Video Probability is the language of uncertainty. Using statistics, we can better predict the outcomes of random phenomena over the long term from the very complex,

More information

Mathematical goals. Starting points. Materials required. Time needed

Mathematical goals. Starting points. Materials required. Time needed Level S2 of challenge: B/C S2 Mathematical goals Starting points Materials required Time needed Evaluating probability statements To help learners to: discuss and clarify some common misconceptions about

More information

Bayesian Tutorial (Sheet Updated 20 March)

Bayesian Tutorial (Sheet Updated 20 March) Bayesian Tutorial (Sheet Updated 20 March) Practice Questions (for discussing in Class) Week starting 21 March 2016 1. What is the probability that the total of two dice will be greater than 8, given that

More information

Section 6.2 Definition of Probability

Section 6.2 Definition of Probability Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability that it will

More information

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION 1 WHAT IS STATISTICS? Statistics is a science of collecting data, organizing and describing it and drawing conclusions from it. That is, statistics

More information

STA 371G: Statistics and Modeling

STA 371G: Statistics and Modeling STA 371G: Statistics and Modeling Decision Making Under Uncertainty: Probability, Betting Odds and Bayes Theorem Mingyuan Zhou McCombs School of Business The University of Texas at Austin http://mingyuanzhou.github.io/sta371g

More information

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber 2011 1

Data Modeling & Analysis Techniques. Probability & Statistics. Manfred Huber 2011 1 Data Modeling & Analysis Techniques Probability & Statistics Manfred Huber 2011 1 Probability and Statistics Probability and statistics are often used interchangeably but are different, related fields

More information

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

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? ECS20 Discrete Mathematics Quarter: Spring 2007 Instructor: John Steinberger Assistant: Sophie Engle (prepared by Sophie Engle) Homework 8 Hints Due Wednesday June 6 th 2007 Section 6.1 #16 What is the

More information

Definition and Calculus of Probability

Definition and Calculus of Probability In experiments with multivariate outcome variable, knowledge of the value of one variable may help predict another. For now, the word prediction will mean update the probabilities of events regarding the

More information

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4)

Summary of Formulas and Concepts. Descriptive Statistics (Ch. 1-4) Summary of Formulas and Concepts Descriptive Statistics (Ch. 1-4) Definitions Population: The complete set of numerical information on a particular quantity in which an investigator is interested. We assume

More information

MATH 140 Lab 4: Probability and the Standard Normal Distribution

MATH 140 Lab 4: Probability and the Standard Normal Distribution MATH 140 Lab 4: Probability and the Standard Normal Distribution Problem 1. Flipping a Coin Problem In this problem, we want to simualte the process of flipping a fair coin 1000 times. Note that the outcomes

More information

Business Statistics 41000: Probability 1

Business Statistics 41000: Probability 1 Business Statistics 41000: Probability 1 Drew D. Creal University of Chicago, Booth School of Business Week 3: January 24 and 25, 2014 1 Class information Drew D. Creal Email: dcreal@chicagobooth.edu Office:

More information

10-601. Machine Learning. http://www.cs.cmu.edu/afs/cs/academic/class/10601-f10/index.html

10-601. Machine Learning. http://www.cs.cmu.edu/afs/cs/academic/class/10601-f10/index.html 10-601 Machine Learning http://www.cs.cmu.edu/afs/cs/academic/class/10601-f10/index.html Course data All up-to-date info is on the course web page: http://www.cs.cmu.edu/afs/cs/academic/class/10601-f10/index.html

More information

Handout #1: Mathematical Reasoning

Handout #1: Mathematical Reasoning Math 101 Rumbos Spring 2010 1 Handout #1: Mathematical Reasoning 1 Propositional Logic A proposition is a mathematical statement that it is either true or false; that is, a statement whose certainty or

More information

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! www.math12.com 314

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! www.math12.com 314 Lesson 1 Basics of Probability www.math12.com 314 Sample Spaces: Probability Lesson 1 Part I: Basic Elements of Probability Consider the following situation: A six sided die is rolled The sample space

More information

Bayesian Analysis for the Social Sciences

Bayesian Analysis for the Social Sciences Bayesian Analysis for the Social Sciences Simon Jackman Stanford University http://jackman.stanford.edu/bass November 9, 2012 Simon Jackman (Stanford) Bayesian Analysis for the Social Sciences November

More information

Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1 Learning Goals 1. Be able to explain the difference between the p-value and a posterior

More information

Chapter 5 A Survey of Probability Concepts

Chapter 5 A Survey of Probability Concepts Chapter 5 A Survey of Probability Concepts True/False 1. Based on a classical approach, the probability of an event is defined as the number of favorable outcomes divided by the total number of possible

More information

In the situations that we will encounter, we may generally calculate the probability of an event

In the situations that we will encounter, we may generally calculate the probability of an event What does it mean for something to be random? An event is called random if the process which produces the outcome is sufficiently complicated that we are unable to predict the precise result and are instead

More information

Introduction to Hypothesis Testing

Introduction to Hypothesis Testing I. Terms, Concepts. Introduction to Hypothesis Testing A. In general, we do not know the true value of population parameters - they must be estimated. However, we do have hypotheses about what the true

More information

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

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1 Learning Goals 1. Know the definitions of sample space, event and probability function. 2. Be able to

More information

CHAPTER 2 Estimating Probabilities

CHAPTER 2 Estimating Probabilities CHAPTER 2 Estimating Probabilities Machine Learning Copyright c 2016. Tom M. Mitchell. All rights reserved. *DRAFT OF January 24, 2016* *PLEASE DO NOT DISTRIBUTE WITHOUT AUTHOR S PERMISSION* This is a

More information

Decision Making Under Uncertainty. Professor Peter Cramton Economics 300

Decision Making Under Uncertainty. Professor Peter Cramton Economics 300 Decision Making Under Uncertainty Professor Peter Cramton Economics 300 Uncertainty Consumers and firms are usually uncertain about the payoffs from their choices Example 1: A farmer chooses to cultivate

More information

Session 8 Probability

Session 8 Probability Key Terms for This Session Session 8 Probability Previously Introduced frequency New in This Session binomial experiment binomial probability model experimental probability mathematical probability outcome

More information

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8. Random variables Remark on Notations 1. When X is a number chosen uniformly from a data set, What I call P(X = k) is called Freq[k, X] in the courseware. 2. When X is a random variable, what I call F ()

More information

Review. Bayesianism and Reliability. Today s Class

Review. Bayesianism and Reliability. Today s Class Review Bayesianism and Reliability Models and Simulations in Philosophy April 14th, 2014 Last Class: Difference between individual and social epistemology Why simulations are particularly useful for social

More information

Informatics 2D Reasoning and Agents Semester 2, 2015-16

Informatics 2D Reasoning and Agents Semester 2, 2015-16 Informatics 2D Reasoning and Agents Semester 2, 2015-16 Alex Lascarides alex@inf.ed.ac.uk Lecture 29 Decision Making Under Uncertainty 24th March 2016 Informatics UoE Informatics 2D 1 Where are we? Last

More information

Probability Models.S1 Introduction to Probability

Probability Models.S1 Introduction to Probability Probability Models.S1 Introduction to Probability Operations Research Models and Methods Paul A. Jensen and Jonathan F. Bard The stochastic chapters of this book involve random variability. Decisions are

More information

Chapter 4 Lecture Notes

Chapter 4 Lecture Notes Chapter 4 Lecture Notes Random Variables October 27, 2015 1 Section 4.1 Random Variables A random variable is typically a real-valued function defined on the sample space of some experiment. For instance,

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 2 Proofs Intuitively, the concept of proof should already be familiar We all like to assert things, and few of us

More information

Probability and statistics; Rehearsal for pattern recognition

Probability and statistics; Rehearsal for pattern recognition Probability and statistics; Rehearsal for pattern recognition Václav Hlaváč Czech Technical University in Prague Faculty of Electrical Engineering, Department of Cybernetics Center for Machine Perception

More information

Probability Using Dice

Probability Using Dice Using Dice One Page Overview By Robert B. Brown, The Ohio State University Topics: Levels:, Statistics Grades 5 8 Problem: What are the probabilities of rolling various sums with two dice? How can you

More information

AP Stats - Probability Review

AP Stats - Probability Review AP Stats - Probability Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. I toss a penny and observe whether it lands heads up or tails up. Suppose

More information

The Calculus of Probability

The Calculus of Probability The Calculus of Probability Let A and B be events in a sample space S. Partition rule: P(A) = P(A B) + P(A B ) Example: Roll a pair of fair dice P(Total of 10) = P(Total of 10 and double) + P(Total of

More information

1 Introduction to Option Pricing

1 Introduction to Option Pricing ESTM 60202: Financial Mathematics Alex Himonas 03 Lecture Notes 1 October 7, 2009 1 Introduction to Option Pricing We begin by defining the needed finance terms. Stock is a certificate of ownership of

More information

PROBABILITY SECOND EDITION

PROBABILITY SECOND EDITION PROBABILITY SECOND EDITION Table of Contents How to Use This Series........................................... v Foreword..................................................... vi Basics 1. Probability All

More information

Problems often have a certain amount of uncertainty, possibly due to: Incompleteness of information about the environment,

Problems often have a certain amount of uncertainty, possibly due to: Incompleteness of information about the environment, Uncertainty Problems often have a certain amount of uncertainty, possibly due to: Incompleteness of information about the environment, E.g., loss of sensory information such as vision Incorrectness in

More information

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

Point and Interval Estimates

Point and Interval Estimates Point and Interval Estimates Suppose we want to estimate a parameter, such as p or µ, based on a finite sample of data. There are two main methods: 1. Point estimate: Summarize the sample by a single number

More information

6.4 Normal Distribution

6.4 Normal Distribution Contents 6.4 Normal Distribution....................... 381 6.4.1 Characteristics of the Normal Distribution....... 381 6.4.2 The Standardized Normal Distribution......... 385 6.4.3 Meaning of Areas under

More information

Chapter ML:IV. IV. Statistical Learning. Probability Basics Bayes Classification Maximum a-posteriori Hypotheses

Chapter ML:IV. IV. Statistical Learning. Probability Basics Bayes Classification Maximum a-posteriori Hypotheses Chapter ML:IV IV. Statistical Learning Probability Basics Bayes Classification Maximum a-posteriori Hypotheses ML:IV-1 Statistical Learning STEIN 2005-2015 Area Overview Mathematics Statistics...... Stochastics

More information

So let us begin our quest to find the holy grail of real analysis.

So let us begin our quest to find the holy grail of real analysis. 1 Section 5.2 The Complete Ordered Field: Purpose of Section We present an axiomatic description of the real numbers as a complete ordered field. The axioms which describe the arithmetic of the real numbers

More information

You flip a fair coin four times, what is the probability that you obtain three heads.

You flip a fair coin four times, what is the probability that you obtain three heads. Handout 4: Binomial Distribution Reading Assignment: Chapter 5 In the previous handout, we looked at continuous random variables and calculating probabilities and percentiles for those type of variables.

More information

Probability & Probability Distributions

Probability & Probability Distributions Probability & Probability Distributions Carolyn J. Anderson EdPsych 580 Fall 2005 Probability & Probability Distributions p. 1/61 Probability & Probability Distributions Elementary Probability Theory Definitions

More information

Experimental Uncertainty and Probability

Experimental Uncertainty and Probability 02/04/07 PHY310: Statistical Data Analysis 1 PHY310: Lecture 03 Experimental Uncertainty and Probability Road Map The meaning of experimental uncertainty The fundamental concepts of probability 02/04/07

More information

ST 371 (IV): Discrete Random Variables

ST 371 (IV): Discrete Random Variables ST 371 (IV): Discrete Random Variables 1 Random Variables A random variable (rv) is a function that is defined on the sample space of the experiment and that assigns a numerical variable to each possible

More information

Uncertainty in AI. Uncertainty I: Probability as Degree of Belief. The (predominantly logic-based) methods covered so far have assorted

Uncertainty in AI. Uncertainty I: Probability as Degree of Belief. The (predominantly logic-based) methods covered so far have assorted We now examine: Uncertainty I: Probability as Degree of Belief how probability theory might be used to represent and reason with knowledge when we are uncertain about the world; how inference in the presence

More information

Introduction to Game Theory IIIii. Payoffs: Probability and Expected Utility

Introduction to Game Theory IIIii. Payoffs: Probability and Expected Utility Introduction to Game Theory IIIii Payoffs: Probability and Expected Utility Lecture Summary 1. Introduction 2. Probability Theory 3. Expected Values and Expected Utility. 1. Introduction We continue further

More information

Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur.

Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur. Probability Probability Simple experiment Sample space Sample point, or elementary event Event, or event class Mutually exclusive outcomes Independent events a number between 0 and 1 that indicates how

More information

Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1 Learning Goals Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1. Be able to apply Bayes theorem to compute probabilities. 2. Be able to identify

More information

Probabilities. Probability of a event. From Random Variables to Events. From Random Variables to Events. Probability Theory I

Probabilities. Probability of a event. From Random Variables to Events. From Random Variables to Events. Probability Theory I Victor Adamchi Danny Sleator Great Theoretical Ideas In Computer Science Probability Theory I CS 5-25 Spring 200 Lecture Feb. 6, 200 Carnegie Mellon University We will consider chance experiments with

More information

Bayesian Networks. Mausam (Slides by UW-AI faculty)

Bayesian Networks. Mausam (Slides by UW-AI faculty) Bayesian Networks Mausam (Slides by UW-AI faculty) Bayes Nets In general, joint distribution P over set of variables (X 1 x... x X n ) requires exponential space for representation & inference BNs provide

More information

Quine on truth by convention

Quine on truth by convention Quine on truth by convention March 8, 2005 1 Linguistic explanations of necessity and the a priori.............. 1 2 Relative and absolute truth by definition.................... 2 3 Is logic true by convention?...........................

More information

AMS 5 CHANCE VARIABILITY

AMS 5 CHANCE VARIABILITY AMS 5 CHANCE VARIABILITY The Law of Averages When tossing a fair coin the chances of tails and heads are the same: 50% and 50%. So if the coin is tossed a large number of times, the number of heads and

More information

Probability and Expected Value

Probability and Expected Value Probability and Expected Value This handout provides an introduction to probability and expected value. Some of you may already be familiar with some of these topics. Probability and expected value are

More information

THE STATISTICAL TREATMENT OF EXPERIMENTAL DATA 1

THE STATISTICAL TREATMENT OF EXPERIMENTAL DATA 1 THE STATISTICAL TREATMET OF EXPERIMETAL DATA Introduction The subject of statistical data analysis is regarded as crucial by most scientists, since error-free measurement is impossible in virtually all

More information

Betting interpretations of probability

Betting interpretations of probability Betting interpretations of probability Glenn Shafer June 21, 2010 Third Workshop on Game-Theoretic Probability and Related Topics Royal Holloway, University of London 1 Outline 1. Probability began with

More information

How To Find The Sample Space Of A Random Experiment In R (Programming)

How To Find The Sample Space Of A Random Experiment In R (Programming) Probability 4.1 Sample Spaces For a random experiment E, the set of all possible outcomes of E is called the sample space and is denoted by the letter S. For the coin-toss experiment, S would be the results

More information

MBA 611 STATISTICS AND QUANTITATIVE METHODS

MBA 611 STATISTICS AND QUANTITATIVE METHODS MBA 611 STATISTICS AND QUANTITATIVE METHODS Part I. Review of Basic Statistics (Chapters 1-11) A. Introduction (Chapter 1) Uncertainty: Decisions are often based on incomplete information from uncertain

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Probability definitions

Probability definitions Probability definitions 1. Probability of an event = chance that the event will occur. 2. Experiment = any action or process that generates observations. In some contexts, we speak of a data-generating

More information

Introduction to Probability

Introduction to Probability LECTURE NOTES Course 6.041-6.431 M.I.T. FALL 2000 Introduction to Probability Dimitri P. Bertsekas and John N. Tsitsiklis Professors of Electrical Engineering and Computer Science Massachusetts Institute

More information

Lecture 9 Maher on Inductive Probability

Lecture 9 Maher on Inductive Probability Lecture 9 Maher on Inductive Probability Patrick Maher Scientific Thought II Spring 2010 Two concepts of probability Example You know that a coin is either two-headed or two-tailed but you have no information

More information

Mathematical Induction

Mathematical Induction Mathematical Induction In logic, we often want to prove that every member of an infinite set has some feature. E.g., we would like to show: N 1 : is a number 1 : has the feature Φ ( x)(n 1 x! 1 x) How

More information

Chi-square test Fisher s Exact test

Chi-square test Fisher s Exact test Lesson 1 Chi-square test Fisher s Exact test McNemar s Test Lesson 1 Overview Lesson 11 covered two inference methods for categorical data from groups Confidence Intervals for the difference of two proportions

More information

ACMS 10140 Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Answers

ACMS 10140 Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Answers ACMS 10140 Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Answers Name DO NOT remove this answer page. DO turn in the entire exam. Make sure that you have all ten (10) pages

More information

Binary Adders: Half Adders and Full Adders

Binary Adders: Half Adders and Full Adders Binary Adders: Half Adders and Full Adders In this set of slides, we present the two basic types of adders: 1. Half adders, and 2. Full adders. Each type of adder functions to add two binary bits. In order

More information

Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter

Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on Version A.) No grade disputes now. Will have a chance to

More information

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs

CHAPTER 3. Methods of Proofs. 1. Logical Arguments and Formal Proofs CHAPTER 3 Methods of Proofs 1. Logical Arguments and Formal Proofs 1.1. Basic Terminology. An axiom is a statement that is given to be true. A rule of inference is a logical rule that is used to deduce

More information

CSPE Fact Sheet. The Seven Key Concepts. Rights & Responsibilities

CSPE Fact Sheet. The Seven Key Concepts. Rights & Responsibilities CSPE Fact Sheet Note: What follows below is a list of questions, largely based around the past Junior Cert papers. That s why certain sections of the course get a great deal more coverage than others they

More information

3. Mathematical Induction

3. Mathematical Induction 3. MATHEMATICAL INDUCTION 83 3. Mathematical Induction 3.1. First Principle of Mathematical Induction. Let P (n) be a predicate with domain of discourse (over) the natural numbers N = {0, 1,,...}. If (1)

More information

Chapter 4 - Practice Problems 1

Chapter 4 - Practice Problems 1 Chapter 4 - Practice Problems SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Provide an appropriate response. ) Compare the relative frequency formula

More information

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014 Introductory Probability MATH 07: Finite Mathematics University of Louisville March 5, 204 What is probability? Counting and probability 2 / 3 Probability in our daily lives We see chances, odds, and probabilities

More information

Self-locating belief and the Sleeping Beauty problem

Self-locating belief and the Sleeping Beauty problem Self-locating belief and the Sleeping Beauty problem Adam Elga Analysis, 60(2): 143-147, 2000. In addition to being uncertain about what the world is like, one can also be uncertain about one s own spatial

More information

Fundamentals of Probability

Fundamentals of Probability Fundamentals of Probability Introduction Probability is the likelihood that an event will occur under a set of given conditions. The probability of an event occurring has a value between 0 and 1. An impossible

More information

4. Continuous Random Variables, the Pareto and Normal Distributions

4. Continuous Random Variables, the Pareto and Normal Distributions 4. Continuous Random Variables, the Pareto and Normal Distributions A continuous random variable X can take any value in a given range (e.g. height, weight, age). The distribution of a continuous random

More information

Chapter 4. Probability Distributions

Chapter 4. Probability Distributions Chapter 4 Probability Distributions Lesson 4-1/4-2 Random Variable Probability Distributions This chapter will deal the construction of probability distribution. By combining the methods of descriptive

More information

Elements of probability theory

Elements of probability theory 2 Elements of probability theory Probability theory provides mathematical models for random phenomena, that is, phenomena which under repeated observations yield di erent outcomes that cannot be predicted

More information

Chapter 4 One Dimensional Kinematics

Chapter 4 One Dimensional Kinematics Chapter 4 One Dimensional Kinematics 41 Introduction 1 4 Position, Time Interval, Displacement 41 Position 4 Time Interval 43 Displacement 43 Velocity 3 431 Average Velocity 3 433 Instantaneous Velocity

More information

Lab 11. Simulations. The Concept

Lab 11. Simulations. The Concept Lab 11 Simulations In this lab you ll learn how to create simulations to provide approximate answers to probability questions. We ll make use of a particular kind of structure, called a box model, that

More information

ACMS 10140 Section 02 Elements of Statistics October 28, 2010. Midterm Examination II

ACMS 10140 Section 02 Elements of Statistics October 28, 2010. Midterm Examination II ACMS 10140 Section 02 Elements of Statistics October 28, 2010 Midterm Examination II Name DO NOT remove this answer page. DO turn in the entire exam. Make sure that you have all ten (10) pages of the examination

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 5 9/17/2008 RANDOM VARIABLES Contents 1. Random variables and measurable functions 2. Cumulative distribution functions 3. Discrete

More information

Attribution. Modified from Stuart Russell s slides (Berkeley) Parts of the slides are inspired by Dan Klein s lecture material for CS 188 (Berkeley)

Attribution. Modified from Stuart Russell s slides (Berkeley) Parts of the slides are inspired by Dan Klein s lecture material for CS 188 (Berkeley) Machine Learning 1 Attribution Modified from Stuart Russell s slides (Berkeley) Parts of the slides are inspired by Dan Klein s lecture material for CS 188 (Berkeley) 2 Outline Inductive learning Decision

More information

Part III. Lecture 3: Probability and Stochastic Processes. Stephen Kinsella (UL) EC4024 February 8, 2011 54 / 149

Part III. Lecture 3: Probability and Stochastic Processes. Stephen Kinsella (UL) EC4024 February 8, 2011 54 / 149 Part III Lecture 3: Probability and Stochastic Processes Stephen Kinsella (UL) EC4024 February 8, 2011 54 / 149 Today Basics of probability Empirical distributions Properties of probability distributions

More information

QUEUING THEORY. 1. Introduction

QUEUING THEORY. 1. Introduction QUEUING THEORY RYAN BERRY Abstract. This paper defines the building blocks of and derives basic queuing systems. It begins with a review of some probability theory and then defines processes used to analyze

More information

Stat 20: Intro to Probability and Statistics

Stat 20: Intro to Probability and Statistics Stat 20: Intro to Probability and Statistics Lecture 16: More Box Models Tessa L. Childers-Day UC Berkeley 22 July 2014 By the end of this lecture... You will be able to: Determine what we expect the sum

More information