scalation.modeling.forecasting.QuadSpline
See theQuadSpline companion class
The QuadSpline
companion object provides factory methods for the QuadSpline
class.
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a QuadSpline
object that predicts using a quadratic curve that fits the last three point.
Create a QuadSpline
object that predicts using a quadratic curve that fits the last three point.
Value parameters
-
hparam
-
the hyper-parameters (none => use null)
-
tt
-
the time vector, if relevant (time index may suffice)
-
y
-
the response vector (time-series data)
Attributes
Based on time t and three points y_t-2, y_t-1, y_t, determine values for the coefficients a, b and c.
Based on time t and three points y_t-2, y_t-1, y_t, determine values for the coefficients a, b and c.
Value parameters
-
t
-
the time point
-
y_0
-
the current response value
-
y_1
-
the response value 1 time units in the past
-
y_2
-
the response value 2 time units in the past
Attributes