NEWStock Market Analysis — Sector Performance Analyzer · Metals & Automobiles deep dives · Global Markets Open →
◆Financial Derivatives — In Progress Please await announcements of new courses and upcoming batches. Course Updates →
The Mountain Path Academy

Simple Linear Regression & Model Diagnostics

Fit an OLS line, test the slope, read R² and the ANOVA F-test, predict with confidence and prediction intervals, and check the residuals.

By Prof. V. Ravichandran · Interactive teaching tool · Exact t and F p-values · Companion to Simple Linear Regression

THE MOUNTAIN PATH ACADEMYFinance · Risk Management · Quantitative Analytics

Simple Linear Regression & Model Diagnostics

OLS estimation, t-tests and p-values, R² and ANOVA, prediction intervals and residual checks

Ŷ = –
Slope b1–

Intercept b0–

R² (fit)–

F-statistic–

Scatter plot and fitted OLS line

ObservationsFitted line95% CI for the meanPrediction at X₀

Observations

Coefficient table (two-sided tests, df = n − 2)

Predict at a chosen X

Whiteboard working

Plain-English interpretation

Prof. V. Ravichandran · The Mountain Path Academy
How to use this tool: pick a dataset or type your own points, read the coefficient table and the whiteboard working, then open the residuals tab to check the assumptions. The theory is in Simple Linear Regression →

Teaching tool with illustrative data; not investment advice. https://themountainpathacademy.com