Regression Diagnostics Calculator
Inspect residuals, leverage and Cook's distance for an ordinary least squares regression model.
Formula / method
Diagnostics use residuals and the hat matrix H = X(XᵀX)⁻¹Xᵀ.
Numerical diagnostics for OLS models with an intercept.
How to use
Use data from the same population, sample or study definition and keep paired observations aligned.
What this calculator answers
The Regression Diagnostics Calculator uses the requested values to calculate the requested result. The core method is Diagnostics use residuals and the hat matrix H = X(XᵀX)⁻¹Xᵀ.. This makes the assumptions visible so you can check whether the inputs match your situation.
How to get a useful result
Use data from the same population, sample or study definition and keep paired observations aligned.
How to interpret it
Statistical output describes the entered sample/model. It does not by itself prove causation, practical significance or that model assumptions are satisfied.
Before relying on the number
Recheck unusual inputs, confirm units and compare the result with any official quote, statement, specification or rule that applies to the real decision. Small changes in rates, time periods or measurements can materially change some results.