Probability theory Much inspired by the presentation of Kren and Samuelsson.

Slides:



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

Stats for Engineers: Lecture 3. Conditional probability Suppose there are three cards: A red card that is red on both sides, A white card that is white.
CS433: Modeling and Simulation
Section 5.1 and 5.2 Probability
© 2002 Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft Excel (3 rd Edition) Chapter 4 Basic Probability and Discrete Probability Distributions.
Psychology 10 Analysis of Psychological Data February 26, 2014.
DEPARTMENT OF HEALTH SCIENCE AND TECHNOLOGY STOCHASTIC SIGNALS AND PROCESSES Lecture 1 WELCOME.
Review of Basic Probability and Statistics
Short review of probabilistic concepts
Introduction to Probability and Statistics
Statistics. Large Systems Macroscopic systems involve large numbers of particles.  Microscopic determinism  Macroscopic phenomena The basis is in mechanics.
Short review of probabilistic concepts Probability theory plays very important role in statistics. This lecture will give the short review of basic concepts.
TDC 369 / TDC 432 April 2, 2003 Greg Brewster. Topics Math Review Probability –Distributions –Random Variables –Expected Values.
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
 The Law of Large Numbers – Read the preface to Chapter 7 on page 388 and be prepared to summarize the Law of Large Numbers.
Lecture 6: Descriptive Statistics: Probability, Distribution, Univariate Data.
Expected Value (Mean), Variance, Independence Transformations of Random Variables Last Time:
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 4 and 5 Probability and Discrete Random Variables.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
1 CY1B2 Statistics Aims: To introduce basic statistics. Outcomes: To understand some fundamental concepts in statistics, and be able to apply some probability.
QA in Finance/ Ch 3 Probability in Finance Probability.
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
PBG 650 Advanced Plant Breeding
Statistics 303 Chapter 4 and 1.3 Probability. The probability of an outcome is the proportion of times the outcome would occur if we repeated the procedure.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
PROBABILITY & STATISTICAL INFERENCE LECTURE 3 MSc in Computing (Data Analytics)
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
11-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Probability and Statistics Chapter 11.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Applied Business Forecasting and Regression Analysis Review lecture 2 Randomness and Probability.
COMP 170 L2 L18: Random Variables: Independence and Variance Page 1.
Engineering Probability and Statistics Dr. Leonore Findsen Department of Statistics.
1 Lecture 4. 2 Random Variables (Discrete) Real-valued functions defined on a sample space are random vars. determined by outcome of experiment, we can.
Probability Definition: randomness, chance, likelihood, proportion, percentage, odds. Probability is the mathematical ideal. Not sure what will happen.
PROBABILITY CONCEPTS Key concepts are described Probability rules are introduced Expected values, standard deviation, covariance and correlation for individual.
 Review Homework Chapter 6: 1, 2, 3, 4, 13 Chapter 7 - 2, 5, 11  Probability  Control charts for attributes  Week 13 Assignment Read Chapter 10: “Reliability”
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}.
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.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 5 Discrete Random Variables.
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.
Lecture V Probability theory. Lecture questions Classical definition of probability Frequency probability Discrete variable and probability distribution.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
Probability (outcome k) = Relative Frequency of k
V7 Foundations of Probability Theory „Probability“ : degree of confidence that an event of an uncertain nature will occur. „Events“ : we will assume that.
Probability Theory Modelling random phenomena. Permutations the number of ways that you can order n objects is: n! = n(n-1)(n-2)(n-3)…(3)(2)(1) Definition:
Q1: Standard Deviation is a measure of what? CenterSpreadShape.
1 Keep Life Simple! We live and work and dream, Each has his little scheme, Sometimes we laugh; sometimes we cry, And thus the days go by.
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)
Probability. Probability Probability is fundamental to scientific inference Probability is fundamental to scientific inference Deterministic vs. Probabilistic.
A random variable is a variable whose values are numerical outcomes of a random experiment. That is, we consider all the outcomes in a sample space S and.
Welcome to MM305 Unit 3 Seminar Prof Greg Probability Concepts and Applications.
9/14/1999 JHU CS /Jan Hajic 1 Introduction to Natural Language Processing Probability AI-Lab
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
INTRODUCTION TO ECONOMIC STATISTICS Topic 5 Discrete Random Variables These slides are copyright © 2010 by Tavis Barr. This work is licensed under a Creative.
MECH 373 Instrumentation and Measurements
Random variables (r.v.) Random variable
What is Probability? Quantification of uncertainty.
Business Statistics Topic 4
Appendix A: Probability Theory
Probability Review for Financial Engineers
Welcome to the wonderful world of Probability
Probability overview Event space – set of possible outcomes
Mathematical Foundations of BME Reza Shadmehr
Presentation transcript:

Probability theory Much inspired by the presentation of Kren and Samuelsson

3 view of probability Frequentist Mathematical Bayesian (knowledge-based)

Sample space A universe of elementary outcomes. In elementary treatments, we pretend that we can come up with sets of equiprobable outcomes (dice, coins,...). Outcomes are very small. An event is a set of those outcomes. Events are bigger than outcomes -- more interesting.

Probability measure Every event (=set of outcomes) is assigned a probability, by a function we call a probability measure. The probability of every set is between 0 and 1, inclusive. The probability of the whole set of outcomes is 1. If A and B are two event with no common outcomes, then the probability of their union is the sum of their probabilities.

Cards Out universe of outcomes is single card pulls. Events: a red card (1/2); a jack (1/13);

Other things to remember The probability that event P will not happen (=event ~P will happen) is 1-prob(P). Prob (null outcome) = 0. p ( A  B ) = p(A) + p(B) - p( A  B).

Independence (definition) Two events A and B are independent if the probability of A  B = probability of A times the probability of B (that is, p(A)* p(B) ).

Conditional probability This means: what's the probability of A if I already know B is true? p(A|B) = p(A and B) / p (B) = p(A  B) / p(B) Probability of A given B. p(A) is the prior probability; p(A|B) is called a posterior probability. Once you know B is true, the universe you care about shrinks to B.

Bayes' rule prob (A and B) = prob (B and A); so prob (A |B) prob (B) = prob (B|A) prob (A) -- just using the definition of prob (X|Y)); hence

Bayes’ rule as scientific reasoning A hypothesis H which is supported by a set of data D merits our belief to the degree that: 1. We believed H before we learned about D; 2. H predicts data D; and 3. D is unlikely.

A random variable a.k.a. stochastic variable. A random variable isn't a variable. It's a function. It maps from the sample space to the real numbers. This is a convenience: it is our way of translating events (whatever they are) to numbers.

Distribution function Distribution function: This is a function that takes a real number x as its input, and finds all those outcomes in the sample space that map onto x or anything less than x. For a die, F(0) = 0; F(1) = 1/6; F(2) = 1/3; F(3) = 1/2; F(4) = 2/3; F(5) = 5/6; and F(6) = F(7) = 1.

discrete distribution function

discrete, continuous If the set of values that the distribution function takes on is finite, or countable, then the random variable (which isn't a variable, it's a function) is discete; otherwise it's continuous (also, it ought to be mostly differentiable).

Distribution function aggregates It's a little bit counterintuitive, in a way. What about a function P for a die that tells us that P ( 1) = 1/6, P(2) = 1/6,... p(6) = 1/6? That's a frequency function, or probability function. We'll use the letter f for this. For the case of continuous variables, we don't want to ask what the probability of "1/6" is, because the answer is always 0...

Rather, we ask what's the probability that the value is in the interval (a,b) -- that's OK. So for continuous variables, we care about the derivative of the distribution function at a point (that's the derivative of an integral, after all...). This is called a probability density function. The probability that a random variable has a value in a set A is the integral of the p.d.f. over that set A.

Frequency function f The sum of the values of the frequency function f must add up to 1! The integral of the probability density function must be 1. A set of numbers that adds up to 1 is called a distribution.

Means that have nothing to do with meaning The mean is the average; in everyday terms, we add all the values and divide by the number of items. The symbol is 'E', for 'expected' (why is the mean expected? What else would you expect?) Since the frequency function f tells you how many there are of any particular value, the mean is

Weight a moment... The mean is the first moment; the second moment is the variance, which tells you how much the random variable jiggles. It's the sum of the differences from the mean (square those differences so they're positive). The square root of this is the standard deviation. (We don't divide by N here; that's inside the f-function, remember?)

Particular probability distributions: Binomial Gaussian, also known as normal Poisson

Binomial distribution If we run an experiment n times (independently: simultaneous or not, we don't care), and we care only about how many times altogether a particular outcome occurs -- that's a binomial distribution, with 2 parameters: the probability p of that outcome on a single trial, and n the number of trials.

If you toss a coin 4 times, what's the probability that you'll get 3 heads? If you draw a card 5 times (with replacement), what's the probability that you'll get exactly 1 ace? If you generate words randomly, what's the probability that you'll have two the's in the first 10 words?

In general, the answer is

Normal or Gaussian distribution Start off with something simple, like this: That's symmetric around the y-axis (negative and positive x treated the same way -- if x = 0, then the value is 1, and it slides to 0 as you go off to infinity, either positive or negative.

Gaussian or normal distribution Well, x's average can be something other than 0: it can be any old 

And its variance (  2 ) can be other than 1

And then normalize-- so that it all adds up (integrates, really) to 1, we have to divide by a normalizing factor: