3D Optimization: Multiple Regression

Three parameters: intercept (β₀) and two slopes (β₁, β₂)

Multiple Regression: y = β₀ + β₁x₁ + β₂x₂

Data + Fitted Plane (3D View)

Likelihood Surface

Fix one parameter, show contour of other two:

Find the Peak!

Adjust all three sliders to maximize the log-likelihood. The 3D surface is hard to visualize, but the slice view helps!

5.0
0.0
0.0

Tip: Try fixing one parameter at its MLE value, then adjust the other two using the slice view!

Adjustments made: 0
β₀ (Intercept)
--
β₁ (Slope x₁)
--
β₂ (Slope x₂)
--
Log-Likelihood
--
Iterations
0

Swimming Through Parameter Space

With 3 parameters, the likelihood becomes a 4D object: three dimensions for the parameters (β₀, β₁, β₂) and a fourth for the likelihood value itself.

This is the curse of dimensionality: we can't visualize high-dimensional spaces, so we rely on algorithms to navigate them mathematically. The gradient tells us "which way is up" even when we can't see the landscape.