Review of Probability Theory

26
1 Review of Probability Theory [Source: Stanford University]

description

Review of Probability Theory. [Source: Stanford University]. Random Variable. A random experiment with set of outcomes Random variable is a function from set of outcomes to real numbers. Example. Indicator random variable: A : A subset of is called an event. CDF and PDF. - PowerPoint PPT Presentation

Transcript of Review of Probability Theory

Page 1: Review of Probability Theory

1

Review of Probability Theory

[Source: Stanford University]

Page 2: Review of Probability Theory

2

A random experiment with set of outcomes

Random variable is a function from set of outcomes to real numbers

Random Variable

Page 3: Review of Probability Theory

3

Example

Indicator random variable:

A : A subset of is called an event

Page 4: Review of Probability Theory

4

CDF and PDF Discrete random variable:

The possible values are discrete (countable)

Continuous random variable: The rv can take a range of values in R

Cumulative Distribution Function (CDF):

PDF and PMF:

Page 5: Review of Probability Theory

5

Expectation and higher moments

Expectation (mean):

if X>0 :

Variance:

Page 6: Review of Probability Theory

6

Two or more random variables

Joint CDF:

Covariance:

Page 7: Review of Probability Theory

7

Independence

For two events A and B:

Two random variables

IID : Independent and Identically Distributed

Page 8: Review of Probability Theory

8

Useful Distributions

Page 9: Review of Probability Theory

9

Bernoulli Distribution

The same as indicator rv:

IID Bernoulli rvs (e.g. sequence of coin flips)

Page 10: Review of Probability Theory

10

Binomial Distribution Repeated Trials:

Repeat the same random experiment n times. (Experiments are independent of each other)

Number of times an event A happens among n trials has Binomial distribution (e.g., number of heads in n coin tosses, number of arrivals in n time

slots,…)

Binomial is sum of n IID Bernoulli rvs

Page 11: Review of Probability Theory

11

Mean of Binomial

Note that:

Page 12: Review of Probability Theory

12

1 2 3 4 5 6 7 8 9 10 11 120

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

0.45

Binomial - Example

n=4

n=40

n=10

n=20

p=0.2

Page 13: Review of Probability Theory

13

Binomial – Example (ball-bin)

There are B bins, n balls are randomly dropped into bins.

: Probability that a ball goes to bin i : Number of balls in bin i after n drops

Page 14: Review of Probability Theory

14

Multinomial Distribution Generalization of Binomial Repeated Trails (we are interested in

more than just one event A) A partition of into A1,A2,…,Al

Xi shows the number of times Ai occurs

among n trials.

Page 15: Review of Probability Theory

15

Poisson Distribution

Used to model number of arrivals

Page 16: Review of Probability Theory

16

0 5 10 150

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

0.45

0.5

Poisson Graphs

=10

=.5

=1

=4

Page 17: Review of Probability Theory

17

Poisson as limit of Binomial

Poisson is the limit of Binomial(n,p) as

Let

Page 18: Review of Probability Theory

18

0 1 2 3 4 5 6 7 8 9 100

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

Poisson and Binomial

Poisson(4)

n=5,p=4/5

n=20, p=.2

n=10,p=.4

n=50,p=.08

Page 19: Review of Probability Theory

19

Geometric Distribution

Repeated Trials: Number of trials till some event occurs

Page 20: Review of Probability Theory

20

Exponential Distribution

Continuous random variable Models lifetime, inter-arrivals,…

Page 21: Review of Probability Theory

21

Minimum of Independent Exponential rvs

: Independent Exponentials

Page 22: Review of Probability Theory

22

Memoryless property

True for Geometric and Exponential Dist.:

The coin does not remember that it came up tails l times

Root cause of Markov Property.

Page 23: Review of Probability Theory

23

Proof for Geometric

Page 24: Review of Probability Theory

24

Moment Generating Function (MGF) For continuous rvs (similar to Laplace

transform)

For Discrete rvs (similar to Z-transform):

Characteristic Function

Page 25: Review of Probability Theory

25

Characteristic Function

Can be used to compute mean or higher moments:

If X and Y are independent and T=X+Y

Page 26: Review of Probability Theory

26

Useful CFs

Bernoulli(p) :

Binomial(n,p) :

Multinomial:

Poisson: