Probability Theory Random Variables and Distributions Rob Nicholls MRC LMB Statistics Course 2014.

Slides:



Advertisements
Similar presentations
Chapter 2 Concepts of Prob. Theory
Advertisements

Acknowledgement: Thanks to Professor Pagano
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.
Economics 105: Statistics Any questions? Go over GH2 Student Information Sheet.
Probability Sample Space Diagrams.
Probability and Statistics Dr. Saeid Moloudzadeh Sample Space and Events 1 Contents Descriptive Statistics Axioms of Probability Combinatorial.
Biostatistics Unit 4 - Probability.
1 Discrete Math CS 280 Prof. Bart Selman Module Probability --- Part a) Introduction.
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Discrete random variables Probability mass function Distribution function (Secs )
Visualizing Events Contingency Tables Tree Diagrams Ace Not Ace Total Red Black Total
1 Engineering Computation Part 5. 2 Some Concepts Previous to Probability RANDOM EXPERIMENT A random experiment or trial can be thought of as any activity.
CHAPTER 6 Statistical Analysis of Experimental Data
Discrete Probability Distributions
Statistical Theory; Why is the Gaussian Distribution so popular? Rob Nicholls MRC LMB Statistics Course 2014.
Chapter 5 Probability Theory. Rule 1 : The probability P(A) of any event A satisfies 0 < P(A) < 1 Rule 2 : If S is the sample space in a probability model,
Chapter 6 Probability.
Prof. SankarReview of Random Process1 Probability Sample Space (S) –Collection of all possible outcomes of a random experiment Sample Point –Each outcome.
Binomial Distributions Calculating the Probability of Success.
Poisson Random Variable Provides model for data that represent the number of occurrences of a specified event in a given unit of time X represents the.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Independence and Bernoulli.
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.
Chapter 1 Probability Spaces 主講人 : 虞台文. Content Sample Spaces and Events Event Operations Probability Spaces Conditional Probabilities Independence of.
Probability Theory 1.Basic concepts 2.Probability 3.Permutations 4.Combinations.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
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}.
Random Variables and Probability Models
Bernoulli Trials Two Possible Outcomes –Success, with probability p –Failure, with probability q = 1  p Trials are independent.
Introduction to Behavioral Statistics Probability, The Binomial Distribution and the Normal Curve.
Introduction to Probability and Statistics Thirteenth Edition Chapter 5 Several Useful Discrete Distributions.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Week 11 What is Probability? Quantification of uncertainty. Mathematical model for things that occur randomly. Random – not haphazard, don’t know what.
STA347 - week 31 Random Variables Example: We roll a fair die 6 times. Suppose we are interested in the number of 5’s in the 6 rolls. Let X = number of.
CS433 Modeling and Simulation Lecture 03 – Part 01 Probability Review 1 Dr. Anis Koubâa Al-Imam Mohammad Ibn Saud University
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,
Set Theory Chapter 3. Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very.
확률및공학통계 (Probability and Engineering Statistics) 이시웅.
Random Variables Example:
Binomial Distributions Chapter 5.3 – Probability Distributions and Predictions Mathematics of Data Management (Nelson) MDM 4U.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
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.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 5-1 Chapter 5 Some Important Discrete Probability Distributions Business Statistics,
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Conditional Probability 423/what-is-your-favorite-data-analysis-cartoon 1.
L Basic Definitions: Events, Sample Space, and Probabilities l Basic Rules for Probability l Conditional Probability l Independence of Events l Combinatorial.
Probability Theory Basic concepts Probability Permutations
MAT 446 Supplementary Note for Ch 3
Chapter 4 Probability Concepts
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
What is Probability? Quantification of uncertainty.
Business Statistics Topic 4
Appendix A: Probability Theory
Discrete Probability Distributions
Basic Probability aft A RAJASEKHAR YADAV.
Lecture 5 Section 1.6 Objectives:
The Binomial and Geometric Distributions
Econometric Models The most basic econometric model consists of a relationship between two variables which is disturbed by a random error. We need to use.
Now it’s time to look at…
Introduction to Probability and Statistics
Bernoulli Trials Two Possible Outcomes Trials are independent.
CSE 321 Discrete Structures
Discrete Random Variables: Basics
Discrete Random Variables: Basics
Sets and Probabilistic Models
Discrete Random Variables: Basics
Chapter 1 Probability Spaces
Presentation transcript:

Probability Theory Random Variables and Distributions Rob Nicholls MRC LMB Statistics Course 2014

Introduction

Significance magazine (December 2013) Royal Statistical Society

Introduction Significance magazine (December 2013) Royal Statistical Society

Introduction Significance magazine (December 2013) Royal Statistical Society

Contents Set Notation Intro to Probability Theory Random Variables Probability Mass Functions Common Discrete Distributions

Set Notation A set is a collection of objects, written using curly brackets {} If A is the set of all outcomes, then: A set does not have to comprise the full number of outcomes E.g. if A is the set of dice outcomes no higher than three, then:

Set Notation If A and B are sets, then: Complement – everything but A Union (or) Intersection (and) Not Empty Set

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Set Notation Venn Diagram: ABAB one two, three six four five

Probability Theory To consider Probabilities, we need: 1. Sample space: Ω 2. Event space: 3. Probability measure: P

Probability Theory To consider Probabilities, we need: 1. Sample space: Ω- the set of all possible outcomes

Probability Theory To consider Probabilities, we need: 2. Event space: - the set of all possible events

Probability Theory To consider Probabilities, we need: 3. Probability measure: P P must satisfy two axioms: Probability of any outcome is 1 (100% chance) If and only if are disjoint

