![]() |
|
Navigation |
Synopsis Predict a value.
Function
num predict(lrel[num,num] values, num x) throws IllegalArgument(value v, str message)
Usage
import analysis::statistics::SimpleRegression;
Description Returns the "predicted"
y value associated with the supplied x value, based on regression model derived from the provided data values:
predict(x) = intercept + slope * x
![]() |