Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary.

Slides:



Advertisements
Similar presentations
PROBABILITY. Uncertainty  Let action A t = leave for airport t minutes before flight from Logan Airport  Will A t get me there on time ? Problems :
Advertisements

Introduction to stochastic process
CPSC 422 Review Of Probability Theory.
Probability Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
Background Knowledge Brief Review on Counting,Counting, Probability,Probability, Statistics,Statistics, I. TheoryI. Theory.
Chapter 4 Probability.
Introduction to Probability and Statistics
A/Prof Geraint Lewis A/Prof Peter Tuthill
Chapter 4 Basic Probability
Chapter 4 Basic Probability
KI2 - 2 Kunstmatige Intelligentie / RuG Probabilities Revisited AIMA, Chapter 13.
Representing Uncertainty CSE 473. © Daniel S. Weld 2 Many Techniques Developed Fuzzy Logic Certainty Factors Non-monotonic logic Probability Only one.
Ai in game programming it university of copenhagen Welcome to... the Crash Course Probability Theory Marco Loog.
Probability and Information Copyright, 1996 © Dale Carnegie & Associates, Inc. A brief review (Chapter 13)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
1 Basic Probability Statistics 515 Lecture Importance of Probability Modeling randomness and measuring uncertainty Describing the distributions.
Uncertainty Chapter 13.
Copyright ©2011 Pearson Education 4-1 Chapter 4 Basic Probability Statistics for Managers using Microsoft Excel 6 th Global Edition.
Chapter 4 Basic Probability
Chapter6 Jointly Distributed Random Variables
Probability Concepts and Applications. Chapter Outline 2.1 Introduction 2.2 Fundamental Concepts 2.3 Mutually Exclusive and Collectively Exhaustive Events.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes March 13, 2012.
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
 Basic Concepts in Probability  Basic Probability Rules  Connecting Probability to Sampling.
