// OLS_VIZ

Ordinary Least Squares — Interactive Visualizer
This site works properly on larger screens. Please use a tablet or desktop browser.
1) Choose a DGP and error model, then click Draw sample
\( \beta_{0} \) intercept

Choose a DGP and error model, then click Draw sample

Residuals Histogram
Two-sided tests for coefficients
PDF of coefficient estimates under the null is shown. Shaded areas in the tails represent the two-sided p-value.
TSS
Σ(yᵢ − ȳ)²
RSS
Σ(yᵢ − ŷᵢ)²
ESS
Σ(ŷᵢ − ȳ)²
R² = 1 − RSS / TSS
SELECTED POINT
x
y (actual)
ŷ (fitted)
ȳ (mean y)
residual (y−ŷ)
residual² → RSS↑
(y−ȳ)² → TSS↑
Built by Codex with help from Noah Stoffman · v0.26.3