RegressionParameter()
Returns the specified regression parameter of specified regression type based on the time data of the specified numeric expression for each entity and specified time range.
Second numeric expression data used as X-values (instead of time range).
Regression types:
-
Linear
-
Exponential
-
Harmonic
-
Hyperbolic
Regression parameters:
-
RSquared
-
DeclineRate (not for Linear)
-
InitialValue (not for Linear)
-
Slope (for Linear)
-
YIntercept (for Linear)
-
Hyperbolic constant
Syntax
RegressionParameter(string regressionParameter, double numericExpression,
date/time start, date/time end, string regressionType)
Example
RegressionParameter("DeclineRate", "produced oil per time increment" in "m3",
CurrentScope("Start"), #02/24/2017 08:00#, "Exponential")