MATH 20: PROBABILITY Sums of Independent Random Variables - - PowerPoint PPT Presentation

β–Ά
math 20 probability
SMART_READER_LITE
LIVE PREVIEW

MATH 20: PROBABILITY Sums of Independent Random Variables - - PowerPoint PPT Presentation

MATH 20: PROBABILITY Sums of Independent Random Variables Xingru Chen xingru.chen.gr@dartmouth.edu XC 2020 Syllabus Su Sums of Random Va Variables La Law of o La Large N Numbers Ce Central Limit Theorem Ge Generating


slide-1
SLIDE 1

MATH 20: PROBABILITY

Sums

  • f

Independent Random Variables Xingru Chen xingru.chen.gr@dartmouth.edu

XC 2020

slide-2
SLIDE 2

Syllabus

Su Sums

  • f

Random Va Variables La Law

  • f

La Large N Numbers Ce Central Limit Theorem Ge Generating Functions Marko kov Chains

Mon 17 Tue 18 Wed 19 Thu 20 Fri 21 Sat 22 Sun 23 Mon 24 Tue 25 Wed 26 … Sun 30 Quiz Homework (due Fri 28) Quiz Final Quiz

XC 2020

slide-3
SLIDE 3

Example from previous lectures

Two real numbers π‘Œ and 𝑍 are chosen at random and uniformly from [0, 1]. Let π‘Ž = π‘Œ + 𝑍. Please derive expressions for the cumulative distribution and the density function

  • f

π‘Ž.

02

𝑒 𝑒𝑨 𝐺! 𝑨 = 𝑔 𝑨 = β‹―

01

𝐺! 𝑨 = 𝑄 π‘Ž ≀ 𝑨 = β‹― range

  • f

π‘Ž is …

XC 2020

slide-4
SLIDE 4

Sum of independent random variables discrete & continuous

(𝑔 βˆ— 𝑕) 𝑨 = 6

"# $#

𝑔 𝑨 βˆ’ 𝑧 𝑕 𝑧 𝑒𝑧 𝑛% π‘˜ = ;

&

𝑛'(𝑙)𝑛((π‘˜ βˆ’ 𝑙)

co conv nvolu lution

XC 2020

slide-5
SLIDE 5

Sum of discrete random variables

distribution function 𝑛'(𝑦) ra random vari riable le X distribution function 𝑛((𝑧) ra random vari riable le Y

01 01 02 02

ra random vari riable le 𝒂 = 𝒀 + 𝒁 distribu bution

  • n funct

ction

  • n

π’πŸ’(π’œ) in independent

XC 2020

slide-6
SLIDE 6

π‘Ž = π‘Œ + 𝑍

πŸ‘ π’œ βˆ’ πŸ‘ the probability that π‘Ž takes

  • n

the value 𝑨 𝑨 = 1 + (𝑨 βˆ’ 1) 𝑨 = 2 + (𝑨 βˆ’ 2) 𝑨 = 3 + (𝑨 βˆ’ 3) 𝟐 π’œ βˆ’ 𝟐 πŸ’ π’œ βˆ’ πŸ’

XC 2020

slide-7
SLIDE 7

π‘Ž = π‘Œ + 𝑍

πŸ‘ π’œ βˆ’ πŸ‘ the probability that π‘Ž takes

  • n

the value 𝑨 𝑨 = 1 + (𝑨 βˆ’ 1) 𝑨 = 2 + (𝑨 βˆ’ 2) 𝑨 = 3 + (𝑨 βˆ’ 3) 𝟐 π’œ βˆ’ 𝟐 πŸ’ π’œ βˆ’ πŸ’ 𝑄 π‘Ž = 𝑨 = ;

&*"# $#

𝑄 π‘Œ = 𝑙 𝑄(𝑍 = 𝑨 βˆ’ 𝑙)

XC 2020

slide-8
SLIDE 8

Sum of discrete random variables

Β§ Let π‘Œ and 𝑍 be two in independent integer-valued random variables, with distribution functions 𝑛!(𝑦) and 𝑛"(𝑦) respectively. Β§ Then the co convo volut ution of 𝑛!(𝑦) and 𝑛"(𝑦) is the distribution function 𝑛# = 𝑛! βˆ— 𝑛" given by 𝑛# π‘˜ = βˆ‘$ 𝑛!(𝑙)𝑛"(π‘˜ βˆ’ 𝑙), for π‘˜ = β‹― , βˆ’2, βˆ’1, 0, 1, 2, β‹―. Β§ The function 𝑛# 𝑦 is the distribution function

  • f

the random variable π‘Ž = π‘Œ + 𝑍.

XC 2020

slide-9
SLIDE 9

Example

Β§ A die is rolled

  • twice. Let

π‘Œ' and π‘Œ( be the

  • utcomes,

and let 𝑇( = π‘Œ' + π‘Œ( be the sum

  • f

these

  • utcomes.

Β§ Then π‘Œ' and π‘Œ( have the common distribution function: 𝑛 =

' ( % + ,

  • !

" ! " ! " ! " ! " ! "

. Β§ The distribution function

  • f

𝑇( is then the convolution

  • f

this distribution with itself.

XC 2020

slide-10
SLIDE 10

𝑇I = π‘ŒJ + π‘ŒI

𝒍 πŸ’ βˆ’ 𝒍 𝑄 𝑇( = 2 = 𝑛 1 𝑛(1) 𝑄 𝑇( = 3 = 𝑛 1 𝑛 2 + 𝑛 2 𝑛(1) 𝑄 𝑇( = 4 = β‹― 𝒍 πŸ‘ βˆ’ 𝒍 𝒍 πŸ“ βˆ’ 𝒍

XC 2020

slide-11
SLIDE 11

Example 𝑇I = 2,3, β‹― , 12

𝑇( = π‘Œ' + π‘Œ(

𝑇! 𝑄(𝑇!) 2 and 12 1 36 3 and 11 2 36 4 and 10 3 36 5 and 9 4 36 6 and 8 5 36 7 6 36

XC 2020

slide-12
SLIDE 12

Sum of π‘œ discrete random variables

in independent random varia iables

π‘»πŸ π‘»πŸ‘ π‘»πŸ’ β‹― 𝑻𝒐

π‘Œ' + π‘Œ( + β‹― + π‘Œ. 𝑻𝒐 π’€πŸ π‘»πŸ + π’€πŸ‘ π‘»πŸ‘ + π’€πŸ’ β‹― 𝑻𝒐"𝟐 + 𝒀𝒐

XC 2020

slide-13
SLIDE 13

𝑇O = π‘ŒJ + π‘ŒI + π‘ŒO = 𝑇I + π‘ŒO

𝑄 𝑇" = 3 = 𝑄 𝑇! = 2 𝑄(π‘Œ" = 1) 𝑄 𝑇" = 4 = 𝑄 𝑇! = 2 𝑄 π‘Œ" = 2 + 𝑄 𝑇! = 3 𝑄(π‘Œ" = 1) 𝑄 𝑇" = 5 = β‹―

XC 2020

slide-14
SLIDE 14

Bell-shaped curve

π‘œ β†’ ∞ 𝑄(𝑇.) β†’ β‹― Ce Central Limit Theorem

XC 2020

slide-15
SLIDE 15

The convolution of two binomial distributions

Ra Random vari riable le 𝒂 Ra Random vari riable le 𝒀 binomial distribution parameters: 𝑛 and π‘ž Ra Random vari riable le 𝒁 binomial distribution parameters: π‘œ and π‘ž 01 01 02 02

XC 2020

slide-16
SLIDE 16

The convolution of two binomial distributions

Ra Rando dom variable le 𝒂 binomial distribution parameters: 𝑛 + π‘œ and π‘ž

Ra Random vari riable le 𝒀 binomial distribution parameters: 𝑛 and π‘ž Ra Random vari riable le 𝒁 binomial distribution parameters: π‘œ and π‘ž 01 01 02 02

XC 2020

slide-17
SLIDE 17

The convolution of 𝑙 geometric distributions

co common pa paramet eter er 𝒒

π‘»πŸ π‘»πŸ‘ π‘»πŸ’ β‹― 𝑻𝒍

π‘Œ' + π‘Œ( + β‹― + π‘Œ& 𝑻𝒍 π’€πŸ π‘»πŸ + π’€πŸ‘ π‘»πŸ‘ + π’€πŸ’ β‹― 𝑻𝒍"𝟐 + 𝒀𝒍

XC 2020

slide-18
SLIDE 18

co common pa paramet eter er 𝒒

π‘»πŸ π‘»πŸ‘ π‘»πŸ’ β‹― 𝑻𝒍

π‘Œ' + π‘Œ( + β‹― + π‘Œ& 𝑻𝒍 π’€πŸ π‘»πŸ + π’€πŸ‘ π‘»πŸ‘ + π’€πŸ’ β‹― 𝑻𝒍"𝟐 + 𝒀𝒍 π‘Œ3: the number

  • f

trials up to and including the the first succe ccess 𝑇4: β‹―

XC 2020

slide-19
SLIDE 19

co common pa paramet eter er 𝒒

π‘»πŸ π‘»πŸ‘ π‘»πŸ’ β‹― 𝑻𝒍

π‘Œ' + π‘Œ( + β‹― + π‘Œ& 𝑻𝒍 π’€πŸ π‘»πŸ + π’€πŸ‘ π‘»πŸ‘ + π’€πŸ’ β‹― 𝑻𝒍"𝟐 + 𝒀𝒍 π‘Œ3: the number

  • f

trials up to and including the the first succe ccess 𝑇4: the number

  • f

trails up to and include the 𝑙th successes

negative binomial distribution parameters: 𝑙 and π‘ž

XC 2020

slide-20
SLIDE 20

Sum of continuous random variables

density function 𝑔(𝑦) ra random vari riable le X density function 𝑕(𝑧) ra random vari riable le Y

01 01 02 02

ra random vari riable le 𝒂 = 𝒀 + 𝒁 density funct ction

  • n

π’Š(π’œ) in independent

XC 2020

slide-21
SLIDE 21

π‘Ž = π‘Œ + 𝑍

the probability that π‘Ž takes

  • n

the value 𝑨 𝑨 = 1 + (𝑨 βˆ’ 1) 𝑨 = 2 + (𝑨 βˆ’ 2) 𝑨 = 3 + (𝑨 βˆ’ 3)

di discrete

XC 2020

slide-22
SLIDE 22

π‘Ž = π‘Œ + 𝑍

the probability that π‘Ž takes

  • n

the value 𝑨 𝑨 = 𝑏 + (𝑨 βˆ’ 𝑏) 𝑨 = 𝑐 + (𝑨 βˆ’ 𝑐) 𝑨 = 𝑑 + (𝑨 βˆ’ 𝑑)

co continuous

XC 2020

slide-23
SLIDE 23

Convolution

Β§ Let π‘Œ and 𝑍 be two continuous random variables with density functions 𝑔(𝑦) and 𝑕(𝑧), respectively. Β§ Assume that both 𝑔(𝑦) and 𝑕(𝑧) are defined for all real numbers. Β§ Then the con convol

  • lution
  • n 𝑔 βˆ— 𝑕 of

𝑔 and 𝑕 is the function given by (𝑔 βˆ— 𝑕) 𝑨 = ∫

"# $#𝑔 𝑨 βˆ’ 𝑧 𝑕 𝑧 𝑒𝑧.

𝑨 = 𝑦 + 𝑧

XC 2020

slide-24
SLIDE 24

Sum of continuous random variables

Β§ Let π‘Œ and 𝑍 be two in independent random variables with density functions 𝑔

5(𝑦) and

𝑔

6 𝑧

defined for all 𝑦. Β§ The the sum π‘Ž = π‘Œ + 𝑍 is a random variable with density function 𝑔

!(𝑨),

where 𝑔

! is

the convolution

  • f

𝑔

5 and

𝑔

6.

𝑔

! 𝑨 = (𝑔 5 βˆ— 𝑔 6) 𝑨 = ∫ "# $#𝑔 5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧.

𝑨 = 𝑦 + 𝑧

XC 2020

slide-25
SLIDE 25

Example 1: uniform

Β§ Suppose we choose independently two numbers at random from the interval [0, 1] with uniform probability density. Β§ What is the density

  • f

their sum? Un Unifor

  • rm

distribu bution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 = Y1,

0 ≀ 𝑦 ≀ 1 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

XC 2020

slide-26
SLIDE 26

Example 1: uniform

Un Unifor

  • rm

distribu bution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 = Y1,

0 ≀ 𝑦 ≀ 1 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

𝑔

! 𝑨 = 6 7 '

𝑔

5 𝑨 βˆ’ 𝑧 𝑒𝑧

XC 2020

slide-27
SLIDE 27

Example 1: uniform

Un Unifor

  • rm

distribu bution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 = Y1,

0 ≀ 𝑦 ≀ 1 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

𝑔

! 𝑨 = 6 7 '

𝑔

5 𝑨 βˆ’ 𝑧 𝑒𝑧

0 ≀ 𝑨 βˆ’ 𝑧 ≀ 1, 𝑨 βˆ’ 1 ≀ 𝑧 ≀ 𝑨 𝟏 ≀ π’œ ≀ 𝟐 𝑔

! 𝑨 = 6 7 8

𝑒𝑧 = 𝑨 𝟐 ≀ π’œ ≀ πŸ‘ 𝑔

! 𝑨 = 6 8"' '

𝑒𝑧 = 2 βˆ’ 𝑨

XC 2020

slide-28
SLIDE 28

Example 1: uniform

Un Unifor

  • rm

distribu bution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 = Y1,

0 ≀ 𝑦 ≀ 1 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

𝑔

! 𝑨 = 6 7 '

𝑔

5 𝑨 βˆ’ 𝑧 𝑒𝑧

𝑔

! 𝑨 = d

𝑨, 0 ≀ 𝑨 ≀ 1 2 βˆ’ 𝑨, 1 ≀ 𝑨 ≀ 2 0.

  • therwise

XC 2020

slide-29
SLIDE 29

Example 2: exponential

Β§ Suppose we choose two numbers at random from the interval 0, ∞ with an exponential density with parameter πœ‡. Β§ What is the density

  • f

their sum? Ex Exponen ential al di distribution 𝑔

5 𝑦 = 𝑔 6 𝑦 = Yπœ‡π‘“"9:,

𝑦 β‰₯ 0 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

XC 2020

slide-30
SLIDE 30

Example 2: exponential

Ex Exponen ential al di distribution 𝑔

5 𝑦 = 𝑔 6 𝑦 = Yπœ‡π‘“"9:,

𝑦 β‰₯ 0 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

𝑔

! 𝑨 = 6 7 8

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

XC 2020

slide-31
SLIDE 31

Example 2: exponential

Ex Exponen ential al di distribution 𝑔

5 𝑦 = 𝑔 6 𝑦 = Yπœ‡π‘“"9:,

𝑦 β‰₯ 0 0.

  • therwise

𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

𝑔

! 𝑨 = 6 7 8

πœ‡π‘“"9(8"<)πœ‡π‘“"9<𝑒𝑧 = 6

7 8

πœ‡(𝑓"98𝑒𝑧 = πœ‡(𝑨𝑓"98 𝑔

! 𝑨 = Yπœ‡(𝑨𝑓"98,

𝑨 β‰₯ 0 0.

  • therwise

XC 2020

slide-32
SLIDE 32

Example 3: normal

Β§ Suppose π‘Œ and 𝑍 are two independent random variables, each with the standard normal density. Β§ What is the density

  • f

their sum? Nor Norma mal distribution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 =

1 2𝜌 𝑓":#/( 𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

XC 2020

slide-33
SLIDE 33

Example 3: normal

Nor Norma mal distribution

  • n

𝑔

5 𝑦 = 𝑔 6 𝑦 =

1 2𝜌 𝑓":#/( 𝑔

! 𝑨 = 6 "# $#

𝑔

5 𝑨 βˆ’ 𝑧 𝑔 6 𝑧 𝑒𝑧

= 1 2𝜌 6

"# $#

𝑓"(8"<)#/(𝑓"<#/(𝑒𝑧 = 1 4𝜌 𝑓"8#/+

XC 2020

slide-34
SLIDE 34

Sum of Two Independent Normal Random Variables 𝒂 = 𝒀 + 𝒁

convolution § Means: 𝜈# and 𝜈! § Variances: 𝜏#

! and

𝜏!

!

Normal + Normal = Normal § Means: 𝜈# + 𝜈! § Variances: 𝜏#

! + 𝜏! !

XC 2020

slide-35
SLIDE 35

Sum of Two Independent Random Variables (quiz)

XC 2020

slide-36
SLIDE 36

Sum of Two Independent Random Variables

XC 2020