Tuning the Spread of a Bell Curve

Partial Derivatives & GradientsMedium+20 XP+20

Tuning the Spread of a Bell Curve

A new thermometer is checked five times against a reference. Its errors, in tenths of a degree, are

x=2, 9, 5, 8, 6x = 2,\ 9,\ 5,\ 8,\ 6x=2, 9, 5, 8, 6

The errors are modelled as coming from a bell curve with centre μ\muμ and spread σ>0\sigma > 0σ>0. How well a choice of (μ,σ)(\mu, \sigma)(μ,σ) explains the data is scored by its log-likelihood, a function of two variables where bigger is better:

ℓ(μ,σ)=∑i=15[ −ln⁡σ  −  12ln⁡(2π)  −  (xi−μ)22σ2 ]\ell(\mu, \sigma) = \sum_{i=1}^{5} \left[\, -\ln \sigma \;-\; \tfrac{1}{2}\ln(2\pi) \;-\; \frac{(x_i - \mu)^2}{2\sigma^2} \,\right]ℓ(μ,σ)=i=1∑5​[−lnσ−21​ln(2π)−2σ2(xi​−μ)2​]

The fit is tuned one dial at a time.

  1. Holding σ\sigmaσ frozen, find the value of μ\muμ at which ∂ℓ∂μ=0\dfrac{\partial \ell}{\partial \mu} = 0∂μ∂ℓ​=0.
  2. Keep μ\muμ at that value, and set σ=3\sigma = 3σ=3.

What is ∂ℓ∂σ\dfrac{\partial \ell}{\partial \sigma}∂σ∂ℓ​ at that point?

Round your answer to 3 decimal places.

Freeze one input and an ordinary curve appears

-303-303xyheight along the dashed slicex
frozen y1.0
moving x1.4
y is stuck at 1.0∂f/∂x = -1.12going down

The dashed line on the map is a single straight walk. Because the other input never changes, that walk is just a normal one-input curve, drawn on the right. Its ordinary slope is the partial derivative. Nothing new: hold everything else still, then take the derivative you already know.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.