Regression intercept from means calculator
Recover the fitted simple-regression intercept from the slope and the sample means of x and y.
Related calculators
Use these tools when your question extends to a neighboring part of the same calculation.
How to use this calculator
Recover the fitted simple-regression intercept from the slope and the sample means of x and y.
- Enter Regression slope, Mean of x, Mean of y. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Regression intercept from means calculator
Recover the fitted simple-regression intercept from the slope and the sample means of x and y.
What it measures
Recover the fitted simple-regression intercept from the slope and the sample means of x and y.
Inputs and units
- Regression slope: Use the fitted coefficient from the same equation/model and keep its sign and units.
- Mean of x: Use an average from the same observations and measurement scale as the other regression/group inputs.
- Mean of y: Use an average from the same observations and measurement scale as the other regression/group inputs.
Formula and method
ȳ−b₁x̄
Worked example
With slope 1.5, mean x=4 and mean y=10, intercept=10−1.5×4=4.
Interpreting the result
The fitted line passes through (mean x, mean y); the intercept is its predicted y value at x=0, which may be outside the observed range.
Assumptions and limits
Slope and means must use compatible units and the same observations/model. The intercept can be an extrapolation when zero is not represented in the data.
Sources and method
- Explains uncertainty for fitted mean predictions and the role of the t coverage factor. NIST: Regression confidence limits
Frequently asked questions
Why does the line pass through the means?
Ordinary least-squares regression with an intercept has residuals summing to zero, placing the fitted line through the sample means.
Does the intercept always have a useful real-world meaning?
Only when x=0 is meaningful and supported by the data context.
How do I use the Regression intercept from means calculator?
Enter Regression slope, Mean of x, Mean of y. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Regression intercept from means?
With slope 1.5, mean x=4 and mean y=10, intercept=10−1.5×4=4.
What does the Regression intercept from means calculator calculate?
Recover the fitted simple-regression intercept from the slope and the sample means of x and y.
See the calculation methodology.