# Segment 8 Sanmit Narvekar

## Segment 8

#### To Calculate

1. In Segment 6 (slide 8) we used the improper prior . Show that this is just a limiting case of a (completely proper) Lognormal prior.

2. Prove that has a single mode at when .

The mode of the function is the value of x at the peak. So we simply take the derivative of the pdf of a gamma distribution, set it equal to 0, and solve for x.

Thus, one solution is at:

And solving for x gives:

3. Show that the limiting case of the Student distribution as is the Normal distribution.

We start by taking the limit:

Split the limits over the 2 terms:

For ease of exposition, we evaluate the two limits separately.

The second limit is done as follows:

Take the , where X is the quantity we are evaluating. Note that this doesn't change the original function (it also sets us up nicely for turning it into a Gaussian).

Using properties of logarithms:

Notice that if we evaluate the limit in this form, we have an indeterminate form in the exponential: . One way to deal with this is to use L'Hospital's rule. First we have to get it into the right form, which is easily done by moving the first term into the denominator:

Now we apply L'Hospital's rule by taking the derivative of the numerator and the denominator:

What's convenient is that we have also gotten rid of the ln! Now we bring the denominator back up (I'm going to start skipping a few steps, but hopefully you get the idea -- too much writing!).

And now we take the limit, which will cancel out the terms in the first and last parenthesis, giving us the desired partial result. (For the last parenthesis, divide the top and bottom by nu^2, and it's easy to see that it becomes 1).

For the first limit, I used wolfram alpha (didn't know what to do with the gamma function... might look into it later):

And putting the two together gives the final answer, a normal distribution: