58
Conditional Joint Distributions Chris Piech CS109, Stanford University

Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Conditional Joint DistributionsChris Piech

CS109, Stanford University

Page 2: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space?

Page 3: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Joint Random Variables

Use a joint table, density function or CDF to solve probability question

Use and find independence of random variables

Think about conditional probabilities with joint variables (which might be continuous)

What happens when you add random variables?

Use and find expectation of random variables

Page 4: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Joint Random Variables

Use a joint table, density function or CDF to solve probability question

Use and find independence of random variables

Think about conditional probabilities with joint variables (which might be continuous)

What happens when you add random variables?

Use and find expectation of random variables

Page 5: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Joint Probability Table

Roommates 2RoomDblShared Partner Single

Frosh 0.30 0.07 0.00 0.00 0.37Soph 0.12 0.18 0.00 0.03 0.32Junior 0.04 0.01 0.00 0.10 0.15Senior 0.01 0.02 0.02 0.01 0.05

5+ 0.02 0.00 0.05 0.04 0.110.49 0.27 0.07 0.18 1.00

Prob

abili

ty

Page 6: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Continuous Joint Random Variables

0

y

x900

900

Page 7: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

A joint probability density function gives the relative likelihood of more than one continuous random variable each taking on a specific value.

ò ò=£<£<2

1

2

1

),( ) ,(P ,2121

a

a

b

bYX dxdyyxfbYbaXa

Joint Probability Density Function

0

y

x 900

900

0 900

900

Page 8: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Four Prototypical Trajectories

End Review

Page 9: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

• Cumulative Density Function (CDF):

ò ò¥- ¥-

=a b

YXYX dxdyyxfbaF ),( ),( ,,

),(),( ,

2

, baFbaf YXYX ba ¶¶¶=

Jointly Continuous

ò ò=£<£<2

1

2

1

),( ) ,(P ,2121

a

a

b

bYX dxdyyxfbYbaXa

Page 10: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

!",$ %, & = ( ) ≤ %, + ≤ &

%

&

to 0 asx → -∞,y → -∞,

to 1 asx → +∞,y → +∞,

plot by Academo

Jointly CDF

Page 11: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

a1

a2

b1

b2

Probabilities from Joint CDF

Page 12: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

a1

a2

b1

b2

Probabilities from Joint CDF

Page 13: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

a1

a2

b1

b2

Probabilities from Joint CDF

Page 14: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

a1

a2

b1

b2

Probabilities from Joint CDF

Page 15: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

a1

a2

b1

b2

Probabilities from Joint CDF

Page 16: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

−,-,. "',)#

a1

a2

b1

b2

Probabilities from Joint CDF

Page 17: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

−,-,. "',)#

a1

a2

b1

b2

Probabilities from Joint CDF

Page 18: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

−,-,. "',)#

+,-,. "#,)#

a1

a2

b1

b2

Probabilities from Joint CDF

Page 19: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

! "# < % ≤ "',)# < * ≤ )' = ,-,. "',)'

−,-,. "#,)'

−,-,. "',)#

+,-,. "#,)#

a1

a2

b1

b2

Probabilities from Joint CDF

Page 20: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Probability for Instagram!

Page 21: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Gaussian BlurIn image processing, a Gaussian blur is the result of blurring an image by a Gaussian function. It is a widely used effect in graphics software, typically to reduce image noise.

0.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0000 0.0000 0.00000.0000 0.0001 0.0005 0.0020 0.0032 0.0020 0.0005 0.0001 0.00000.0000 0.0005 0.0052 0.0206 0.0326 0.0206 0.0052 0.0005 0.00000.0001 0.0020 0.0206 0.0821 0.1300 0.0821 0.0206 0.0020 0.00010.0001 0.0032 0.0326 0.1300 0.2060 0.1300 0.0326 0.0032 0.00010.0001 0.0020 0.0206 0.0821 0.1300 0.0821 0.0206 0.0020 0.00010.0000 0.0005 0.0052 0.0206 0.0326 0.0206 0.0052 0.0005 0.00000.0000 0.0001 0.0005 0.0020 0.0032 0.0020 0.0005 0.0001 0.00000.0000 0.0000 0.0000 0.0001 0.0001 0.0001 0.0000 0.0000 0.0000

Page 22: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Gaussian BlurIn image processing, a Gaussian blur is the result of blurring an image by a Gaussian function. It is a widely used effect in graphics software, typically to reduce image noise.

Gaussian blurring with StDev = 3, is based on a joint probability distribution:

fX,Y (x, y) =1

2⇡ · 32 e� x2+y2

2·32

FX,Y (x, y) = �⇣x3

⌘· �

⇣y3

Joint PDF

Joint CDF

Used to generate this weight matrix

Page 23: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Gaussian Blur

fX,Y (x, y) =1

2⇡ · 32 e� x2+y2

2·32

FX,Y (x, y) = �⇣x3

⌘· �

⇣y3

Joint PDF

Joint CDF

Each pixel is given a weight equal to the probability that X and Y are both within the pixel bounds. The center pixel covers the area where

-0.5 ≤ x ≤ 0.5 and -0.5 ≤ y ≤ 0.5What is the weight of the center pixel?

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

P (�0.5 < X < 0.5,�0.5 < Y < 0.5)

=P (X < 0.5, Y < 0.5)� P (X < 0.5, Y < �0.5)

� P (X < �0.5, Y < 0.5) + P (X < �0.5, Y < �0.5)

=�

✓0.5

3

◆· �

✓0.5

3

◆� 2�

✓0.5

3

◆· �

✓�0.5

3

+ �

✓�0.5

3

◆· �

✓�0.5

3

=0.56622 � 2 · 0.5662 · 0.4338 + 0.43382 = 0.206

Weight Matrix

Page 24: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Four Prototypical Trajectories

Pedagogic Pause

Page 25: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Four Prototypical Trajectories

Properties of Joint Distributions

Page 26: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Boolean Operation on Variable = Event

P (X 5)

P (Y = 6)

Recall: any boolean question about a random variable makes for an event. For example:

P (5 Z 10)

Page 27: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Four Prototypical Trajectories

Conditionals with multiple variables

Page 28: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

• Recall that for events E and F:

0)( )()()|( >= FP

FPEFPFEP where

Discrete Conditional Distribution

EF F

FE

Page 29: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

• Recall that for events E and F:

• Now, have X and Y as discrete random variables§ Conditional PMF of X given Y:

0)( )()()|( >= FP

FPEFPFEP where

)(),(

)(),()|()|( ,

| ypyxp

yYPyYxXP

yYxXPyxPY

YXYX =

===

====

Discrete Conditional Distributions

Different notations, same idea.

Page 30: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Joint Probability Table

Roommates 2RoomDblShared Partner Single

Frosh 0.30 0.07 0.00 0.00 0.37Soph 0.12 0.18 0.00 0.03 0.32Junior 0.04 0.01 0.00 0.10 0.15Senior 0.01 0.02 0.02 0.01 0.05

5+ 0.02 0.00 0.05 0.04 0.110.49 0.27 0.07 0.18 1.00

Prob

ability

Page 31: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Room | Year

Page 32: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Transport | Year

Page 33: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Lunch | Year

Page 34: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Relationship Status | Year

Page 35: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Number or Function?

Number

Page 36: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Function(or 1D table)

Number or Function?

Page 37: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Number or Function?

2D Function(or 2D table)

Page 38: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

P(Buy Book Y | Bought Book X)

And It Applies to Books Too

Page 39: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

P (X = x|Y = y) =P (X = x, Y = y)

P (Y = y)

fX|Y (x|y) · ✏x =

fX|Y (x|y) · ✏x · ✏y

fY (y) · ✏y

fX|Y (x|y) =

fX|Y (x|y)fY (y)

Continuous Conditional DistributionsLet X and Y be continuous random variables

P (X = x|Y = y) =P (X = x, Y = y)

P (Y = y)

fX|Y (x|y) · ✏x =

fX,Y (x, y) · ✏x · ✏yfY (y) · ✏y

fX|Y (x|y) =

fX,Y (x, y)

fY (y)

P (X = x|Y = y) =P (X = x, Y = y)

P (Y = y)

fX|Y (x|y) · ✏x =

fX,Y (x, y) · ✏x · ✏yfY (y) · ✏y

fX|Y (x|y) =

fX,Y (x, y)

fY (y)

Page 40: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Warmup: Bayes Revisited

P(B|E) = P(E|B) P(B)

P(E)

Posterior b

eliefPrior belief

Likelihood of evidence

Normalization constant

Page 41: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Mixing Discrete and ContinuousLet X be a continuous random variable

Let N be a discrete random variable

P (X = x|N = n) =P (N = n|X = x)P (X = x)

P (N = n)

PX|N (x|n) =

PN|X (n|x)PX (x)

PN (n)

fX|N (x|n) · ✏x =

PN|X (n|x)fX (x) · ✏x

PN (n)

fX|N (x|n) =

PN|X (n|x)fX (x)

PN (n)

P (X = x|N = n) =P (N = n|X = x)P (X = x)

P (N = n)

PX|N (x|n) =

PN|X (n|x)PX (x)

PN (n)

fX|N (x|n) · ✏x =

PN|X (n|x)fX (x) · ✏x

PN (n)

fX|N (x|n) =

PN|X (n|x)fX (x)

PN (n)

P (X = x|N = n) =P (N = n|X = x)P (X = x)

P (N = n)

PX|N (x|n) =

PN|X (n|x)PX (x)

PN (n)

fX|N (x|n) · ✏x =

PN|X (n|x)fX (x) · ✏x

PN (n)

fX|N (x|n) =

PN|X (n|x)fX (x)

PN (n)

P (X = x|N = n) =P (N = n|X = x)P (X = x)

P (N = n)

PX|N (x|n) =

PN|X (n|x)PX (x)

PN (n)

fX|N (x|n) · ✏x =

PN|X (n|x)fX (x) · ✏x

PN (n)

fX|N (x|n) =

PN|X (n|x)fX (x)

PN (n)

Page 42: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

pN|X (n|x) =

fX|N (x|n)pN (n)

fX (x)

P (X = x|N = n) =P (N = n|X = x)P (X = x)

P (N = n)

PX|N (x|n) =

PN|X (n|x)PX (x)

PN (n)

fX|N (x|n) · ✏x =

PN|X (n|x)fX (x) · ✏x

PN (n)

fX|N (x|n) =

PN|X (n|x)fX (x)

PN (n)

All the Bayes Belong to Us

pM|N (m|n) =

PN|M (n|m)pM (m)

pN (n)

M,N are discrete. X, Y are continuous

OG Bayes

Mix Bayes

#1

Mix Bayes

#2

All Continu

ous fX|Y (x|y) =

fY |X (y|x)fX (x)

fY (y)

Page 43: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete
Page 44: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Warmup: Bayes Revisited

P(B|E) = P(E|B) P(B)

P(E)

Posterior b

eliefPrior belief

Likelihood of evidence

Normalization constant

Page 45: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

• X, Y follow a symmetric bivariate normal distribution if they have joint PDF:

Warmup: Bivariate Normal

fX,Y (x, y) =1

2⇡�2· e�

[(x�µx)2+(y�µy)2]

2·�2

Here is an example where:

µx = 3

µy = 3

� = 2

x

y

fX,Y (x, y)

fX,Y (x, y)

-5 53-5

5

3

33xy(top view)

(side view)

Page 46: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space?

Page 47: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

You have a prior belief about the 2D location of an object.

What is your updated belief about the 2D location of the object after

observing a noisy distance measurement?

Tracking in 2D Space?

Page 48: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: Prior

fX,Y (x, y) = K · e�[(x�3)2+(y�3)2]

8

fX,Y (x, y) =1

2⇡�2· e�

[(x�µx)2+(y�µy)2]

2·�2

x

y

fX,Y (x, y)

-5 53-5

5

3

Prior belief:

Prior belief with K:

µx = 3

µy = 3

� = 2

Relative to Satellite at (0, 0)

Page 49: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

You will observe a noisy distance reading. It will say that your object is distance D away

We can say how likely that reading is if we know the

actual location of the object…

P(D | X, Y) is knowable!

µ = actual distance

σ = 1

Tracking in 2D Space: Observation!

Page 50: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Observe a ping of the object that is distance D away from satellite!

Know that the distance of a ping is normal with respect to the true distance.

µ = actual distance

σ = 1

D|X,Y ⇠ N(µ =p

x2 + y2,�2 = 1)

Tracking in 2D Space: Observation!

Page 51: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: Observation!Observe a ping of the object that is distance D = 4 away!

Know that the distance of a ping is normal with respect to the true distance

px2 + y2 = 4 µ = actual distance

σ = 1

Page 52: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete
Page 53: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: Observation!Observe a ping of the object that is distance D = 4 away!

Know that the distance of a ping is normal with respect to the true distance

px2 + y2 = 4 µ = actual distance

σ = 1

Page 54: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Observe a ping of the object that is distance D = 4 away from satellite!

D|X,Y ⇠ N(µ =p

x2 + y2,�2 = 1)

Tracking in 2D Space: Observation!

=1p2⇡

e�(d�µ)2

2

<latexit sha1_base64="4SnrN16Y+uPTmZpCJFAP6keLM0Q=">AAACHXicbVDLSsNAFJ34rPUVdelmsAh10ZKE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pAS161dYhPPRs7NEgAM9zLnVASmjfqAW5gR91KyO97Nt7Dg55d7OrK7aLwqjWzaY6Ap4k1JjU0RturfjhBQrOIxUAFUaprmSm4OZHAqWBFxckUSwntk2vW1TQmEVNuPvquwDtaCXCYSF0x4JH6eyInkVKDyNedEYEbNekNxf+8bgbhgZvzOM2AxfRnUZgJDAkeRoUDLhkFMdCEUMn1rZjeEB0P6EArOgRr8uVpcmE3LbNpnbVqRwfjOMpoC22jOrLQPjpCJ6iNOoiiB/SEXtCr8Wg8G2/G+09ryRjPbKI/MD6/AVden5Y=</latexit>

Page 55: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

px2 + y2 = 4

Tracking in 2D Space: New Belief

What is your new belief for the location of the object being tracked? Your joint probability density function can be expressed with a constant

µ = actual distance

σ = 1

x

y

-5 53-5

5

3

(top view)

Prior

Observation

f(D = d|X = x, Y = y) = K · e�[d�p

x2+y2]2

f(X = x, Y = y) = K · e�[(x�3)2+(y�3)2]

81

2 2

Page 56: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: New Belief

For your notes…

f(X = x, Y = y|D = 4) =f(D = 4|X = x, Y = y) · f(X = x, Y = y)

f(D = 4)

=K1 · e�

[4�p

x2+y2)2]2 ·K2 · e�

[(x�3)2+(y�3)2]8

f(D = 4)

=K3 · e�

⇥[4�

px2+y2)2]2 + [(x�3)2+(y�3)2]

8

f(D = 4)

= K4 · e�⇥

(4�p

x2+y2)2

2 + [(x�3)2+(y�3)2]8

Page 57: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: Posterior

x

y

-5 5-5

5

(top view)

Prior Posterior

(top view) x

y

-5 5

-5

5fX,Y

fX,Y |D

Page 58: Conditional Joint Distributions - Stanford University...Conditionals with multiple variables •Recall that for eventsE and F: ( ) 0 ( ) ( ) ( | ) = P F > P F P EF P E F where Discrete

Tracking in 2D Space: CS221