Hypothesis Testing and Statistical Inference
This tool computes the residuals of a simple linear regression model. Enter your data points to find the difference between observed and predicted values.
Explore how the Residual Calculator works with these common scenarios.
A simple, nearly linear dataset to demonstrate a basic calculation.
X: 1, 2, 3, 4, 5
Y: 2, 4, 5, 4, 5
Analyzing the relationship between average daily temperature and weekly plant growth in centimeters.
X: 15, 18, 21, 24, 27
Y: 5.5, 6.2, 7.1, 8.5, 9.8
A business example calculating the residual between monthly advertising spend and sales revenue.
X: 1000, 1500, 2000, 2500, 3000
Y: 50000, 58000, 65000, 70000, 78000
A real estate example analyzing the relationship between house size (in sq. ft.) and its market price.
X: 1400, 1600, 1700, 1875, 2100
Y: 245000, 312000, 279000, 308000, 405000