applied probability lecture 3 rajeev surati. agenda statistics pmfs –conditional pmfs –examples...

14
Applied Probability Lecture 3 Rajeev Surati

Upload: alexia-west

Post on 13-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Applied Probability Lecture 3

Rajeev Surati

Page 2: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Agenda

• Statistics• PMFs

– Conditional PMFs

– Examples

– More on Expectations

• PDFs– Introduction

– Cumalative Density Functions

– Expectations, variances

Page 3: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Statistics

If the number of citizens in a city goes up should the electric load go up?

Page 4: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Statistics

• Statistically I can show that in Tucson Arizona the electric load goes up when the number of people goes down when people leave at the end of the winter

• Does that mean that people leaving caused the rise?

• The missing variable is temperature

Page 5: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Probability Mass Functions

• Consider which equals probability that the values of x,y are and is often called the compound p.m.f.

and vis a vis.

),( 00, yxp yx

00 , yx

)(),(0

000, x

yyx ypyxp

Page 6: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

An example

• Show the pmf for p(r,h) of three coin flips, where length of longest run r and # of heads h

• Show that you can derive a distribution

• Expected value and variance of r

Page 7: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Conditional PMF

• and independence

Implies for all x and y

Example: derive PMFs

)(

),()|(

0

00,00| yp

yxpyxp

y

yxyx

)()(),( 0000, ypxpyxp yxyx

Page 8: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Expectations continued

Expectation of g(x,y)

Compute E(x+y)

Compute

),(),()),(( 00,00

0 0

yxpyxgyxgE yxx y

)))((( 2xExE

)))((( 2yxEyxE

Page 9: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

One last PMF Example

• Bernoulli Trial 1 if heads, 0 if tails

• Compute expected value and variance

• Compute expected value and variance of the sum of n such bernoulli trials

Page 10: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Probability Density Function

• Here we are dealing with describing a set of points over a continuous range. Since the number of points is infinite we discuss densitiies rather than “masses” or rather PMFs are just PDFs with impulse functions at each discrete point in the PMF domain.

0

00)(

xx

xxx

0

0

1

0)(

0

xx

xxx

x

Page 11: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Same old set of rules except…

1)( xp

0

)()(Pr)( 000

x

xx xfxxobxp

0)( xp

)()()(Pr apbpbxaob xx

)())((

00

0 xfdx

xpdx

x

Page 12: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

Some Example Events

• X<= 2

• 1 <= x <= 10

Page 13: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density

An Example

• Exponential pdf

Page 14: Applied Probability Lecture 3 Rajeev Surati. Agenda Statistics PMFs –Conditional PMFs –Examples –More on Expectations PDFs –Introduction –Cumalative Density