MATH 20: PROBABILITY Expected Value of Discrete Random - - PowerPoint PPT Presentation

โ–ถ
math 20 probability
SMART_READER_LITE
LIVE PREVIEW

MATH 20: PROBABILITY Expected Value of Discrete Random - - PowerPoint PPT Presentation

MATH 20: PROBABILITY Expected Value of Discrete Random Variables Xingru Chen xingru.chen.gr@dartmouth.edu XC 2020 Important Distributions Hypergeometric Discrete Uniform Distribution Distribution = 1 $ &"$ %


slide-1
SLIDE 1

MATH 20: PROBABILITY

Expected Value

  • f

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

XC 2020

slide-2
SLIDE 2

Important Distributions

๐‘› ๐œ• = 1 ๐‘œ

Discrete Uniform Distribution

๐‘„ ๐‘ˆ = ๐‘œ = ๐‘Ÿ!"#๐‘ž

Geometric Distribution

๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž$๐‘Ÿ!"$

Binomial Distribution

โ„Ž ๐‘‚, ๐‘™, ๐‘œ, ๐‘ฆ =

$ % &"$ !"% & !

Hypergeometric Distribution

๐‘ฃ ๐‘ฆ, ๐‘™, ๐‘ž = ๐‘ฆ โˆ’ 1 ๐‘™ โˆ’ 1 ๐‘ž$๐‘Ÿ%"$

Negative Binomial Distribution

๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡$ ๐‘™! ๐‘“"'

Poisson Distribution

XC 2020

slide-3
SLIDE 3

Average Score of a Pre-employment Psychometric Test

1 2 3 4 5 6 7 8 9 10 10

poor good

Sc Scot

  • tt

Su Summers Ra Raven Darkh kholme Ki Kitty Pr Pryde He Henry Ha Hank McCoy Bobby Drake ke Er Eric Leh Lehns nser err Je Jean Gr Grey Em Emma Fr Frost Charles Xa Xavier Ja James Logan Howlett

Av Average

XC 2020

slide-4
SLIDE 4

1 2 3 4 5 6 7 8 9 10 10 Sc Scot

  • tt

Su Summers Ra Raven Darkh kholme Ki Kitty Pr Pryde He Henry Ha Hank McC McCoy Bobby Drake ke Er Eric Leh Lehns nser err Je Jean Gr Grey Em Emma Fr Frost Charles Xa Xavier Ja James Logan Ho Howlett

Average ๐œˆ

5 + 7 + 6 + 2 + 4 + 7 + 9 + 6 + 10 + 2 10 = 5.8 2ร—2 + 4 + 5 + 2ร—6 + 2ร—7 + 9 + 10 10 = 5.8 1 5 ร—2 + 1 10 ร—4 + 1 5 ร—6 + 1 5 ร—7 + 1 10 ร—9 + 1 10 ร—10 = 5.8

Av Average ๐‚ #

!โˆˆ#

frequencyร—value

XC 2020

slide-5
SLIDE 5

Expected Value

ยง Let ๐‘Œ be a numerica cally-val valued discrete random variable with sample space ฮฉ and distribution function ๐‘›(๐‘ฆ). The expected value ๐น(๐‘Œ) is defined by ๐น ๐‘Œ = โˆ‘!โˆˆ$ ๐‘ฆ๐‘›(๐‘ฆ), provided this sum con converges abs bsol

  • lutely.

ยง The expected value ๐น(๐‘Œ) is

  • ften

referred to as the mean, and can be denoted by ๐œˆ for short. ยง If the above sum does not converge absolutely, then we say ๐‘Œ does not have an expected value.

!

| #

!โˆˆ$

๐‘ฆ๐‘› ๐‘ฆ | < โˆž

XC 2020

slide-6
SLIDE 6

Law of Large Numbers

The Law

  • f

Large Numbers can help us justify frequency concept

  • f

probability and the interpretation

  • f

expected value as the average value to be expected in experiments repeated a large number

  • f

times.

Av Average ๐‚ #

!โˆˆ#

frequencyร—value Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ)

XC 2020

slide-7
SLIDE 7

Example 1

Tos

  • ss

a coi coin head

  • r

tail ๐‘› ๐‘ฆ = 1 2 ๐น ๐‘Œ = โ‹ฏ

XC 2020

slide-8
SLIDE 8

Example 2

Rol

  • ll

a dice ce 1, 2, 3, 4, 5,

  • r

6 ๐‘› ๐‘ฆ = 1 6 ๐น ๐‘Œ = โ‹ฏ

XC 2020

slide-9
SLIDE 9

Example 3

Suppose that we flip a coin until a head first appears, and if the number

  • f

tosses equals ๐‘œ, then we are paid ๐‘œ dollars. What is the expected value

  • f

the payment? Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) #

%&' ()

๐‘œ๐‘Ÿ%*'๐‘ž = #

%&' ()

๐‘œ 1 2

%*'

(1 2) = #

%&' ()

๐‘œ 1 2

%

= 2 (1/2 + 1/4 + 1/8 + โ‹ฏ ) + (1/4 + 1/8 + 1/16 + โ‹ฏ ) + (1/8 + 1/16 + โ‹ฏ ) + โ‹ฏ = 1 + 1/2 + 1/4 + 1/8 + โ‹ฏ = 2

XC 2020

slide-10
SLIDE 10

Example 3 (continued)

Suppose that we flip a coin until a head first appears, and if the number

  • f

tosses equals ๐‘œ, then we are paid 2% dollars. What is the expected value

  • f

the payment? Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) #

%&' ()

2%๐‘Ÿ%*'๐‘ž = #

%&' ()

2% 1 2

%

= #

+&' ()

1 = +โˆž

!

| #

!โˆˆ$

๐‘ฆ๐‘› ๐‘ฆ | < โˆž

XC 2020

slide-11
SLIDE 11

Example 4

Consider the general Bernoulli trial

  • process. As

usual, we let ๐‘Œ = 1 if the

  • utcome

is a success and 0 if it is a failure. Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) 1ร—๐‘ž + 0ร— 1 โˆ’ ๐‘ž = ๐‘ž Ber Bernoulli t tria ial ๐‘› ๐‘ฆ = K ๐‘ž, ๐‘Œ = 1 1 โˆ’ ๐‘ž, ๐‘Œ = 0

XC 2020

slide-12
SLIDE 12

Bin Binomia ial ๐น ๐‘Œ = ๐‘œ๐‘ž ๐น ๐‘Œ = 1 ๐‘ž ๐น ๐‘Œ = ๐œ‡ ๐น ๐‘Œ = ๐‘™ ๐‘Ÿ ๐‘ž Ge Geometric Po Poisson Ne Negative binomi

  • mial

๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž,๐‘Ÿ%*, ๐‘„ ๐‘ˆ = ๐‘œ = ๐‘Ÿ%*'๐‘ž ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡, ๐‘™! ๐‘“*- ๐‘ฃ ๐‘ฆ, ๐‘™, ๐‘ž = ๐‘ฆ โˆ’ 1 ๐‘™ โˆ’ 1 ๐‘ž,๐‘Ÿ!*, ๐น ๐‘Œ = ๐‘œ ๐‘™ ๐‘‚ Hy Hyper ergeo eomet etric ic โ„Ž ๐‘‚, ๐‘™, ๐‘œ, ๐‘ฆ =

, ! .*, %*! . %

XC 2020

slide-13
SLIDE 13

Binomial Distribution and Poisson Distribution

Po Poisson Distribution ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡$ ๐‘™! ๐‘“"' Bi Binomial Dist stribution ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž$๐‘Ÿ!"$

=

๐‘ž = -/

%,

๐‘ข = 1, ๐‘œ โ†’ โˆž

XC 2020

slide-14
SLIDE 14

Bin Binomia ial ๐น ๐‘Œ = ๐‘œ๐‘ž ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž,๐‘Ÿ%*, Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) #

,&0 %

๐‘™ ๐‘œ ๐‘™ ๐‘ž,๐‘Ÿ%*, = #

,&' %

๐‘™ ๐‘œ ๐‘™ ๐‘ž,๐‘Ÿ%*, = #

,&' %

๐‘™ ๐‘œ! ๐‘™! ๐‘œ โˆ’ ๐‘™ ! ๐‘ž,๐‘Ÿ%*, = #

,&' %

