AverageLineEnum coding group

Lua access code

To access the code of the codings below, append the coding group name and coding name to inmation.model.codes, see an example below.

return inmation.model.codes.AverageLineEnum.CUBIC_FIT

Codings

Name Code Description
CUBIC_FIT 4 Polynomic regression (3rd Order) with the function P(x)=a*x^3+b*x^2+c*x+d
CUMULATIVE_AVERAGE 13 Cumulative Average
EXPONENTIAL_AVERAGE 11 Exponential Average
EXPONENTIAL_FIT 8 Exponential regression with the function f(x)=a^x
LINEAR_FIT 2 Linear regression with the function f(x)=mx+n
LOGARITHMIC_FIT 7 Logarithmic regression with the function f(x)=loga(x)
MODIFIED_AVERAGE 12 Modified Average
NONE 1 No regression is displayed
POWER_LAW_FIT 9 Power law fit with the function f(x)=ax^-k
QUADRATIC_FIT 3 Quadratic regression with the function P(x)=a*x^2+b
QUARTIC_FIT 5 Polynomic regression (4th Order) with the function P(x)=a*x^3+b*x^2+c*x^2+d*x*e
QUINTIC_FIT 6 Polynomic regression (5th Order) with the function P(x)=a*x^3+b*x^2+c*x^2+d*x*e
SIMPLE_AVERAGE 10 Simple Average
WEIGHTED_AVERAGE 14 Weighted Average