ARX_MV
The ARX_MV
object supports regression for Time Series data. Multi-horizon forecasting supported via the DIRECT method. Given a response vector y, a predictor matrix x is built that consists of lagged y vectors. Additional future response vectors are built for training. y_t = b dot x where x = [y_{t-1}, y_{t-2}, ... y_{t-lags}].
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ARX_MV.type
Members list
Value members
Concrete methods
Create a RegressionMV
object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x.
Create a RegressionMV
object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x.
Value parameters
- h
-
the forecasting horizon (1, 2, ... h)
- hparam
-
the hyper-parameters (use Regression.hp for default)
- intercept
-
whether to add a column of all ones to the matrix (intercept)
- lags
-
the maximum lag included (inclusive)
- y
-
the original un-expanded output/response vector
Attributes
Create a RegressionMV
object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. In addition, lagged exogenous variables are added.
Create a RegressionMV
object from a response vector. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. In addition, lagged exogenous variables are added.
Value parameters
- elag1
-
the minimum exo lag included (inclusive)
- elag2
-
the maximum exo lag included (inclusive)
- h
-
the forecasting horizon (1, 2, ... h)
- hparam
-
the hyper-parameters (use Regression.hp for default)
- intercept
-
whether to add a column of all ones to the matrix (intercept)
- lags
-
the maximum lag included (inclusive)
- y
-
the original un-expanded output/response vector
Attributes
Create a RegressionMV
object from a response matrix. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. This method provides data rescaling.
Create a RegressionMV
object from a response matrix. The input/data matrix x is formed from the lagged y vectors as columns in matrix x. This method provides data rescaling.
Value parameters
- h
-
the forecasting horizon (1, 2, ... h)
- hparam
-
the hyper-parameters (use Regression.hp for default)
- intercept
-
whether to add a column of all ones to the matrix (intercept)
- lags
-
the maximum lag included (inclusive)
- y
-
the original un-expanded output/response vector
Attributes
Use rolling-validation to compute test Quality of Fit (QoF) measures by dividing the dataset into a TESTING SET (tr) and a TRAINING SET (te) as follows: [ <-- tr_size --> | <-- te_size --> ] This version calls predict for one-step ahead out-of-sample forecasts.
Use rolling-validation to compute test Quality of Fit (QoF) measures by dividing the dataset into a TESTING SET (tr) and a TRAINING SET (te) as follows: [ <-- tr_size --> | <-- te_size --> ] This version calls predict for one-step ahead out-of-sample forecasts.
Value parameters
- mod
-
the forecasting model being used (e.g.,
ARX_MV
) - rc
-
the retraining cycle (number of forecasts until retraining occurs)
Attributes
- See also
-
RollingValidation
Split the x matrix and y matrix into training and testing sets.
Split the x matrix and y matrix into training and testing sets.
Value parameters
- ratio
-
the ratio of the TESTING set to the full dataset (most common 70-30, 80-20)
- x
-
the x data/input matrix
- y
-
the y response/output matrix