Packages

object ForecasterVec

The ForecasterVec companion object provides functions useful for forecasting models. It also contains a sample dataset.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForecasterVec
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MAX_LAGS: Int
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def differ(u: VectoD, v: VectoD, scale: Double = 1E-9, allow: Boolean = true): Int

    Point out the differences between two vectors/time-series.

    Point out the differences between two vectors/time-series.

    u

    the first vector/time-series

    v

    the second vector/time-series

    scale

    the scale factor to set the tolerance 'tol'

    allow

    flag indicating whether allow (via assert) any differences

  8. def durbinLevinson(g: VectoD, ml: Int): MatriD

    Apply the Durbin-Levinson Algorithm to iteratively compute the 'psi' matrix.

    Apply the Durbin-Levinson Algorithm to iteratively compute the 'psi' matrix. The last row of the matrix gives 'AR' coefficients.

    g

    the auto-covariance vector (gamma)

    ml

    the maximum number of lags

    See also

    www.stat.tamu.edu/~suhasini/teaching673/time_series.pdf, p. 247

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val t: VectorD
  19. def test(modName: String, p: Int, mod: ForecasterVec, kt: Int = 5, h: Int = 1): Unit

    Test forecasting model that extends ForecasterVec.

    Test forecasting model that extends ForecasterVec.

    modName

    the name of the model to test

    p

    the order of the model (number of response values to use in forecasts)

    mod

    the model to test

    kt

    the retraining frequency

    h

    the forecasting horizon

  20. def testInSamp(y: VectoD, pq: Int, mod: ForecasterVec, h: Int = 1): MatriD

    Test (in sample) forecasting model that extends ForecasterVec.

    Test (in sample) forecasting model that extends ForecasterVec. returning the matrix of all forecasts over horizon and time.

    y

    the time series data

    pq

    the order of the model (number of response values to use in forecasts)

    mod

    the model to test

    h

    the forecasting horizon

  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. val y: VectorD

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped