Skip to main content
Interactive 3D/Joint Distributions
Parameters
μ_x (mean X)0.00
μ_y (mean Y)0.00
σ_x (std X)1.00
σ_y (std Y)1.00
ρ (correlation)0.50
x₀ (slice)1.00
Conditional Statistics
P(X > x₀)15.87%
E[Y|X=x₀]0.5000
Cond Var[Y|X]0.7500
Legend
Blue → low density
Red → high density
Yellow dashed = slice at x₀
Top curve = f(x) marginal
Right curve = f(y) marginal
ρ = 0 → uncorrelated, independent (for Gaussians). ρ → ±1 → perfectly collinear. E[Y|X=x₀] = μ_y + ρ·(σ_y/σ_x)·(x₀ − μ_x)

Joint Distributions - Interactive Visualization

Joint distributions capture the relationship between two random variables. The bivariate normal is parameterized by means μ_x, μ_y, variances σ²_x, σ²_y, and correlation ρ. When ρ=0, the variables are independent - the joint is just the product of marginals. As |ρ| increases, knowing X tells you a lot about Y. This visualization shows the density heatmap, marginals as side plots, and conditional distribution as a slice.

  • See bivariate normal density heatmap with adjustable μ, σ, ρ
  • Watch marginal distributions change on the side panels
  • Drag conditional slice x₀ to see conditional distribution P(Y|X=x₀)
  • See how ρ controls the shape from circular (ρ=0) to diagonal (|ρ|→1)
  • Foundation for multivariate Gaussians, Gaussian processes, and factor models

Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.