Stochastic Methods A Review (Mostly). Relationship between Heuristic and Stochastic Methods  Heuristic and stochastic methods useful where –Problem does.

Slides:



Advertisements
Similar presentations
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Advertisements

Probability Sample Space Diagrams.
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
Ch5 Stochastic Methods Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2011.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
Thinking Mathematically
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
CONDITIONAL PROBABILITY and INDEPENDENCE In many experiments we have partial information about the outcome, when we use this info the sample space becomes.
Discrete Mathematics Lecture 7 More Probability and Counting Harper Langston New York University.
Chapter 4 Probability.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Discrete Mathematics Lecture 5
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
Chap 4-1 EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008 Chapter 4 Probability.
Class notes for ISE 201 San Jose State University
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2007 Pearson Education Asia Chapter 8 Introduction to Probability.
Statistics Chapter 3: Probability.
1.2 Sample Space.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
NA387 Lecture 5: Combinatorics, Conditional Probability
Probability – Models for random phenomena
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
1 2. Independence and Bernoulli Trials Independence: Events A and B are independent if It is easy to show that A, B independent implies are all independent.
Chapter 7 With Question/Answer Animations. Section 7.1.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
Introduction to Probability  Probability is a numerical measure of the likelihood that an event will occur.  Probability values are always assigned on.
Ch Counting Techniques Product Rule If the first element or object of an ordered pair can be used in n 1 ways, and for each of these n1 ways.
Random Experiment Random Variable: Continuous, Discrete Sample Space: S Event: A, B, E Null Event Complement of an Event A’ Union of Events (either, or)
Basic Probability Section 7.1. Definitions Sample Space: The set of all possible outcomes in a given experiment or situation Often denoted by S Event:
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 5 Counting.
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.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
Lesson 8.7 Page #1-29 (ODD), 33, 35, 41, 43, 47, 49, (ODD) Pick up the handout on the table.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Probability. What is probability? Probability discusses the likelihood or chance of something happening. For instance, -- the probability of it raining.
Notes and Questions on Chapters 13,14,15. The Sample Space, denoted S, of an experiment is a listing of all possible outcomes.  The sample space of rolling.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
Probability. Randomness When we produce data by randomized procedures, the laws of probability answer the question, “What would happen if we did this.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
1 Discrete Structures - CSIS2070 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 4 Counting.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
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.
BUSA Probability. Probability – the bedrock of randomness Definitions Random experiment – observing the close of the NYSE and the Nasdaq Sample.
3/7/20161 Now it’s time to look at… Discrete Probability.
Welcome to MM207 Unit 3 Seminar Dr. Bob Probability and Excel 1.
Probability What is the probability of rolling “snake eyes” in one roll? What is the probability of rolling “yahtzee” in one roll?
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Definitions Addition Rule Multiplication Rule Tables
Discrete Mathematics Lecture 8 Probability and Counting
What Is Probability?.
Chapter 6: Discrete Probability
Chapter 3 Probability.
Welcome to the wonderful world of Probability
Sets A set is simply any collection of objects
Wed + nes + day! Warm-Up… Quickwrite…
Business and Economics 7th Edition
Presentation transcript:

Stochastic Methods A Review (Mostly)

Relationship between Heuristic and Stochastic Methods  Heuristic and stochastic methods useful where –Problem does not have an exact solution –Full state space is too costly to search  In addition, stochastic methods are useful when –One samples an information base –Causal models are learned from the data

Problem Areas  Diagnostic reasoning  Natural language understanding  Speech recognition  Planning and scheduling  Learning

Pascal  Developed probabilistic techniques to develop a mathematical foundation for gambling  You might remember that Pascal abjured mathematics when in 1657 his niece was cured of a painful infection while being in the proximity of nuns who kissed a thorn from Christ’s crown.

Sets  Set –A set is an unordered collection of elements  Cardinality –Number of elements in a set –For a set A, its cardinality is denoted: |A|  Universe –The domain of interest –Denoted U  Complement of a set A –The set of all elements from U that are not part of A –Denoted  Subset –Set A is a subset of set B iff every element of A is also a an element of B –Denoted:  Union –The union of sets of A and B is the set of all elements of either set –Denoted:  Intersectcion –The intersection of sets A and B is the set of all elements that are elements of both sets –Denoted:

Rules for Sets

Permutations and Combinations  Permutation of elements is a unique sequence of elements in that set –The permutation of n elements taken r at a time, duplicates not allowed  n P r = n!/(n-r)! –The permutation of n objects taken r at a time, duplicates allowed  n r  Combination of a set of n elements is any subset that can be formed –The combination of n elements taken r at a time  n C r = n!/((n-r)! r!)

Elements of Probability Theory  Elementary Event –An occurrence that cannot be made up of other events  Event, E –Set of elementary events (e.g., two rolls of two fair dice)  Sample Space, S –The set of all possible outcomes of an event E –E.g. 2 … 12 for dice example  Probability, p –The ratio of the cardinality of E to that of S –p(E) = |E| / |S| and

Union Given that: Then

Intersection and Conditional Probability Suppose we have the following tulip table, telling us whether the tulip bulbs we have are red or yellow and bloom in April or May April(A)May(M)Totals Red (R)5813 Yellow (y)347 Totals81220

Conditional Probability  In general: For any two events, with p(B) > 0, the conditional probability of A given that B has occurred is: P(A|B) = P(A B)/P(B)

Independence  Two events are independent if the occurrence of one of them does not affect the probability of occurrence of the other  More formally, two events A and B are independent if: –p(A|B) = p(A) provided that p(B) > 0 –p(B|A) = p(B) provided that p(A) > 0

Theorem (intersection/independence) A and B are independent if and only if P(A B) = p(A) * p(B) Proof (if A and B are independent then …) We know: p(A B) = p(A|B) * p(B). Since A and B are independent, p(A|B) = p(A) So, So, P(A B) = p(A) * p(B) Proof (if p(A B) = p(A) * p(B) then …) We know that p(A B) = p(A|B) * p(B). We know that p(A B) = p(A|B) * p(B). So, p(A) = P(A|B) So, p(A) = P(A|B) So A is independent of B. The reverse can easily be demonstrated.

Example 1  What is the probability of rolling a 7 or an 11 using two fair dice? –Sample space is the cardinality of the cartesian product of the set of values from each die: namely, 36 –The subset of the cartesian product that can produce 7 is: A ={(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)} –The subset of the cartesian product that can produce 11 is: B = {(5,6),(6,5)} –|E| = |A| + |B| –p(E)=8/36 =.2222 –Another way is to use the probability of the union of sets –P(A U B) = p(A) + p(B) – p(A B) = 6/36 + 2/36 – 0 =.2222

Example 2  What is the probability of being dealt a four-of-a- kind hand in a five card poker hand?  S is the set of all five card hands. So, |S| = 52 C 5 = 2,598,960  E is the set of all four-of-a-kind hands  T is the set of card types  W is the set of ways to pick four of the same type  R is the set of all ways to pick 1 card from the remaining 48  So |E| = |T| * |W| * |R| |E| = 13 C 1 * 4 C 4 * 48 C 1 = 13 * 1 * 48 = 624  So, p(E) = |E|/|S| ≈.00024

Example 3  Recall (by the intersection/independence theorem) two events are independent if and only  Consider a situation where bit strings of length 4 are randomly generated.  Let A = the event of the bit strings containing an even number of 1s.  Let B = the event of the bit strings ending in 0.  Are A and B independent?  |S| = 2 4 = 16  A = {1111,1100,1010,1001,0110,0101,0011,0000}  |A| = 8  B = {1110,1100,1010,1000,0010,0100,0110,0000}  |B| = 8  P(A B) = |A B|/|S| = 4/16 =.25  P(A) * p(B) = 8/16 * 8/16 =.25  So A and B are independent