Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] P[AB] = P(AB)

Similar documents
Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable

Introduction to Probability and Stocastic Processes - Part I

Why study probability? Set theory. ECE 6010 Lecture 1 Introduction; Review of Random Variables

Lecture Notes 1 Probability and Random Variables. Conditional Probability and Independence. Functions of a Random Variable

A Probability Primer. A random walk down a probabilistic path leading to some stochastic thoughts on chance events and uncertain outcomes.

EE4601 Communication Systems

Probability and Probability Distributions. Dr. Mohammed Alahmed

UNIT Explain about the partition of a sampling space theorem?

Chapter 3: Random Variables 1

Probability: Why do we care? Lecture 2: Probability and Distributions. Classical Definition. What is Probability?

Quick Tour of Basic Probability Theory and Linear Algebra

Lecture 2: Probability and Distributions

Counting principles, including permutations and combinations.

Chapter 3, 4 Random Variables ENCS Probability and Stochastic Processes. Concordia University

The random variable 1

Deep Learning for Computer Vision

Algorithms for Uncertainty Quantification

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

Recitation 2: Probability

PROBABILITY VITTORIA SILVESTRI

Chap 2.1 : Random Variables

MA/ST 810 Mathematical-Statistical Modeling and Analysis of Complex Systems

Lecture 2: Discrete Probability Distributions

Chapter 3: Random Variables 1

Lecture 16. Lectures 1-15 Review

Lecture 2: Repetition of probability theory and statistics

SDS 321: Introduction to Probability and Statistics

Brief Review of Probability

Origins of Probability Theory

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Probability reminders

PROBABILITY. Contents Preface 1 1. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8. Preface

Relationship between probability set function and random variable - 2 -

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Probability Review. Yutian Li. January 18, Stanford University. Yutian Li (Stanford University) Probability Review January 18, / 27

Chapter 2. Probability

Lecture 1. Chapter 1. (Part I) Material Covered in This Lecture: Chapter 1, Chapter 2 ( ). 1. What is Statistics?

Chapter 2 Random Variables

Chapter 1 Statistical Reasoning Why statistics? Section 1.1 Basics of Probability Theory

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Basics on Probability. Jingrui He 09/11/2007

G.PULLAIAH COLLEGE OF ENGINEERING & TECHNOLOGY DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING PROBABILITY THEORY & STOCHASTIC PROCESSES

Probability and Distributions

Chapter 2: Random Variables

Statistical Inference

Discrete Probability

Dept. of Linguistics, Indiana University Fall 2015

Topic 2: Probability & Distributions. Road Map Probability & Distributions. ECO220Y5Y: Quantitative Methods in Economics. Dr.

Northwestern University Department of Electrical Engineering and Computer Science

Part IA Probability. Theorems. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Chapter 7: Theoretical Probability Distributions Variable - Measured/Categorized characteristic

2. AXIOMATIC PROBABILITY

ACM 116: Lecture 2. Agenda. Independence. Bayes rule. Discrete random variables Bernoulli distribution Binomial distribution

Probability Theory. Introduction to Probability Theory. Principles of Counting Examples. Principles of Counting. Probability spaces.

Probabilistic models

CSE 312 Final Review: Section AA

1 INFO Sep 05

1 Random Variable: Topics

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

Appendix A : Introduction to Probability and stochastic processes

Measure-theoretic probability

Week 2. Review of Probability, Random Variables and Univariate Distributions

Brief Review of Probability

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Analysis of Engineering and Scientific Data. Semester

Binomial and Poisson Probability Distributions

System Simulation Part II: Mathematical and Statistical Models Chapter 5: Statistical Models

Introduction to Information Entropy Adapted from Papoulis (1991)

ECE 302: Probabilistic Methods in Electrical Engineering

Topic 3: Introduction to Probability

Bioinformatics: Biology X

Chapter 2. Random Variable. Define single random variables in terms of their PDF and CDF, and calculate moments such as the mean and variance.

With Question/Answer Animations. Chapter 7

1 Presessional Probability

7.1 What is it and why should we care?

ISyE 6739 Test 1 Solutions Summer 2015

Probability Theory and Random Variables

3. Review of Probability and Statistics

Chapter 2: The Random Variable

STAT 302 Introduction to Probability Learning Outcomes. Textbook: A First Course in Probability by Sheldon Ross, 8 th ed.

Unit II. Page 1 of 12

PROBABILITY DISTRIBUTIONS: DISCRETE AND CONTINUOUS

Chapter 1. Sets and probability. 1.3 Probability space

ECE 302 Division 2 Exam 2 Solutions, 11/4/2009.

Econ 325: Introduction to Empirical Economics

Bivariate distributions

Examples of random experiment (a) Random experiment BASIC EXPERIMENT

Data, Estimation and Inference

Lecture 4: Random Variables and Distributions

PROBABILITY.

2.6 Tools for Counting sample points

Twelfth Problem Assignment

Bandits, Experts, and Games

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

Chapter 2: Probability Part 1

Continuous Distributions

Random Variable And Probability Distribution. Is defined as a real valued function defined on the sample space S. We denote it as X, Y, Z,

BMIR Lecture Series on Probability and Statistics Fall, 2015 Uniform Distribution

Statistics for Economists. Lectures 3 & 4

Chapter 2 PROBABILITY SAMPLE SPACE

Transcription:

1 16.584: Lecture 2 : REVIEW Given a experiment with outcomes in sample space: Ω Probability measure applied to subsets of Ω: P[A] 0 P[A B] = P[A] + P[B] if AB = P[A B] = P[A] + P[B] P[AB] P[A] = 1 P[A c ] Conditional Probability Total Probability P(A B) = P(A B) P(B) = P(AB) P(B) (1) P(B) = P(B A 1 )P(A 1 ) + P(B A 2 )P(A 2 ) +...P(B A n )P(A n ) (2)

2 Independence P(AB) = P(A)P(B) Bayes Theorem A i i = 1,...n : set of disjoint and exhaustive events and P(A i ) 0 n i=1a i = Ω A i A j =. B any event with P(B) > 0 P(A j B) = P(B A j )P(A j ) n i=1 P(B A i )P(A i ) (3) P[A j B]: Posteriori probability of A j given B P[B A j ]: Apriori probability of B given A j P[A j ]: Causal or apriori probability of A j

3 Examples A box contains 6 red pens and 4 black pens. Assume each pen is equally likely to be chosen. Take two pens from the box, one after the other. What is the probability both pens are black? There are two kids named X and Y in a room. (a) What is the probability both are boys? (b) What is the probability both are boys given that at least one of them is a boy? Item Z is manufactured by two companies :X and Y. X produces twice as many items produced by Y. 20% of Z supplied from X is defective. 5% of Z supplied from Y is defective. What is the probability that a randomly chosen Z is not defective. (b) If Z is defective what is probability it came from Y?

4 More Problems 1. A RNG generates integers from 1 to 9 (inclusive). All outcomes are equally likely and each integer is generated independently of any previous integer. Let Σ = N 1 + N 2 where N 1 and N 2 are two consecutively generated integers. (a) If it is known that Σ is an odd number, what is the conditional probability of Σ = 7? (b) If Σ > 10, what is the probability that at least one of the integers is > 7? (c) If N 1 > 8 what is the conditional probability that Σ will be odd? 2. An automatic breathing apparatus (B) used in anesthesia fails with probability P B. A failure means death to the patient unless a monitor system M detects the failure and alerts the physician. The monitor fails with probability P M. The failure of these two systems are independent events. A doctor argues that if P M > P B the installation of M is useless. Considering P M = 0.1 = 2P B, determine the probability of a patient dying with and without the monitor system in place.

5 Permutations Count number of ways a particular event in an experiment can occur. Enumerate all possible ways : Brute Force Approach : Tedious as number of elementary outcomes increase Apply a general mathematical approach under appropriate assumptions Consider the ordered arrangement of n elements of a set A First element can be chosen n different ways Second element can be chosen n 1 different ways Total number of ways (or arrangements): n (n 1) (n 2)...1 = n! (n factorial) Permutation of n objects taken from n different outcomes : n P n

6 r-permutation r Permutation of set A: Permutation of r objects taken from n different elements: n P r where r n. np r = (n) (n 1) (n 2) (n (r 1)) = n(n 1)(n 2)...(n r + 1) (n)(n 1)...(1) = (n r) (n r 1)...1 n! = (n r)! Assumption: All n objects are different and there is no replacement of the object If object replaced: number of ways of permuting r objects : n r

7 Combinations Selection/Arrangement of objects without regard to order Number of ways r objects selected from n with order : n P r Number of ways r objects can be arranged: r! Combinations of n objects taken r at a time: n C r or ( ) n r n C r = n P r n! r! = (n r)! r! ( n r ) : Binomial Coefficients Other Notations: C n k Example: Let set A : (a, b, c) Find number of ordered permutations of A Find 2 permutation of A

8 Permutations of n non-unique objects If one element is repeated r times : It can be selected r! ways Number of permutations n P n reduced to n! r! In general if object i repeated n i times : n 1 + n 2 where k is the number of unique objects Permutations of n objects: n! n 1! n 2! n 3!...n k! Stirling s Formula n! n n e n 2πn lim n n! n n e n 2πn = 1 + n k = n

9 Examples: A license plate is denoted by LLNNN, where L is a letter and N is a digit. It is required that the first digit be greater than zero. Find probability of a license plate with two vowels (a,e,i,o,u) and three identical digits. Consider the set of elements (1, 2, 3, 4, 5). What are the number of ways of forming 4 digit sequences, assuming repetitions are allowed. What is the probability of a sequence with no repeated digits? Consider five people denoted (a, b, c, d, e) arranged in a line. What is the probability that a and b will be adjacent? Consider four pairs of people. Each pair composed of (1M, 1F). Form a committee of three people. (a) How many committees possible? (b) If committee must have (2F, 1M), how many possible combinations exist. (c) If the committee must consist of only one person (either M or F) per pair, how many such combinations can be formed?

10 How may ways can you choose six people from a group of 7 men and 8 women with the constraint there are atleast 3 W and atleast 2 M in the group. (b) What is the probability of a random selection of 3M and 3W?

11 Bernoulli Trials Consider an experiment where outcomes : success or failure : Ω : (S, F) Probability of a success : p Probability of a failure : q = 1 p Conduct the experiment n times : n Trials The sample space for n trials consists of 2 n number of possible outcomes Each outcome is of length n and made up of a random sequence of SSSFFSS..S Assuming that successive outcomes of S or F are independent Then: Pr[SSSFSS] = pppqpp = p 5 q 1 : Probab of 5 successes and 1 failure for n = 6 But there are other combinations of S/F where 5 successes and 1 failure can occur

12 Bernoulli Contd. Number of ways k successes and n k failures can occur: ( n Prob[k successes;n] = ( ) n k p k q (n k) Union operation Note that order in which successes or failures occur is not considered here Bernoulli Trials: Binomial Probability Law : b(k;n;p) = ( ) n p k q (n k) Probabilities: b(k;n;p) = ( ) n k p k q (n k) k = 0, 1, 2..n n k=0 b(k;n;p) = 1 k k )

13 Note: Coefficent C n k : Binomial Coefficient. Binomial Theorem (a + x) n = = + n 0) a n + n 1 a n 1 x +... n n 1 ax n 1 + n n x n Probability b(k;n;p) is (k + 1) th coefficient of (q + p) n.

14 Random Variables and Probability Distributions Outcomes of a random experiment are not necessarily numerical values To facilitate mathematical analysis outcomes are mapped to a random variable (RV) X RV X is function that maps outcome of Ω onto a number on the real line R. For an outcome ω Ω, the RV X : Ω R Generate a new sample space on the R Events of the original probability space replaced by events which are sets of numbers. Every event of Ω is a subset of R Not necessary that every subset of R is always an event

15 RV s Contd. Subsets of Practical Interest [x = a] [x : a x b] [x : a < x b] [x : a x < b] [x : a < x < b] and their unions and intersections. Representations : [a], [a,b], (a,b], [a,b) and (a,b).

16 SUMMARY Let Ω be outcomes of experiment H Elements of Ω are ζ. To every ζ assign a real number X(ζ) Domain of the function X is Ω and its range is R Every ζ generates a specific X(ζ) For a particular X(ζ) there may be more than one ζ that generates it. RV s may be Continuous or Discrete

17 Cumulative Probability Distribution Functions (PDF/CDF) RV X is continuous valued: F X (x) = = Pr[X (, x)] = Pr[X x] (4) Representations: P[X x] P[a < X b]. Properties F X ( ) = 1 F X ( ) = 0. F X (x) is a non-decreasing function of x. F X (x) is continuous from the right i.e. F X (x) = lim ǫ 0 F X (x + ǫ) ǫ > 0

18 If point (a) or (b) are discontinuities P[a X b] = F X (b) F X (a) + P[X = a] P[a < X < b] = F X (b) P[X = b] F X (a) P[a X < b] = F X (b) P[X = b] F X (a) + P[X = a] At continuous points x Pr[X = x] = 0

19 Probability Density Function (pdf) If F X (x) is continuous and differentiable, then the pdf f X (x) = df X(x) dx The properties of the pdf: f X (x) 0 f X (ζ)dζ = 1 = [F X ( ) F X ( )] F X (x) = P(X x) = x f X (ζ)dζ (5) F X (x 2 ) F X (x 1 ) = x 2 f X(ζ)dζ x 1 f X(ζ)dζ = x 2 x 1 f X (ζ)dζ = P[x 1 < X x 2 ]

20 Interpret f X (x) Since P[x < X x + x] = F X (x + x) F X (x) If F X (x) is continuous in its first derivative then, as x 0 F X (x + x) F X (x) = x+ x x f(ζ)dζ = f X (x) x (6) f X (x) x = F X (x + x) F X (x)

21 Examples of some Distributions (univariate) Normal (Gaussian) pdf N(µ,σ 2 ) f X (x) = Mean µ and variance σ 2. 1 2πσ 2 e 1 2σ 2 [(x µ) 2 ] (7) The mean and variance can be computed given the pdf as : µ = xf X(x)dx (8) σ 2 = (x µ)2 f X (x)dx (9)

22 Standard Normal Distribution : N(0, 1) Given X : N(µ, σ 2 ) to determine P(a < X b), require integral P(a < X b) = 1 2πσ 2 b a e 1 2σ 2 [(x µ) 2 ] dx (10) Using the transformations β = x µ σ d β = dx σ where ã = (a µ) σ b = (b µ) σ P(a < X b) = 1 2π b ã e 1 2 x2 dx (11)

23 The error function P(a < X b) = 1 2π b 0 e 1 2 x2 dx 1 2π ã 0 e 1 2 x2 dx (12) erf(x) = 1 2π x 0 e 1 2 t2 dt (13) is tabulated and can be calculated using upper and lower bound approximations.

24 Uniform distribution function f X (x) = Rayleigh Distribution 1 b a a < x < b (14) Exponential PDF f X (x) = x σ 2e x2 2σ 2 u(x) σ > 0 (15) f X (x) = 1 µ e x/µ u(x) (16) where µ > 0 and represents the avg rate of occurrence of events. Laplacian PDF f X (x) = c 2 e c x c > 0 (17)