LECTURE IV Random Variables and Probability Distributions I.
Probability & Statistics I IE 254 Exam I - Reminder  Reminder: Test 1 - June 21 (see syllabus) Chapters 1, 2, Appendix BI  HW Chapter 1 due Monday at.
BINOMIALDISTRIBUTION AND ITS APPLICATION. Binomial Distribution  The binomial probability density function –f(x) = n C x p x q n-x for x=0,1,2,3…,n for.
Probability theory Petter Mostad Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Appendix : Probability Theory Review Each outcome is a sample point. The collection of sample points is the sample space, S. Sample points can be aggregated.
Chapter 13 February 19, Acting Under Uncertainty Rational Decision – Depends on the relative importance of the goals and the likelihood of.
Probability and Information Copyright, 1996 © Dale Carnegie & Associates, Inc. A brief review.
Basic Business Statistics Assoc. Prof. Dr. Mustafa Yüzükırmızı
Stats Probability Theory Summary. The sample Space, S The sample space, S, for a random phenomena is the set of all possible outcomes.
Once again about the science-policy interface. Open risk management: overview QRAQRA.
Uncertainty Chapter 13. Outline Uncertainty Probability Syntax and Semantics Inference Independence and Bayes' Rule.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Uncertainty ECE457 Applied Artificial Intelligence Spring 2007 Lecture #8.
2. Introduction to Probability. What is a Probability?
Probability Definition : The probability of a given event is an expression of likelihood of occurrence of an event.A probability isa number which ranges.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Bayesian Decision Theory Basic Concepts Discriminant Functions The Normal Density ROC Curves.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Basic Business Statistics 11 th Edition.
1 Probability: Introduction Definitions,Definitions, Laws of ProbabilityLaws of Probability Random VariablesRandom Variables DistributionsDistributions.
Probability. Probability Probability is fundamental to scientific inference Probability is fundamental to scientific inference Deterministic vs. Probabilistic.
Uncertainty Let action A t = leave for airport t minutes before flight Will A t get me there on time? Problems: 1.partial observability (road state, other.
Probability. Randomness When we produce data by randomized procedures, the laws of probability answer the question, “What would happen if we did this.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Introduction to probability theory Jouni Tuomisto THL.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 4-1 Chapter 4 Basic Probability Business Statistics: A First Course 5 th Edition.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
MECH 373 Instrumentation and Measurements
Review of Probability.
Chapter 3 Probability.
Chapter 4 Probability.
Chapter 4 Basic Probability.
What is Probability? Quantification of uncertainty.
Quick Review Probability Theory
Quick Review Probability Theory
Uncertainty Chapter 13.
2. Introduction to Probability
Representing Uncertainty
basic probability and bayes' rule
Presentation transcript:

Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary

Uncertain Knowledge In many situations we cannot assign a value of true or false to world statements. Example Symptom(p,Toothache)  Disease(p,Cavity) To generalize: Symptom(p,Toothache)  Disease(p,Cavity) V Disease(p,GumDisease) V …

Uncertain Knowledge Solution: Deal with degrees of belief. We will use probability theory. Probability states a degree of belief based on evidence: P(x) = 0.80 – based on evidence, 80% of the times in which the experiment is run, x occurs. It summarizes our uncertainty of what causes x. Degree of truth – Fuzzy logic.

Utility Theory Combine probability and decision theory To make a decision (action) an agent needs to have preferences between plans. An agent should choose the action with highest expected utility averaged over all possible outcomes.

Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary

Random Variable Definition: A variable that can take on several values, each value having a probability of occurrence. There are two types of random variables:  Discrete. Take on a countable number of values.  Continuous. Take on a range of values.

Random Variable Discrete Variables  For every discrete variable X there will be a probability function P(x) = P(X = x).

Random Variable Continuous Variables:  For every continuous random variable X we will associate a probability density function f(x). It is the area under the density functions between two points that corresponds to the probability of the variable lying between the two values. Prob(x1 < X <= x2) = ∫ x1 f(x) dx x2

The Sample Space   The space of all possible outcomes of a given process or situation is called the sample space S. S red & small blue & small red & large blue & large

An Event   An event A is a subset of the sample space. S red & small blue & small red & large blue & large A

Atomic Event An atomic event is a single point in S. Properties:  Atomic events are mutually exclusive  The set of all atomic events is exhaustive  A proposition is the disjunction of the atomic events it covers.

The Laws of Probability  The probability of the sample space S is 1, P(S) = 1  The probability of any event A is such that 0 <= P(A) <= 1.  Law of Addition If A and B are mutually exclusive events, then the probability that either one of them will occur is the sum of the individual probabilities: P(A or B) = P(A) + P(B)

The Laws of Probability If A and B are not mutually exclusive: P(A or B) = P(A) + P(B) – P(A and B) A B

Prior Probability It is called the unconditional or prior probability of event A. P(A) -- Reflects our original degree of belief of X.

Conditional Probabilities   Given that A and B are events in sample space S, and P(B) is different of 0, then the conditional probability of A given B is P(A|B) = P(A and B) / P(B)  If A and B are independent then P(A|B) = P(A)

The Laws of Probability   Law of Multiplication What is the probability that both A and B occur together? P(A and B) = P(A) P(B|A) where P(B|A) is the probability of B conditioned on A.

The Laws of Probability If A and B are statistically independent: P(B|A) = P(B) and then P(A and B) = P(A) P(B)

Independence on Two Variables P(A,B|C) = P(A|C) P(B|C) If A and B are conditionally independent: P(A|B,C) = P(A|C) and P(B|A,C) = P(B|C)

19 Exercises Find the probability that the sum of the numbers on two unbiased dice will be even by considering the probabilities that the individual dice will show an even number.

20 Exercises X 1 – first throw X 2 – second throw

21 Exercises X 1 – first throw X 2 – second throw Pfinal = P(X 1 =1 & X 2 =1) + P(X 1 =1 & X 2 =3) + P(X 1 =1 & X 2 =5) + P(X 1 =2 & X 2 =2) + P(X 1 =2 & X 2 =4) + P(X 1 =2 & X 2 =6) + P(X 1 =2 & X 2 =2) + P(X 1 =2 & X 2 =4) + P(X 1 =2 & X 2 =6) + P(X 1 =3 & X 2 =1) + P(X 1 =3 & X 2 =3) + P(X 1 =3 & X 2 =5) + P(X 1 =3 & X 2 =1) + P(X 1 =3 & X 2 =3) + P(X 1 =3 & X 2 =5) + … P(X 1 =6 & X 2 =2) + P(X 1 =6 & X 2 =4) + P(X 1 =6 & X 2 =6). P(X 1 =6 & X 2 =2) + P(X 1 =6 & X 2 =4) + P(X 1 =6 & X 2 =6). P final = 18/36 = 1/2

22 Exercises Find the probabilities of throwing a sum of a) 3, b) 4 with three unbiased dice.

