Home▸Data Science▸Distance Correlation: Six Patterns, Pearson versus dCor (2D)

Distance Correlation: Six Patterns, Pearson versus dCor (2D)

A scatter of the chosen pattern with live Pearson and distance correlation, beside a bar panel comparing both measures on all six patterns and the permutation cut-off. Same shared model and checks as the 3D page.

Data Science2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Distance Correlation: Six Patterns, Pearson versus dCor (2D) ↗ Open standalone

Model evaluation for a regression problem always comes down to comparing predicted values against actual ones, then compressing every point's error into a single headline number — but MAE, RMSE, R² and MAPE compress that same set of residuals in genuinely different ways. This simulator renders a live 3D bar chart of a synthetic predicted-vs-actual dataset: green columns for the true values, amber markers for the model's predictions, and red connectors sized to each point's residual. Dragging in noise spreads every prediction randomly and moves MAE and RMSE together, while dragging in outlier strength concentrates error into a single point and pulls RMSE sharply ahead of MAE — the exact mechanism behind "RMSE is outlier-sensitive, MAE is outlier-robust." A metric-focus switch recolors the bars by each metric's own per-point weighting so the difference is visible, not just numeric, and four live readouts (MAE, RMSE, R², MAPE) plus the RMSE/MAE ratio update every frame.

⚙ Under the hood

A scatter of the chosen pattern with live Pearson and distance correlation, beside a bar panel comparing both measures on all six patterns and the permutation cut-off. Same shared model and checks as the 3D page.

Distance CorrelationPearson CorrelationNonlinear DependenceIndependence TestEnergy Statistics

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)