๐‘œ๐‘ž (๐‘œ โˆ’ 1)! (๐‘™ โˆ’ 1)! ๐‘œ โˆ’ ๐‘™ ! ๐‘ž,*'๐‘Ÿ%*, = ๐‘œ๐‘ž #

,&' %

๐‘œ โˆ’ 1 ๐‘™ โˆ’ 1 ๐‘ž,*'๐‘Ÿ%*, = ๐‘œ๐‘ž #

1&0 %*' ๐‘œ โˆ’ 1

๐‘š ๐‘ž1๐‘Ÿ%*'*1 = ๐‘œ๐‘ž

XC 2020

slide-15
SLIDE 15

๐น ๐‘Œ = ๐œ‡ Po Poisson ๐‘„ ๐‘Œ = ๐‘™ = ๐œ‡, ๐‘™! ๐‘“*- Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) #

,&0 ()

๐‘™ ๐œ‡, ๐‘™! ๐‘“*- = #

,&' ()

๐‘™ ๐œ‡, ๐‘™! ๐‘“*- = #

,&' ()

๐œ‡ ๐œ‡,*' (๐‘™ โˆ’ 1)! ๐‘“*- = ๐œ‡ #

1&0 () ๐œ‡1

๐‘š! ๐‘“*- = ๐œ‡

XC 2020

slide-16
SLIDE 16

Expectation of Functions of Random Variables

ยง If ๐‘Œ is a discrete random variable with sample space ฮฉ and distribution function ๐‘›(๐‘ฆ), and if ๐œš: ฮฉ โ†’ ๐‘† is a function, then ๐น ๐œš(๐‘Œ) = โˆ‘!โˆˆ$ ๐œš(๐‘ฆ)๐‘›(๐‘ฆ), provided the series converges absolutely. Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) Expect cted value ๐‘ญ ๐”(๐’€) #

!โˆˆ$

๐œš(๐‘ฆ)๐‘›(๐‘ฆ)

XC 2020

slide-17
SLIDE 17

Example 1

Tos

  • ss

a coi coin head

  • r

tail ๐‘› ๐‘ฆ = 1 2 ๐œš ๐‘Œ = K1, ๐‘Œ = Head 0, ๐‘Œ = Tail ๐น ๐œš ๐‘Œ = โ‹ฏ

XC 2020

slide-18
SLIDE 18

Fixed Points

ยง Since a permutation is a

  • ne-to-one

mapping

  • f

the set

  • nto

itself, it is

  • f

interest to ask how many points (elements) are mapped

  • nto
  • themselves. Such

points are called fi fixed po points of the mapping.

1 2 3 1 2 3 2 1 3 1 2 3 2 3 1 1 2 3

XC 2020

slide-19
SLIDE 19

Example 2

Let ๐‘ be the number

  • f

fixed points in a random permutation

  • f

the set {๐‘, ๐‘, ๐‘‘}. To find the expected value

  • f

๐‘, it is helpful to consider the basic random variable associated with this experiment, namely the random variable ๐‘Œ which represents the random permutation.

1 2 3 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1

Ra Random pe perm rmutation 3! = 6 possible

  • utcomes

๐‘› ๐‘ฆ = 1 6 ๐น ๐‘ = โ‹ฏ

XC 2020

slide-20
SLIDE 20

Example 2

Let ๐‘ be the number

  • f

fixed points in a random permutation

  • f

the set {๐‘, ๐‘, ๐‘‘}. To find the expected value

  • f

๐‘, it is helpful to consider the basic random variable associated with this experiment, namely the random variable ๐‘Œ which represents the random permutation.

1 2 3 1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1

Ra Random pe perm rmutation 3! = 6 possible

  • utcomes

๐‘› ๐‘ฆ = 1 6 ๐น ๐‘ = 3 1 6 + 1 1 6 + 1 1 6 + 0 1 6 + 0 1 6 + 1 1 6 = 1

XC 2020

slide-21
SLIDE 21

The Sum of Two Random Variables

ยง Let ๐‘Œ and ๐‘ be random variables with finite expected

  • values. Then

๐น(๐‘Œ + ๐‘) = ๐น(๐‘Œ) + ๐น(๐‘), and if ๐‘‘ is any constant, then ๐น(๐‘‘๐‘Œ) = ๐‘‘๐น(๐‘Œ). ยง It can be shown that the expected value

  • f

the sum

  • f

any finite number

  • f

random variables is the sum

  • f

the expected values

  • f

the individual random variables. ๐น ๐‘Œ' + ๐‘Œ2 + โ‹ฏ + ๐‘Œ% = ๐น ๐‘Œ' + ๐น ๐‘Œ2 + โ‹ฏ + ๐น(๐‘Œ%).

!

Mu Mutual independence ce

  • f
  • f

the summands is not

  • t

ne needed.

XC 2020

slide-22
SLIDE 22

Linearity

๐น(๐‘Œ + ๐‘) = ๐น(๐‘Œ) + ๐น(๐‘) ๐น(๐‘‘๐‘Œ) = ๐‘‘๐น(๐‘Œ). ๐น(๐‘๐‘Œ + ๐‘) = ๐‘๐น(๐‘Œ) + ๐‘

XC 2020

slide-23
SLIDE 23

Let the sample spaces

  • f

๐‘Œ and ๐‘ be denoted by ฮฉ( and ฮฉ), and suppose that Consider the random variable ๐‘Œ + ๐‘ to be the result

  • f

applying the function ๐œš ๐‘ฆ, ๐‘ง = ๐‘ฆ + ๐‘ง to the joint random variable (๐‘Œ, ๐‘). Then according to the Expectation

  • f

Functions

  • f

Random Variables, we have ฮฉ( = ๐‘ฆ#, ๐‘ฆ*, โ‹ฏ and ฮฉ) = ๐‘ง#, ๐‘ง*, โ‹ฏ .

.

!

๐‘„(๐‘Œ = ๐‘ฆ", ๐‘ = ๐‘ง!) = ๐‘„(๐‘Œ = ๐‘ฆ")

๐น ๐‘Œ + ๐‘ = ?

+

?

$

๐‘ฆ+ + ๐‘ง$ ๐‘„(๐‘Œ = ๐‘ฆ+, ๐‘ = ๐‘ง$) = ?

+

?

$

๐‘ฆ+๐‘„(๐‘Œ = ๐‘ฆ+, ๐‘ = ๐‘ง$) + ?

+

?

$

๐‘ง$๐‘„(๐‘Œ = ๐‘ฆ+, ๐‘ = ๐‘ง$) = ?

+

๐‘ฆ+๐‘„(๐‘Œ = ๐‘ฆ+) + ?

$

๐‘ง$๐‘„(๐‘ = ๐‘ง$) = ๐น ๐‘Œ + ๐น(๐‘).

Proof

.

"

๐‘„(๐‘Œ = ๐‘ฆ", ๐‘ = ๐‘ง!) = ๐‘„(๐‘ = ๐‘ง!)

XC 2020

slide-24
SLIDE 24

Bin Binomia ial ๐น ๐‘Œ = ๐‘œ๐‘ž ๐‘ ๐‘œ, ๐‘ž, ๐‘™ = ๐‘œ ๐‘™ ๐‘ž,๐‘Ÿ%*, Expect cted value ๐‘ญ(๐’€) #

!โˆˆ$

๐‘ฆ๐‘›(๐‘ฆ) A single Bernoulli trial ๐‘Œ+ = K1, success 0, failure ๐น ๐‘Œ+ = 1ร—๐‘ž + 0ร— 1 โˆ’ ๐‘ž = ๐‘ž ๐‘œ Bernoulli trials ๐น ๐‘Œ = ๐น ๐‘Œ' + ๐‘Œ2 + โ‹ฏ + ๐‘Œ% = ๐‘œ๐‘ž

1 2 3 4 5 โœ— โœ“ โœ— โœ— โœ“ 2 โœ“

XC 2020

slide-25
SLIDE 25

Number of fixed points

We now give a very quick way to calculate the average number

  • f

fixed points in a random permutation

  • f

the set {1, 2, 3, . . . , ๐‘œ}.

3 5 4 2 1 1 2 3 4 5

Let ๐‘Ž denote the random permutation. For each ๐‘—, 1 โ‰ค ๐‘— โ‰ค ๐‘œ, let ๐‘Œ+ equal 1 if ๐‘Ž fixes ๐‘—, and 0 otherwise. ๐‘Œ+ = K 1, ๐‘Ž mixes ๐‘— 0,

  • therwise

let ๐บ denote the number

  • f

fixed points in ๐‘Ž.

?

๐บ = โ‹ฏ

XC 2020

slide-26
SLIDE 26

Number of fixed points

3 5 4 2 1 1 2 3 4 5

Let ๐‘Ž denote the random permutation. For each ๐‘—, 1 โ‰ค ๐‘— โ‰ค ๐‘œ, let ๐‘Œ+ equal 1 if ๐‘Ž fixes ๐‘—, and 0 otherwise. ๐‘Œ+ = K 1, ๐‘Ž mixes ๐‘— 0,

  • therwise

let ๐บ denote the number

  • f

fixed points in ๐‘Ž.

!

๐บ = ๐‘Œ@ + ๐‘ŒA + โ‹ฏ + ๐‘ŒB

!

๐น(๐บ) = ๐น(๐‘Œ') + ๐น(๐‘Œ2) + โ‹ฏ + ๐น(๐‘Œ%)

XC 2020

slide-27
SLIDE 27

Number of fixed points

3 5 4 2 1 1 2 3 4 5

Let ๐‘Ž denote the random permutation. For each ๐‘—, 1 โ‰ค ๐‘— โ‰ค ๐‘œ, let ๐‘Œ+ equal 1 if ๐‘Ž fixes ๐‘—, and 0 otherwise. ๐‘Œ+ = K 1, ๐‘Ž mixes ๐‘— 0,

  • therwise

let ๐บ denote the number

  • f

fixed points in ๐‘Ž.

!

๐บ = ๐‘Œ@ + ๐‘ŒA + โ‹ฏ + ๐‘ŒB

!

๐น(๐บ) = ๐น(๐‘Œ') + ๐น(๐‘Œ2) + โ‹ฏ + ๐น(๐‘Œ%)

๐น ๐‘ŒC = 1 ๐‘œ

!

๐น ๐บ = ๐‘œร— 1 ๐‘œ = 1

XC 2020

slide-28
SLIDE 28

The Product of Two Random Variables

ยง Let ๐‘Œ and ๐‘ be random variables with finite expected

  • values. If

๐‘Œ and ๐‘ are independent random variables, then ๐น(๐‘Œ๐‘) = ๐น(๐‘Œ)๐น(๐‘).

!

Mu Mutual independence ce

  • f
  • f

the summands is ne needed.

XC 2020

slide-29
SLIDE 29

Let the sample spaces

  • f

๐‘Œ and ๐‘ be denoted by ฮฉ( and ฮฉ), and suppose that Consider the random variable ๐‘Œ๐‘ to be the result

  • f

applying the function ๐œš ๐‘ฆ, ๐‘ง = ๐‘ฆ๐‘ง to the joint random variable (๐‘Œ, ๐‘). Then according to the Expectation

  • f

Functions

  • f

Random Variables, we have ฮฉ( = ๐‘ฆ#, ๐‘ฆ*, โ‹ฏ and ฮฉ) = ๐‘ง#, ๐‘ง*, โ‹ฏ .

๐‘„ ๐‘Œ = ๐‘ฆ3, ๐‘ = ๐‘ง, = (๐‘Œ = ๐‘ฆ3)๐‘„(๐‘ = ๐‘ง,)

๐น ๐‘Œ๐‘ = ?

+

?

$

๐‘ฆ+๐‘ง$ ๐‘„(๐‘Œ = ๐‘ฆ+, ๐‘ = ๐‘ง$) = ?

+

?

$

๐‘ฆ+๐‘ง$ ๐‘„(๐‘Œ = ๐‘ฆ+)๐‘„(๐‘ = ๐‘ง$) = (?

+

๐‘ฆ+๐‘„(๐‘Œ = ๐‘ฆ+))(?

$

๐‘ง$๐‘„ ๐‘ = ๐‘ง$ ) = ๐น ๐‘Œ ๐น(๐‘).

Proof

XC 2020

slide-30
SLIDE 30

Open book Scope: Chapter 4, 5, 6 ยง conditional probability ยง distributions and densities ยง expected value and variance Materials: Slides, homework, quizzes, textbook Date & Time: August 10, 3 hours, 24 hours Office hours: August 10, August 11 Homework due: 11:00 pm August 14

Au August 2020

Mid Midter erm 2

26 26 27 27 28 28 29 29 30 30 31 31 01 01 02 02 03 03 04 04 05 05 06 06 07 07 08 08 09 09 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 28 28 27 27 30 30 05 05 31 31 01 01 02 02 04 04 03 03 29 29

Sun Mon Tue Wed Thu Fri Sat

XC 2020

slide-31
SLIDE 31

Conditional Expectation

ยง If ๐บ is any event and ๐‘Œ is a random variable with sample space ฮฉ = {๐‘ฆ', ๐‘ฆ2, โ‹ฏ }, then the conditional expectation given ๐บ is defined by ๐น ๐‘Œ ๐บ = โˆ‘3 ๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ). ยง Let ๐‘Œ be a random variable with sample space ฮฉ. If ๐บ

',

๐บ2, โ‹ฏ, ๐บ

4 are

events such that ๐บ+ โˆฉ ๐บ

3 = โˆ… for

๐‘— โ‰  ๐‘˜ and ฮฉ =โˆช3 ๐บ

3,

then ๐น ๐‘Œ = โˆ‘3 ๐น ๐‘Œ ๐บ

3 ๐‘„(๐บ 3).

XC 2020

slide-32
SLIDE 32

We have

๐น ๐‘Œ ๐บ = #

3

๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ) #

3

๐‘„(๐‘Œ = ๐‘ฆ, โˆฉ ๐บ

3)

= ๐‘„(๐‘Œ = ๐‘ฆ,)

?

+

๐น ๐‘Œ ๐บ

+ ๐‘„(๐บ +) = ? +

?

$

๐‘ฆ$๐‘„ ๐‘Œ = ๐‘ฆ$ ๐บ

+ ๐‘„(๐บ +)

= ?

+

?

$

๐‘ฆ$๐‘„(๐‘Œ = ๐‘ฆ$ โˆฉ ๐บ

+)

= ?

$

๐‘ฆ$ ?

+

๐‘„(๐‘Œ = ๐‘ฆ$ โˆฉ ๐บ

+)

= ?

$

๐‘ฆ$๐‘„(๐‘Œ = ๐‘ฆ$) = ๐น(๐‘Œ)

Proof

XC 2020

slide-33
SLIDE 33

Why We Need Conditional Expectation?

๐‘ญ ๐’€

๐‘ญ ๐’€ ๐‘ฎ๐Ÿ ๐‘ธ(๐‘ฎ๐Ÿ) ๐‘ญ ๐’€ ๐‘ฎ๐Ÿ• ๐‘ธ(๐‘ฎ๐Ÿ•) ๐‘ญ ๐’€ ๐‘ฎ๐Ÿ” ๐‘ธ(๐‘ฎ๐Ÿ”) ๐‘ญ ๐’€ ๐‘ฎ๐Ÿ‘ ๐‘ธ(๐‘ฎ๐Ÿ‘) ๐‘ญ ๐’€ ๐‘ฎ๐Ÿ“ ๐‘ธ(๐‘ฎ๐Ÿ“) ๐‘ญ ๐’€ ๐‘ฎ๐Ÿ’ ๐‘ธ(๐‘ฎ๐Ÿ’)

XC 2020

slide-34
SLIDE 34

EXAMPLE

Farming Sim

XC 2020

slide-35
SLIDE 35

Ra Rain Dr Droughts Sn Snow Spring 100% Summer 20% 80% Fall 100% Winter 20% 80%

XC 2020

slide-36
SLIDE 36

Spec Special wea eather er Rain Droughts Snow Spring 100% Summer 20% 80% Fall 100% Winter 20% 80% Al All weath ther Normal Rain Droughts Snow Spr Spring 75% 25% Su Summer er 75% 5% 20% Fa Fall 75% 25% Wi Wint nter 75% 5% 20%

XC 2020

slide-37
SLIDE 37

Al All weath ther (a season) Normal Rain Droughts Snow Spr Spring 3/4 1/4 Su Summer er 3/4 1/20 1/5 Fa Fall 3/4 1/4 Wi Wint nter 3/4 1/20 1/5 Al All weath ther (a year) r) Normal Rain Droughts Snow Spr Spring 3/16 1/16 Su Summer er 3/16 1/80 1/20 Fa Fall 3/16 1/16 Wi Wint nter 3/16 1/80 1/5

XC 2020

slide-38
SLIDE 38

No Norm rmal Ra Rain Dr Droughts Sn Snow income 1000 500 200 100 Al All weath ther (a year) r) Normal Rain Droughts Snow Spr Spring 3/16 1/16 Su Summer er 3/16 1/80 1/20 Fa Fall 3/16 1/16 Wi Wint nter 3/16 1/80 1/20

XC 2020

slide-39
SLIDE 39

No Norm rmal Ra Rain Dr Droughts Sn Snow income 1000 500 200 100 No Norm rmal Ra Rain Dr Droughts Sn Snow To Total Spr Spring 3/16 1/16 1/4 Su Summer er 3/16 1/80 1/20 1/4 Fa Fall 3/16 1/16 1/4 Wi Wint nter 3/16 1/80 1/5 1/4 To Total 3/4 3/20 1/20 1/20 1/4

ยง ๐‘Œ: income ยง ๐บ

',

๐บ2, ๐บ;, ๐บ

<:

seasons spring, summer, fall, winter ๐น ๐‘Œ|๐บ+ = โ‹ฏ ๐น ๐‘Œ = โ‹ฏ

!

๐น ๐‘Œ ๐บ = โˆ‘3 ๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ).

!

๐น ๐‘Œ = โˆ‘3 ๐น ๐‘Œ ๐บ

3 ๐‘„(๐บ 3).

XC 2020

slide-40
SLIDE 40

No Normal Ra Rain in Dr Droughts Sn Snow income 1000 500 200 100

No Norm rmal Ra Rain Dr Droughts Sn Snow To Total Spr Spring 3/16 1/16 1/4 Su Summer er 3/16 1/80 1/20 1/4 Fa Fall 3/16 1/16 1/4 Wi Wint nter 3/16 1/80 1/5 1/4 To Total 3/4 3/20 1/20 1/20 1/4

ยง ๐‘Œ: income ยง ๐บ

',

๐บ2, ๐บ;, ๐บ

<:

seasons spring, summer, fall, winter

๐น ๐‘Œ|spring = 1000ร— 3 4 + 500ร— 1 4 = 3500 4 ๐น ๐‘Œ|summer = 1000ร— 3 4 + 500ร— 1 20 + 200ร— 1 5 = 16300 20 ๐น ๐‘Œ|fall = 1000ร— 3 4 + 500ร— 1 4 = 3500 4 ๐น ๐‘Œ|winter = 1000ร— 3 4 + 500ร— 1 20 + 100ร— 1 5 = 15900 20 ๐น ๐‘Œ = ๐น ๐‘Œ|spring ๐‘„ spring + ๐น ๐‘Œ|summer ๐‘„ summer + ๐น ๐‘Œ|fall ๐‘„ fall + ๐น ๐‘Œ|winter ๐‘„ winter = 3500 4 + 16300 20 + 3500 4 + 15900 20 ร— 1 4 = 840

!

๐น ๐‘Œ ๐บ = โˆ‘3 ๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ).

!

๐น ๐‘Œ = โˆ‘3 ๐น ๐‘Œ ๐บ

3 ๐‘„(๐บ 3).

XC 2020

slide-41
SLIDE 41

No Norm rmal Ra Rain Dr Droughts Sn Snow income 1000 500 200 100 No Norm rmal Ra Rain Dr Droughts Sn Snow To Total Spr Spring 3/16 1/16 1/4 Su Summer er 3/16 1/80 1/20 1/4 Fa Fall 3/16 1/16 1/4 Wi Wint nter 3/16 1/80 1/5 1/4 To Total 3/4 3/20 1/20 1/20 1/4

ยง ๐‘Œ: income ยง ๐บ

',

๐บ2, ๐บ;, ๐บ

<:

weather normal, rain, droughts, snow ๐น ๐‘Œ|๐บ+ = โ‹ฏ ๐น ๐‘Œ = โ‹ฏ

!

๐น ๐‘Œ ๐บ = โˆ‘3 ๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ).