23 Exercises Find the probabilities of throwing a sum of a) 3, b) 4 with three unbiased dice. X = sum of X 1 and X 2 and X 3 P(X=3)? P(X 1 =1 & X 2 =1 & X 3 =1) = 1/216 P(X=4)? P(X 1 =1 & X 2 =1 & X 3 =2) + P(X 1 =1 & X 2 =2 & X 3 =1) + … P(X=4) = 3/216

24 Exercises Three men meet by chance. What are the probabilities that a) none of them, b) two of them, c) all of them have the same birthday?

25 Exercises None of them have the same birthday X 1 – birthday 1 st person X 2 – birthday 2 nd person X 3 – birthday 3 rd person a)P(X 2 is different than X 1 & X 3 is different than X 1 and X 2 ) P final = (364/365)(363/365)

26 Exercises Two of them have the same birthday P(X 1 = X 2 and X 3 is different than X 1 and X 2 ) + P(X 1 =X 3 and X 2 differs) + P(X 2 =X 3 and X 1 differs). P(X 1 =X 2 and X 3 differs) = (1/365)(364/365) P final = 3(1/365)(364/365)

27 Exercises All of them have the same birthday P(X 1 = X 2 = X 3 ) P final = (1/365)(1/365)

Multivariate o Joint Distributions P(x,y) = P( X = x and Y = y).  P’(x) = Prob( X = x) = ∑ y P(x,y) It is called the marginal distribution of X The same can be done on Y to define the marginal distribution of Y, P”(y).  If X and Y are independent then P(x,y) = P’(x) P”(y)

Expectations: The Mean   Let X be a discrete random variable that takes the following values: x1, x2, x3, …, xn. Let P(x1), P(x2), P(x3),…,P(xn) be their respective probabilities. Then the expected value of X, E(X), is defined as E(X) = x1P(x1) + x2P(x2) + x3P(x3) + … + xnP(xn) E(X) = Σi xi P(xi)

30 Exercises Suppose that X is a random variable taking the values {-1, 0, and 1} with equal probabilities and that Y = X 2. Find the joint distribution and the marginal distributions of X and Y and also the conditional distributions of X given a) Y = 0 and b) Y = 1.

31 Exercises 01/30 0 Y X 1/32/3 1/3 1/3 1/ If Y = 0 then X= 0 with probability 1 If Y = 1 then X is equally likely to be +1 or -1

Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary

Bayes’ Theorem P(A,B) = P(A|B) P(B) P(B,A) = P(B|A) P(A) The theorem: P(B|A) = P(A|B) P(B) / P(A)

More General Bayes’ Theorem P(Y|X,e) = P(X|Y,e) P(Y|e) / P(X|e) Where e: background evidence.

Thomas Bayes Born in London (1701). Studied logic and theology (Univ. of Edinburgh). Fellow of the Royal Society (year 1742). Given white and black balls in an urn, what is the prob. of drawing one or the other? Given one or more balls, what can be said about the number of balls in the urn?

Uncertainty Uncertain Knowledge Probability Review Bayes’ Theorem Summary

Uncertainty comes from ignorance on the true state of the world. Probabilities indicate our degree of belief on certain event. Concepts: random variable, prior probabilities, conditional probabilities, joint distributions, conditional independence, Bayes’ theorem.

Application: Predicting Stock Market Bayesian Networks BNs have been exploited to predict the behavior of the stock market. BNs can be constructed from daily stock returns over a certain amount of time. Stocks can be analyzed from well-known repositories: e.g., S&P 500 index.