V7 Foundations of Probability Theory „Probability“ : degree of confidence that an event of an uncertain nature will occur. „Events“ : we will assume that.

Slides:



Advertisements
Similar presentations
Bayes rule, priors and maximum a posteriori
Advertisements

Primer on Probability Sushmita Roy BMI/CS 576 Sushmita Roy Oct 2nd, 2012 BMI/CS 576.
Review of Probability. Definitions (1) Quiz 1.Let’s say I have a random variable X for a coin, with event space {H, T}. If the probability P(X=H) is.
Review of Probability.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Introduction to Probability Experiments, Outcomes, Events and Sample Spaces What is probability? Basic Rules of Probability Probabilities of Compound Events.
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 :
Scores and substitution matrices in sequence alignment Sushmita Roy BMI/CS 576 Sushmita Roy Sep 11 th,
Section 5.1 and 5.2 Probability
Chapter 4 Probability.
Probability theory Much inspired by the presentation of Kren and Samuelsson.
Chapter 5: Probability Concepts
Pattern Classification, Chapter 1 1 Basic Probability.
3-1 Introduction Experiment Random Random experiment.
Probability (cont.). Assigning Probabilities A probability is a value between 0 and 1 and is written either as a fraction or as a proportion. For the.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Review of Probability and Binomial Distributions
Lecture 7 Dustin Lueker.  Experiment ◦ Any activity from which an outcome, measurement, or other such result is obtained  Random (or Chance) Experiment.
Probability and Probability Distributions
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
OUTLINE Probability Theory Linear Algebra Probability makes extensive use of set operations, A set is a collection of objects, which are the elements.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
1 Probability and Statistics  What is probability?  What is statistics?
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Sample space The set of all possible outcomes of a chance experiment –Roll a dieS={1,2,3,4,5,6} –Pick a cardS={A-K for ♠, ♥, ♣ & ♦} We want to know the.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Theory of Probability Statistics for Business and Economics.
From Randomness to Probability
3-2 Random Variables In an experiment, a measurement is usually denoted by a variable such as X. In a random experiment, a variable whose measured.
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}.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
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.
1 TABLE OF CONTENTS PROBABILITY THEORY Lecture – 1Basics Lecture – 2 Independence and Bernoulli Trials Lecture – 3Random Variables Lecture – 4 Binomial.
Probability theory Petter Mostad Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.
LECTURE 14 TUESDAY, 13 OCTOBER STA 291 Fall
Chapter 5: Probability Analysis of Randomized Algorithms Size is rarely the only property of input that affects run time Worst-case analysis most common.
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.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
Dr. Ahmed Abdelwahab Introduction for EE420. Probability Theory Probability theory is rooted in phenomena that can be modeled by an experiment with an.
Statistics for Management and Economics Chapter 6
LECTURE 17 THURSDAY, 22 OCTOBER STA 291 Fall
Probability Course web page: vision.cis.udel.edu/cv March 19, 2003  Lecture 15.
Making sense of randomness
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Probability theory Tron Anders Moger September 5th 2007.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
Inference: Probabilities and Distributions Feb , 2012.
Sampling and estimation Petter Mostad
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
Lecture 7 Dustin Lueker.  Experiment ◦ Any activity from which an outcome, measurement, or other such result is obtained  Random (or Chance) Experiment.
February 16. In Chapter 5: 5.1 What is Probability? 5.2 Types of Random Variables 5.3 Discrete Random Variables 5.4 Continuous Random Variables 5.5 More.
LECTURE 16 TUESDAY, 20 OCTOBER STA 291 Fall
Module #1 - Logic 1 Based on Rosen, Discrete Mathematics & Its Applications. Prepared by (c) , Michael P. Frank and Modified By Mingwu Chen Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
From Randomness to Probability
Random Variables By: 1.
AP Statistics From Randomness to Probability Chapter 14.
Pattern Recognition Probability Review
Review of Probability.
Appendix A: Probability Theory
Learn to let go. That is the key to happiness. ~Jack Kornfield
Basic Probability aft A RAJASEKHAR YADAV.
STA 291 Spring 2008 Lecture 7 Dustin Lueker.
Mathematical Foundations of BME Reza Shadmehr
Presentation transcript:

V7 Foundations of Probability Theory „Probability“ : degree of confidence that an event of an uncertain nature will occur. „Events“ : we will assume that there is an agreed upon space  of possible outcomes („events“). E.g. a normal die (dt. Würfel) has a space    1,2,3,4,5,6  Also we assume that there is a set of measurable events S to which we are willing to assign probabilities. In the die example, the event  6  is the case where the die shows 6. The event  1,3,5  represents the case of an odd outcome. 1 SS lecture 7Mathematics of Biological Networks

Foundations of Probability Theory Probability theory requires that the event space satisfy 3 basic properties: -It contains the empty event  and the trivial event . -It is closed under union → if ,   S, then so is     S, -It is closed under complementation → if   S, then so is     S The requirement that the event space is closed under union and complementation implies that it is also closed under other Boolean operations, such as intersection and set difference. 2 SS lecture 7Mathematics of Biological Networks

