steyx {eCerto} | R Documentation |
Translation of STEYX
function from Excel to R. It is implemented
according to the formula described in
http://office.microsoft.com/en-au/excel-help/steyx-function-HP010062545.aspx.
At least 3 finite pairs of data points are required for the calculation.
steyx(x, y)
x |
x values as numeric vector. |
y |
y values as numeric vector of similar length as x. |
The standard error of the predicted y-value for each x in the regression.
steyx(x = 1:3, y = 2:4)
steyx(x = 1:3, y = c(2, 3.1, 3.9))