object ForecasterVec
The ForecasterVec
companion object provides functions useful for forecasting
models. It also contains a sample dataset.
- Alphabetic
- By Inheritance
- ForecasterVec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val MAX_LAGS: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val t: VectorD
-
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
-
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
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val y: VectorD
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated