Standard Error of Regression Line Formula:
From: | To: |
The Standard Error of the Regression Line (SEline) measures the precision of the predicted y-values from a linear regression model at a given x-value. It accounts for both the overall model error (MSE) and the distance of the specific x-value from the mean of x-values.
The calculator uses the standard error formula:
Where:
Explanation: The formula shows that prediction error increases as the x-value moves farther from the mean of x-values (leverage effect).
Details: SEline is crucial for constructing prediction intervals around regression estimates. Wider intervals indicate less precise predictions, especially when extrapolating beyond the observed data range.
Tips: Enter all required values (MSE must be positive, n ≥ 1, sum of squared differences > 0). For accurate results, ensure inputs come from a properly fitted linear regression model.
Q1: How is SEline different from standard error of the estimate?
A: SEline varies by x-value and is always larger than the overall standard error of the estimate, which is constant for all predictions.
Q2: What does a high SEline indicate?
A: High values suggest greater uncertainty in predictions at that x-value, often occurring at extremes of the data range.
Q3: Can SEline be used for non-linear regression?
A: This exact formula applies only to linear regression. Non-linear models require different approaches to estimate prediction error.
Q4: How does sample size affect SEline?
A: Larger samples generally decrease SEline by reducing the 1/n term and increasing the sum of squared differences.
Q5: When is SEline minimized?
A: SEline is smallest when x equals the mean of x-values, where the second term in the formula becomes zero.