# Segment 4. The Jailer's Tip

#### Watch this segment

(Don't worry, what you see out-of-focus below is not the beginning of the segment. Press the play button to start at the beginning and in-focus.)

The direct YouTube link is http://youtu.be/425D0CjLLLs

Links to the slides: PDF file or PowerPoint file

### Problems

#### To Calculate

1. Evaluate **Failed to parse (unknown error): \int_0^1 \delta(3x-2) dx**

2. Prove that **Failed to parse (unknown error): \delta(a x) = \frac{1}{a}\delta(x)**
.

3. What is the numerical value of **Failed to parse (unknown error): P(A|S_BI)**
if the prior for **Failed to parse (unknown error): p(x)**
is a massed prior with half the mass at **Failed to parse (unknown error): x = 1/3**
and half the mass at **Failed to parse (unknown error): x = 2/3**
?

#### To Think About

1. With respect to problem 3, above, since x is a probability, how can choosing x=1/3 half the time, and x=2/3 the other half of the time be different from choosing x=1/2 all the time?

2. Suppose A is some event that we view as stochastic with P(A), such as "will it rain today?". But the laws of physics (or meteorology) say that A actually depends on other weather variables X, Y, Z, etc., with conditional probabilities P(A|XYZ...). If we repeatedly sample just A, to naively measure P(A), are we correctly marginalizing over the other variables?

### Class Activities

Surprise Quiz (with Bill's solutions here) (Notice in the figure the almost perfect correlation between the peer ranks that the teams assigned and the TA's separate grading.)

We also discussed Mr. and Mrs. Smith and their daughter(s) -- see Think About Question 3 in Segment 3.

We also did some variants of Expected values and continuous distributions