<< Click to Display Table of Contents >> STEYX (standard error of a linear regression) |
Syntax:
STEYX(y_values, x_values)
Description:
Returns the standard error of a linear regression.
The standard error is a measure of the reliability of a linear regression: the greater the standard error, the more the estimated values deviate from the actual values.
For the y_values and x_values arguments, you usually specify a cell range.
Y_values are the known y values.
X_values are the known x values.
Note:
Note that this function expects the y_values first and then the x_values – not the other way around.
Annotation:
The linear regression is performed with this function using the least squares method.
Example:
The resistance of a temperature-sensitive resistor has been measured at several temperatures.
Cells A1:A4 contain the temperatures measured: 8, 20, 25, 28
Cells B1:B4 contain the resistances measured: 261, 508, 608, 680
The following calculation returns the standard error of the resistances predicted by linear regression:
STEYX(B1:B4, A1:A4) returns 4.97351
See also: