Probability theory Petter Mostad 2005.09.15. Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different.

Slides:



Advertisements
Similar presentations
CS433: Modeling and Simulation
Advertisements

Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Probability Theory Part 1: Basic Concepts. Sample Space - Events  Sample Point The outcome of a random experiment  Sample Space S The set of all possible.
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.
DEPARTMENT OF HEALTH SCIENCE AND TECHNOLOGY STOCHASTIC SIGNALS AND PROCESSES Lecture 1 WELCOME.
Introduction to stochastic process
Probability Review 1 CS479/679 Pattern Recognition Dr. George Bebis.
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.
Chapter 7 Probability. Definition of Probability What is probability? There seems to be no agreement on the answer. There are two broad schools of thought:
1 Chapter 7 Probability Basics. 2 Chapter 7 Introduction to Probability Basics Learning Objectives –Probability Theory and Concepts –Use of probability.
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.
Chapter 21 Random Variables Discrete: Bernoulli, Binomial, Geometric, Poisson Continuous: Uniform, Exponential, Gamma, Normal Expectation & Variance, Joint.
Review of Probability.
Engineering Probability and Statistics
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.
STAT 552 PROBABILITY AND STATISTICS II
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Probability Theory and Random Processes
Census A survey to collect data on the entire population.   Data The facts and figures collected, analyzed, and summarized for presentation and.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
Random variables Petter Mostad Repetition Sample space, set theory, events, probability Conditional probability, Bayes theorem, independence,
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Basic Concepts of Discrete Probability (Theory of Sets: Continuation) 1.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
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}.
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.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Review of Exam I Sections Jiaping Wang Department of Mathematical Science 02/18/2013, Monday.
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.
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.
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 5.2: Recap on Probability Theory Jürgen Sturm Technische Universität.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
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.
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.
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.
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.
2. Introduction to Probability. What is a Probability?
Probability Rules. We start with four basic rules of probability. They are simple, but you must know them. Rule 1: All probabilities are numbers between.
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.
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)
Review of Probability Concepts Prepared by Vera Tabakova, East Carolina University.
Lecture 6 Dustin Lueker.  Standardized measure of variation ◦ Idea  A standard deviation of 10 may indicate great variability or small variability,
AP Statistics Section 6.2 B Probability Rules. If A represents some event, then the probability of event A happening can be represented as _____.
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.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Review of Final Part I Sections Jiaping Wang Department of Mathematics 02/29/2013, Monday.
L Basic Definitions: Events, Sample Space, and Probabilities l Basic Rules for Probability l Conditional Probability l Independence of Events l Combinatorial.
Review of Probability.
Chapter 3 Probability.
STA 291 Spring 2008 Lecture 6 Dustin Lueker.
Probability, Statistics
Probability Rules Rule 1.
Quick Review of Probability
Presentation transcript:

Probability theory Petter Mostad

Sample space The set of possible outcomes you consider for the problem you look at You subdivide into different outcomes only as far as is relevant for your problem The sample space is the start of a simplified model for reality Events are subsets of the sample space

Set theory The complement of subset is denoted The intersection of and is denoted The union of and is denoted and are called mutually exclusive or disjoint if where is the empty set If are subsets of a sample space, then they are called collectively exhaustive if

Venn diagrams

Computations with sets Examples of rules you can prove: If are mutually exclusive and collectively exhaustive, then

Events as subsets The union of events corresponds to ”or”, the intersection to ”and”, and the complement to ”not”. Examples: –A : The patient is given drug X –B : The patient dies – : The patient is given drug X and dies – : The patient is given drug X or s/he dies or both – : The patient does not die – : The patient is not given drug X, and dies

Definitions of probability If A is a set of outcomes of an experiment, and if when repeating this experiment many times the frequency of A approaches a limit p, then the probability of A is said to be p. Or: The probability of A is your ”belief” that A is true or will happen: It is an attribute of your knowledge about A. Over time, events given probability p should happen with frequency p.

Properties of probabilities When probabilities are assigned to all outcomes in a sample space, such that –All probabilities are positive or zero. –The probabilities add up to one. then we say we have a probability model The probability of an event A is the sum of the probabilities of the outcomes in A, and is written P(A)

Computations with probabilities Some consequences of the set-theory results: When and are mutually exclusive, In general,

Conditional probability If some information limits the sample space to a subset A, the relative probabilities for outcomes in A are the same, but they are scaled up so that they sum to 1. We write P(B|A) for the probability of event B given event A. In symbols:

The law of total probability As and are disjoint, we get Together with the definition of conditional probability, this gives the law of total probability:

Statistical independence If P(B|A)=P(B), we say that B is statistically independent of A. We can easily see that this happens if and only if Thus B is statistically independent of A if and only if A is statistically independent of B.

Bayes theorem Bayes theorem says that: This can be deduced simply from definition of conditional probability: Together with the law of total probability:

Example A disease X has a prevalence of 1%. A test for X exists, and –If you are ill, the test is positive in 90% of cases –If you are not ill, the test is positive in 10% of cases. You have a positive test: What is the probability that you have X?

Joint and marginal probabilities Assume are mutually exclusive and collectively exhaustive. Assume the same for. Then: are called joint probabilities or are called marginal probabilities If every is statistically independent of every then the two subdivisions are called independent attributes

Odds The odds for an event is its probability divided by the probability of its complement. What is the odds of A if P(A) = 0.8? What can you say about the probability of A if its odds is larger than 1?

Overinvolvement ratios If you want to see how A depends differently on B or C, you can compute the overinvolvement ratio: Example: If the probability to get lung cancer is 0.5% for smokers and 0.1% for non-smokers, what is the overinvolvement ratio?

Random variables A random variable is a probability model where each outcome is a number. For discrete random variables, it is meaningful to talk about the probability of each specific number. For continuous random variables, we only 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. The cumulative density function (CDF) at a value x is the cumulative sum of the PDF for values up to and including x. Example: A die throw has outcomes 1,2,3,4,5,6. What is the CDF at 4?

Expected value The expected value of a discrete random variable is the weighted average of its possible outcomes, with the probabilities as weights. For a random variable X with outcomes x 1, x 2, …, x n with probabilities P(x 1 ), P(x 2 ), …, P(x n ), the expected value E(X) is Example: What is the expected value when throwing a die?

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 where is the expected value. The standard deviation is the square root of the variance. We can show that We can also show

Example: Bernoulli random variable A Bernoulli random variable X takes the value 1 with probability p and the value 0 with probability 1-p. E(X) = p Var(X) = p(1-p) What is the variance for a single die throw?

Some combinatorics How many ways can you make ordered selections of s objects from n objects? Answer: n*(n-1)*(n-2)*…*(n-s+1)) How many ways can you order n objects? Answer: n*(n-1)*…*2*1 = n! (”n faculty”) How many ways can you make unordered selections of s objects from n objects? Answer: