Interactive Business Analytics Demonstration

Regression Explorer

Fit a least-squares line, manipulate the data and see how slope, intercept, residual error, R² and prediction change in real time.

Overview

Regression turns a relationship into a fitted prediction model.

This explorer uses simple least-squares regression. Learners can change the underlying slope, noise, sample size, prediction point and curvature, then drag individual observations and see the fitted equation and residuals update immediately.

Model Simple least-squares regression
Primary Outputs Slope · Intercept · R² · RMSE
Visual Scatter plot · fitted line · residual gaps
Prediction Discipline Interpolation before extrapolation
Guided Demonstration

Regression Explorer — Step by Step

Eight locked stages build from the fitted line through noise, residuals, prediction range, nonlinearity, a leverage challenge and management review.

Fitted Equation Not revealed
Not revealed
Progress Stage 1 of 8
Guided learning stages
Foundation Stage 1 of 8

Current Instruction
Interactive Regression Dashboard

Fitted Line, Residuals and Prediction

Reveal the regression context to begin.

100%
Analytical status: Establish the regression context.
Supporting Analysis

Read the model beyond R².

Experiment Mode

Build Your Own Regression Scenario

Experiment Mode is isolated from the guided demonstration. Adjust the model controls and drag observations without changing guided progress.

Knowledge Check

Test regression interpretation.

Choose an answer, then check it.
Quick Reference

Regression interpretation cues

Slope

The estimated change in predicted y for a one-unit increase in x, conditional on the fitted simple linear model.

Intercept

The predicted y-value when x = 0. Interpret only when zero is meaningful or reasonably close to the observed range.

The proportion of observed y-variation explained by the fitted line in the sample. It does not establish causality or model adequacy.

RMSE

The typical residual magnitude in the original y-units. Lower values indicate tighter predictions relative to the same outcome scale.

Residuals

Observed y minus predicted y. Patterns in residuals can reveal curvature, changing variance or influential observations.

Extrapolation

Predictions outside the observed x-range rely on the assumption that the fitted relationship continues where evidence is weaker.

Key Takeaway
A regression line is a model to diagnose—not a formula to trust automatically.

Interpret slope and prediction together with residual error, leverage, observed range and evidence of nonlinearity.