!

๐น ๐‘Œ = โˆ‘3 ๐น ๐‘Œ ๐บ

3 ๐‘„(๐บ 3).

XC 2020

slide-42
SLIDE 42

No Normal Ra Rain in Dr Droughts Sn Snow income 1000 500 200 100

No Norm rmal Ra Rain Dr Droughts Sn Snow To Total Spr Spring 3/16 1/16 1/4 Su Summer er 3/16 1/80 1/20 1/4 Fa Fall 3/16 1/16 1/4 Wi Wint nter 3/16 1/80 1/5 1/4 To Total 3/4 3/20 1/20 1/20 1/4

ยง ๐‘Œ: income ยง ๐บ

',

๐บ2, ๐บ;, ๐บ

<:

weather normal, rain, droughts, snow

๐น ๐‘Œ|normal = 1000, ๐น ๐‘Œ|rain = 500, ๐น ๐‘Œ|droughts = 200, ๐น ๐‘Œ|snow = 100 ๐‘„ normal =

, #- ร—4 = , .,

๐‘„ rain =

, */

๐‘„ droughts =

# */,

๐‘„ snow =

# */

๐น ๐‘Œ = ๐น ๐‘Œ|normal ๐‘„ normal + ๐น ๐‘Œ|rain ๐‘„ rain + ๐น ๐‘Œ|droughts ๐‘„ droughts + ๐น ๐‘Œ|snow ๐‘„ snow = 1000ร— 3 4 + 500ร— 3 20 + 200ร— 1 20 + 100ร— 1 20 = 840

