Mutual information of a bivariate Gaussian
What you are seeing: the joint probability density of two correlated Gaussian random variables and . The heatmap is . The curves on the top and right are the marginals and . The number in the corner measures how much knowing reduces your uncertainty about . It is zero when and are independent and grows without bound as they become perfectly correlated.
For a 2D Gaussian with correlation there is a clean closed form: Slide to see how the heatmap stretches along the diagonal and how rises. We compute the same quantity numerically by trapezoidal integration on the same grid and report both numbers; they agree to a few percent at the default resolution.
rho0.600
sigma_x1.00
sigma_y1.00
WHAT TO TRY
- Vary each control and watch the rail readouts respond.
- Compare the diagnostic plot against the live scene.