Probability Theory To consider Probabilities, we need: 3. Probability measure: P P must satisfy two axioms: Probability of any outcome is 1 (100% chance) If and only if are disjoint

Probability Theory To consider Probabilities, we need: 1. Sample space: Ω 2. Event space: 3. Probability measure: P As such, a Probability Space is the triple: (Ω,,P )

Probability Theory To consider Probabilities, we need: The triple: (Ω,,P ) i.e. we need to know: 1.The set of potential outcomes; 2.The set of potential events that may occur; and 3.The probabilities associated with occurrence of those events.

Probability Theory Notable properties of a Probability Space (Ω,,P ):

Probability Theory Notable properties of a Probability Space (Ω,,P ):

Probability Theory Notable properties of a Probability Space (Ω,,P ):

Probability Theory Notable properties of a Probability Space (Ω,,P ): ABAB

Probability Theory Notable properties of a Probability Space (Ω,,P ): ABAB

Probability Theory Notable properties of a Probability Space (Ω,,P ): ABAB

Probability Theory Notable properties of a Probability Space (Ω,,P ):

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and A B

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and A B

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and A B

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and A B

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and

Probability Theory Notable properties of a Probability Space (Ω,,P ): If then and

Probability Theory So where’s this all going? These examples are trivial!

Probability Theory So where’s this all going? These examples are trivial! Suppose there are three bags, B 1, B 2 and B 3, each of which contain a number of coloured balls: B 1 – 2 red and 4 white B 2 – 1 red and 2 white B 3 – 5 red and 4 white A ball is randomly removed from one the bags. The bags were selected with probability: P(B 1 ) = 1/3 P(B 2 ) = 5/12 P(B 3 ) = 1/4 What is the probability that the ball came from B 1, given it is red?

Probability Theory Conditional probability: Partition Theorem: Bayes’ Theorem: If the partition

Random Variables A Random Variable is an object whose value is determined by chance, i.e. random events Maps elements of Ω onto real numbers, with corresponding probabilities as specified by P

Random Variables A Random Variable is an object whose value is determined by chance, i.e. random events Maps elements of Ω onto real numbers, with corresponding probabilities as specified by P Formally, a Random Variable is a function:

Random Variables A Random Variable is an object whose value is determined by chance, i.e. random events Maps elements of Ω onto real numbers, with corresponding probabilities as specified by P Formally, a Random Variable is a function: Probability that the random variable X adopts a particular value x :

Random Variables A Random Variable is an object whose value is determined by chance, i.e. random events Maps elements of Ω onto real numbers, with corresponding probabilities as specified by P Formally, a Random Variable is a function: Probability that the random variable X adopts a particular value x : Shorthand:

Random Variables Example: If the result is heads then WIN - X takes the value 1 If the result is tails then LOSE - X takes the value 0

Random Variables Example: Win £20 on a six, nothing on four/five, lose £10 on one/two/three

Random Variables Example: Win £20 on a six, nothing on four/five, lose £10 on one/two/three Note – we are considering the probabilities of events in

Probability Mass Functions Given a random variable: The Probability Mass Function is defined as: Only for discrete random variables

Probability Mass Functions Example: Win £20 on a six, nothing on four/five, lose £10 on one/two/three

Probability Mass Functions Notable properties of Probability Mass Functions:

Probability Mass Functions Notable properties of Probability Mass Functions: Interesting note: If p() is some function that has the above two properties, then it is the mass function of some random variable…

Mean: For a random variable Probability Mass Functions

Mean: For a random variable

Probability Mass Functions Mean: For a random variable Compare with:

Probability Mass Functions Mean: For a random variable Median: any m such that: and

Probability Mass Functions Mean: For a random variable Median: any m such that: and Mode: : most likely value

Common Discrete Distributions

The Bernoulli Distribution: p : success probability

Common Discrete Distributions The Bernoulli Distribution: p : success probability Example: Therefore

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability : probability of getting x successes out of n trials : probability of x successes : probability of (n-x) failures : number of ways to achieve x successes and (n-x) failures (Binomial coefficient)

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability

Common Discrete Distributions The Binomial Distribution: n : number of independent trials p : success probability

Common Discrete Distributions Example: Number of heads in n fair coin toss trials In general:

Common Discrete Distributions Example: Number of heads in n fair coin toss trials In general: Notice:

Common Discrete Distributions The Poisson Distribution: λ : average number of counts (controls rarity of events) Used to model the number of occurrences of an event that occur within a particular interval of time and/or space

Common Discrete Distributions Want to know the distribution of the number of occurrences of an event Binomial? However, don’t know how many trials are performed – could be infinite! But we do know the average rate of occurrence: The Poisson Distribution:

Common Discrete Distributions Binomial:

Common Discrete Distributions Binomial:

Common Discrete Distributions Binomial: 1 1

Common Discrete Distributions Binomial: 1 1

Common Discrete Distributions Binomial: 1 1 ☐

This is referred to as the: “Poisson Limit Theorem” “Poisson Approximation to the Binomial” “Law of Rare Events” Common Discrete Distributions The Poisson distribution is the Binomial distribution as Ifthen If n is large and p is small then the Binomial distribution can be approximated using the Poisson distribution fixed Poisson is often more computationally convenient than Binomial

References Countless books + online resources! Probability theory and distributions: Grimmett and Stirzker (2001) Probability and Random Processes. Oxford University Press. General comprehensive introduction to (almost) everything mathematics (including a bit of probability theory): Garrity (2002) All the mathematics you missed: but need to know for graduate school. Cambridge University Press.