!

๐น ๐‘Œ ๐บ = โˆ‘3 ๐‘ฆ3๐‘„(๐‘Œ = ๐‘ฆ3|๐บ).

!

๐น ๐‘Œ = โˆ‘3 ๐น ๐‘Œ ๐บ

3 ๐‘„(๐บ 3).

XC 2020

slide-43
SLIDE 43

MARTINGALES

Fairness to a Player

XC 2020

slide-44
SLIDE 44

Martingales

ยง Let ๐‘‡', ๐‘‡2, โ‹ฏ , ๐‘‡% be the sequential

  • utcomes
  • f

a repeated experiment (such as fair games), we have ๐‘ญ ๐‘ป๐’ ๐‘ป๐’*๐Ÿ = ๐’ƒ, โ‹ฏ , ๐‘ป๐Ÿ‘ = ๐’–, ๐‘ป๐Ÿ = ๐’” = ๐‘ป๐’*๐Ÿ. Samuelson suggested in 1965 that the stock prices follow a martingale: Proof

  • of

That Prop

  • perly

Antici cipated Price ces Fluct ctuate Ra Randomly ly.

Mathematical Finance

T T

โ€œGiven all I know today, expected price tomorrow is the price today.โ€

XC 2020

slide-45
SLIDE 45

Martingales in Finance

Many asset prices are believed to behave approximately like martingales, at least in the short term.

!

๐น ๐‘‡% ๐‘‡%*' = ๐‘, โ‹ฏ , ๐‘‡2 = ๐‘ข, ๐‘‡' = ๐‘  = ๐‘‡%*'.

XC 2020

slide-46
SLIDE 46

Martingales in Finance

ยง New information is instantly absorbed into the stock value, so expected value

  • f

the stock tomorrow should be the value today. If it were higher, statistical arbitrageurs would bid up todayโ€™s price until this was not the case. ยง But there are some caveats: interest, risk premium, etc.

Effici cient marke ket hypot

  • thesis

!

๐น ๐‘‡! ๐‘‡!"# = ๐‘, โ‹ฏ , ๐‘‡* = ๐‘ข, ๐‘‡# = ๐‘  = ๐‘‡!"#.

XC 2020

slide-47
SLIDE 47

Martingales in Finance

ยง According to the fu fundamental theorem

  • f
  • f

asset prici cing, the discounted price

>(%) A(%),

where ๐ต is a risk-free asset, is a martingale with respected to ri risk ne neutr tral probability ty. Ri Risk neutral pr probabili lity

!

๐น ๐‘‡! ๐‘‡!"# = ๐‘, โ‹ฏ , ๐‘‡* = ๐‘ข, ๐‘‡# = ๐‘  = ๐‘‡!"#.

XC 2020