20
LECTURE 8: Continuous random variables and probability density functions Probability density functions Properties Examples Expectation and its properties The expected value rule Linearity • Variance and its properties Uniform and exponential random variables Cumulative distribution functions Normal random variables - Expectation and variance Linearity properties - Using tables to calculate probabilities

LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

LECTURE 8: Continuous random variables and probability density functions

• Probability density functions

Properties

Examples

• Expectation and its properties

The expected value rule

Linearity

• Variance and its properties

• Uniform and exponential random variables

• Cumulative distribution functions

• Normal random variables

- Expectation and variance

Linearity properties

- Using tables to calculate probabilities

Page 2: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

P obab· -ty dens·ty fi nctions (PDFs)

( . ) ~ ~

,_ ,...

P(a ~ X ~ b) = L Px(x) X '. a<x<b

(a< X < b) - .lb fx(x) dx

Px(x) > 0 LPx(x) -1 ,x

fx(x) > O J:! (x)dx 1

Defin .. tion: A random variable is co t1nuous f - ca be escr· ed by a 1p F

Page 3: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

P obab· -ty dens·ty fi nctions (PDFs)

P(a < X < a+ l)) ~ f x(a) · 8

P(X =a)= 0

P(a < < b) - .lb fx(x) dx

fx(x) >

J:Jx(x)dx -

Page 4: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment
Page 5: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

' ( ) ~ '

·-~

E[X] - Lxpx(x) X

E[X ' - J:xfx(x)dx

• In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Fine print:

Assume J: lxl f x(x) dx < oo

Page 6: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

P oper -es of expectations

• If X > . then E[X] >

• If a < X < b, t en a < [X] < b

• Expected value rule:

E[g(X)] = Lg(x)px(x) [g(X) - J:g(x fx(x) dx

X

• Linearity E aX + b = aE [ ] b

Page 7: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

• Definit·on o variance: var(X) - E[(X - µ) 2 1

• Calcu ation us·ng he expected value rule, E g(X)] - 1-:g(x)fx(x) dx

var(X)

Standard deviation: ax = ✓var(X)

var(a b) = a2var(X)

A useful formula: var(X) - E x 2 - ( [X] 2

Page 8: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment
Page 9: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Exponent-a random va -able: pa ameter A > o

fx(x) = ' -AX AB ,

0,

0

var( )

x>O x<O

fx

1

123456789 k

Page 10: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment
Page 11: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

C mu ative d-stribut-on unction (CD )

Px(k) -~ 1/2

CDF defin- ion· x(x) - P(X < x) 1/4 1/4

• Discre e random va ·ables. 1 2 3 4 k

k<x Fx(x)

1 2 3 4 X

Page 12: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

General CDF properties

Fx(x) = P(X < x)

• Non-decreasing

• Fx(x) tends to 1, as x---+ oo

• Fx(x) tends to 0, as x---+ -oo

Page 13: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Norma (Gaussian) random variables

• Important in the theory of probability

- Central limit theorem

• Prevalent in applications

- Convenient analytical properties

- Model of noise consisting of many, small independent noise terms

Page 14: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Standard normal (Gaussian) random variables

• Standard normal N(O, 1): fx(x) = ~e-x2

/2

21r

• E[X] =

• var(X) = 1

Page 15: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

General normal (Gaussian) random va,riables

• General normal N(µ,u 2 ): fx(x) = ~e - (x - µ)2 / 2a2

a 21r

• E[X] -

• var(X) = u 2

-1 I

Page 16: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Linea unctio s of a norm I andom vari e

• Let Y - aX b X rv N(µ,a 2 )

EY -

Var(Y) =

• Fact (will prove later i th·s course):

Y rv N(aµ b, a2 a 2 )

• Special case: a= O?

Page 17: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Sta 1 da d no ma ta es

• No closed form avai able for CD

but have ables, for the standard normal I. o.-

..

. 1

I I

2

Page 18: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Standardizing a random variable

• Let X have mean µ and variance u 2 > O

• Let Y = _X_-_ µ a

• If also X is normal, then:

Page 19: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

Cale lat- g no ma pro ab· -t-es

• Express an event of ·nterest in erms of standard no mal

I. o.-

..

. 1

I I

2

Page 20: LECTURE 8: Continuous random variables and probability ... · E[X] - Lxpx(x) X E[X ' - J:xfx(x)dx • In erpretation. Average 1n arge number of indepe dent repetitions of the experiment

MIT OpenCourseWare https://ocw.mit.edu

Resource: Introduction to Probability John Tsitsiklis and Patrick Jaillet

The following may not correspond to a particular course on MIT OpenCourseWare, but has been provided by the author as an individual learning resource.

For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.