Probability distributions A probability distribution P over ( , S) is a mapping from events in S to real values that satisfies the following conditions: (1) P(   0 for all  S → Probabilities are not negative (2) P(  ) = 1 → The probability of the trivial event which allows all possible outcomes has the maximal possible probability of 1. (3) If ,   S and    = 0 then P(    ) = P(  ) + P(  ) 3 SS lecture 7Mathematics of Biological Networks

Interpretation of probabilities The frequentist‘s interpretation: The probability of an event is the fraction of times the event occurs if we repeat the experiment indefinitely. E.g. throwing of dice, coin flips, card games, … where frequencies will satisfy the requirements of proper distributions. For an event such as „It will rain tomorrow afternoon“, the frequentist approach does not provide a satisfactory interpretation. 4 SS lecture 7Mathematics of Biological Networks

Interpretation of probabilities An alternative interpretation views probabilities as subjective degrees of belief. E.g. the statement „the probability of rain tomorrow afternoon is 50 percent“ tells us that in the opinion of the speaker, the chances of rain and no rain tomorrow afternoon are the same. When we discuss probabilities in the following we usually do not explicitly state their interpretation since both interpretations lead to the same mathematical rules. 5 SS lecture 7Mathematics of Biological Networks

Conditional probability 6 SS lecture 7Mathematics of Biological Networks

Bayes rule 7 SS lecture 7Mathematics of Biological Networks

Example 1 for Bayes rule Consider a student population. Let Smart denote smart students and GradeA denote students who got grade A. Assume we believe that P( GradeA|Smart ) = 0.6, and now we learn that a particular student received grade A. Suppose that P (Smart ) = 0.3 and P (GradeA ) = 0.2 Then we have P( Smart|GradeA ) = 0.6  0.3 / 0.2 = 0.9 In this model, an A grade strongly suggests that the student is smart. On the other hand, if the test was easier and high grades were more common, e.g. P (GradeA ) = 0.4, then we would get P( Smart|GradeA ) = 0.6  0.3 / 0.4 = 0.45 which is much less conclusive. 8 SS lecture 7Mathematics of Biological Networks

Example 2 for Bayes rule Suppose that a tuberculosis skin test is 95% percent accurate. That is, if the patient is TB-infected, then the test will be positive with probability 0.95 and if the patient is not infected, the test will be negative with probability Now suppose that a person gets a positive test result. What is the probability that the person is infected? Naive reasoning suggests that if the test result is wrong 5% of the time, then the probability that the subject is infected is That would mean that 95% of subjects with positive results have TB. 9 SS lecture 7Mathematics of Biological Networks

Example 2 for Bayes rule If we consider the problem by applying Bayes‘ rule, we need to consider the prior probability of TB infection, and the probability of getting a positive test result. Suppose that 1 in 1000 of the subjects who get tested is infected → P(TB) = We see that  0.95 infected subjects get a positive result and  0.05 uninfected subjects get a positive result. Thus P(Positive) =   0.05 = Applying Bayes‘ rule, we get P(TB|Positive) = P(TB)  P(Positive|TB) / P(Positive) =  0.95 /  Thus, although a subject with a positive test is much more probable to be TB-infected than is a random subject, fewer than 2% of these subjects are TB-infected. 10 SS lecture 7Mathematics of Biological Networks

Random Variables 11 SS lecture 7Mathematics of Biological Networks

Random Variables 12 SS lecture 7Mathematics of Biological Networks

Marginal Distributions 13 SS lecture 7Mathematics of Biological Networks

Joint Distributions 14 SS lecture 7Mathematics of Biological Networks

Conditional Probability 15 SS lecture 7Mathematics of Biological Networks

Independence 16 SS lecture 7Mathematics of Biological Networks

Independence 17 SS lecture 7Mathematics of Biological Networks

Independence of Random Variables 18 SS lecture 7Mathematics of Biological Networks

Independence properties of distributions 19 SS lecture 7Mathematics of Biological Networks

Probability Density Functions 20 SS lecture 7Mathematics of Biological Networks

Uniform distribution 21 SS lecture 7Mathematics of Biological Networks

Gaussian distribution 22 SS lecture 7Mathematics of Biological Networks

Joint density functions 23 SS lecture 7Mathematics of Biological Networks

Conditional density functions 24 SS lecture 7Mathematics of Biological Networks

Conditional density functions 25 SS lecture 7Mathematics of Biological Networks

Conditional density functions 26 SS lecture 7Mathematics of Biological Networks

Conditional density functions 27 SS lecture 7Mathematics of Biological Networks

Expectation 28 SS lecture 7Mathematics of Biological Networks

Properties of the expectation of a random variable E[a  X + b] = a E[X ] + b Let X and Y be two random variables E[X + Y] = E[X] + E[Y] Here, it does not matter whether X and Y are independent or not. What can be say about the expectation value of a product of two random variables? In the general case very little. Consider 2 variables X and Y that take each on the values +1 and -1 with probabilities 0.5. If X and Y are independent, then E[X  Y] = 0. If they always take the same value (they are correlated), then E[X  Y] = SS lecture 7Mathematics of Biological Networks

Properties of the Expectation of a random variable 30 SS lecture 7Mathematics of Biological Networks

Variance 31 SS lecture 7Mathematics of Biological Networks

Variance 32 SS lecture 7Mathematics of Biological Networks