Skip to content

steyx

Standard error of predicted y values from a regression.

v = steyx(knownys, knownxs)

Returns the standard error of the predicted y in a linear regression — a measure of the typical residual size. Useful for assessing how tightly the data fits the regression line.

steyx([2 4 5 4 5 7 8 9], [1 2 3 4 5 6 7 8])
  • slope — Slope of a linear regression line.
  • linest — Linear regression coefficients (with optional statistics).