Learn R Programming

eCerto (version 0.8.5)

steyx: Implementation of the STEYX function from Excel.

Description

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.

Usage

steyx(x, y)

Value

The standard error of the predicted y-value for each x in the regression.

Arguments

x

x values as numeric vector.

y

y values as numeric vector of similar length as x.

Examples

Run this code
steyx(x = 1:3, y = 2:4)
steyx(x = 1:3, y = c(2, 3.1, 3.9))

Run the code above in your browser using DataLab