Syntax
| Parameter | Description |
|---|---|
| known_y | Parameter of the STEYX function. |
| known_x | Parameter of the STEYX function. |
Examples
Prediction precision
=STEYX(B2:B50, C2:C50)
Forecast confidence band
=FORECAST(15, B2:B50, C2:C50) + 2*STEYX(B2:B50, C2:C50)
Comparing models
=STEYX(Y, X1) < STEYX(Y, X2)
Common Errors
Arrays have different lengths.
Fewer than 3 data points, or all x-values are the same.
Tips
STEYX is in the same units as your y-values. If y is dollars, STEYX is dollars of prediction error.
Forecast +/- 2*STEYX gives a rough 95% prediction interval. For exact intervals, you'd need t-distribution critical values and leverage, but this is a practical approximation.
With only 2 points the regression line passes through both exactly, so STEYX would be 0 — but the formula requires 3+ points because there are no degrees of freedom with 2.
Try STEYX in Viztab
Import your data and use STEYX with 370+ other formulas. No signup required.
Open Viztab