Probability theory Tron Anders Moger September 5th 2007.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Decision theory and Bayesian statistics. More repetition Tron Anders Moger
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Chapter 4 Probability and Probability Distributions
Economics 105: Statistics Any questions? Go over GH2 Student Information Sheet.
Probability and Statistics Dr. Saeid Moloudzadeh Sample Space and Events 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Probability. Probability Definitions and Relationships Sample space: All the possible outcomes that can occur. Simple event: one outcome in the sample.
Chapter 4 Probability.
Probability Theory Part 2: Random Variables. Random Variables  The Notion of a Random Variable The outcome is not always a number Assign a numerical.
Chapter 2: Probability.
Statistical Analysis Pedro Flores. Conditional Probability The conditional probability of an event B is the probability that the event will occur given.
Engineering Probability and Statistics - SE-205 -Chap 2 By S. O. Duffuaa.
Mutually Exclusive: P(not A) = 1- P(A) Complement Rule: P(A and B) = 0 P(A or B) = P(A) + P(B) - P(A and B) General Addition Rule: Conditional Probability:
PROBABILITY (6MTCOAE205) Chapter 2 Probability.
Engineering Probability and Statistics
1.2 Sample Space.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
1 CY1B2 Statistics Aims: To introduce basic statistics. Outcomes: To understand some fundamental concepts in statistics, and be able to apply some probability.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
Ex St 801 Statistical Methods Probability and Distributions.
Theory of Probability Statistics for Business and Economics.
Nor Fashihah Mohd Noor Institut Matematik Kejuruteraan Universiti Malaysia Perlis ІМ ќ INSTITUT MATEMATIK K E J U R U T E R A A N U N I M A P.
Using Probability and Discrete Probability Distributions
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Review of Exam I Sections Jiaping Wang Department of Mathematical Science 02/18/2013, Monday.
Probability theory Petter Mostad Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.
Discrete Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4)
LECTURE 14 TUESDAY, 13 OCTOBER STA 291 Fall
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
2-1 Sample Spaces and Events Random Experiments Figure 2-1 Continuous iteration between model and physical system.
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.
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Basic Concepts of Probability CEE 431/ESS465. Basic Concepts of Probability Sample spaces and events Venn diagram  A Sample space,  Event, A.
Probability Refresher. Events Events as possible outcomes of an experiment Events define the sample space (discrete or continuous) – Single throw of a.
Probability Review-1 Probability Review. Probability Review-2 Probability Theory Mathematical description of relationships or occurrences that cannot.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
2. Introduction to Probability. What is a Probability?
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Review of Probability. Important Topics 1 Random Variables and Probability Distributions 2 Expected Values, Mean, and Variance 3 Two Random Variables.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
AP Statistics Notes Chapter 14 and 15.
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
BIA 2610 – Statistical Methods
Random Variables. Numerical Outcomes Consider associating a numerical value with each sample point in a sample space. (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
1 Probability: Introduction Definitions,Definitions, Laws of ProbabilityLaws of Probability Random VariablesRandom Variables DistributionsDistributions.
Chapter 6 - Probability Math 22 Introductory Statistics.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Lecture 19 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Review of Final Part I Sections Jiaping Wang Department of Mathematics 02/29/2013, Monday.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
3.1 Discrete Random Variables Present the analysis of several random experiments Discuss several discrete random variables that frequently arise in applications.
APPENDIX A: A REVIEW OF SOME STATISTICAL CONCEPTS
Review of Probability.
Chapter 3 Probability.
What is Probability? Quantification of uncertainty.
Business Statistics Topic 4
Probability Review for Financial Engineers
STA 291 Spring 2008 Lecture 6 Dustin Lueker.
Probability, Statistics
Experiments, Outcomes, Events and Random Variables: A Revisit
Quick Review of Probability
Presentation transcript:

Probability theory Tron Anders Moger September 5th 2007

Some definitions: Sample space S=The set of all possible outcomes of a random experiment Event A: Subset of outcomes in the sample space Venn diagram:

Operations on events 1 Complement: The complement of A are all outcomes included in the sample space, but not in A, denoted. Union: The union of two events A and B are the outcomes included in both A and B.

Operations on events 2 Intersection: The intersection of A and B are the outcomes included in both A and B. Mutually exclusive: If A and B do not have any common outcomes, they are mutually exclusive. Collectively exhaustive:

Probability Probability is defined as the freqency of times an event A will occur, if an experiment is repeated many times The sum of the probabilities of all events in the sample space sum to 1. Probability 0: The event cannot occur Probabilities have to be between 0 and 1!

Probability postulates 1 The complement rule: P(A)+P( )=1 Rule of addition for mutually exclusive events: P(A  B)=P(A)+P(B)

Probability postulates 2 General rule of addition, for events that are not mutually exclusive: P(A  B)=P(A)+P(B)-P(A  B)

Conditional probability If the event B already has occurred, the conditional probability of A given B is: Can be interpreted as follows: The knowledge that B has occurred, limit the sample space to B. The relative probabilities are the same, but they are scaled up so that they sum to 1.

Probability postulates 3 Multiplication rule: For general outcomes A and B: P(A  B)=P(A|B)P(B)=P(B|A)P(A) Indepedence: A and B are statistically independent if P(A  B)=P(A)P(B) –Implies that

Probability postulates 4 Assume that the events A 1, A 2,..., A n are independent. Then P(A 1  A 2 ....  A n )=P(A 1 )  P(A 2 ) ....  P( A n ) This rule is very handy when all P(A i ) are equal

Example: Doping tests Let’s say a doping test has 0.2% probability of being positive when the athlete is not using steroids The athlete is tested 50 times What is the probability that at least one test is positive, even though the athlete is clean? Define A=at least one test is positive Complement rule Rule of independence 50 terms

Example: Andy’s exams Define A=Andy passes math B=Andy passes chemistry Let P(A)=0.4P(B)=0.35P(A∩B)=0.12 Are A and B independent? 0.4*0.35=0.14≠0.12, no they are not Probability that Andy fail in both subjects? Complement rule General rule of addition

The law of total probability - twins A= Twins have the same gender B= Twins are monozygotic = Twins are heterozygotic What is P(A)? The law of total probability P(A)=P(A|B)P(B)+P(A| )P( ) For twins: P(B)=1/3 P( )=2/3 P(A)=1  1/3+1/2  2/3=2/3

Bayes theorem Frequently used to estimate the probability that a patient is ill on the basis of a diagnostic Uncorrect diagnoses are common for rare diseases

Example: Cervical cancer B=Cervical cancer A=Positive test P(B)=0.0001P(A|B)=0.9 P(A| )=0.001 Only 8% of women with positive tests are ill

Usefullness of test highly dependent on disease prevalence and quality of test: P(B)P(A| )P(B|A)

Odds: The odds for an event is the probability of the event divided by the probability of its complement From horse racing: Odds 1:9 means that the horse wins in 1 out of 10 races; P(A)=0.1

Random variables A random variable takes on numerical values determined by the outcome of a random experiment. A discrete random variable takes on a countable number of values, with a certain probability attached to each specific value. Continuous random variables can take on any value in an interval, only meaningful to talk about the probability for intervals.

PDF and CDF For discrete random variables, the probability density function (PDF) is simply the same as the probability function of each outcome, denoted P(x). The cumulative density function (CDF) at a value x is the cumulative sum of the PDF for values up to and including x,. Sum over all outcomes is always 1 (why?). For a single dice throw, the CDF at 4 is 1/6+1/6+1/6+1/6=4/6=2/3

Expected value The expected value of a discrete random variable is defined as the following sum: The sum is over all possible values/outcomes of the variable For a single dice throw, the expected value is E(X)=1*1/6+2*1/ *1/6=3.5

Properties of the expected value We can construct a new random variable Y=aX+b from a random variable X and numbers a and b. (When X has outcome x, Y has outcome ax+b, and the probabilities are the same). We can then see that E(Y) = aE(X)+b We can also construct for example the random variable X*X = X 2

Variance and standard deviation The variance of a stochastic variable X is The standard deviation is the square root of the variance. We can show that Hence, constants do not have any variance

Example: Let E(X)=  X and Var(X)=  X 2 What is the expected value and variance of ?

Next week: So far: Only considered discrete random variables Next week: Continuous random variables Common probability distributions for random variables Normal distribution