scalation.modeling.forecasting.nonlinear
Members list
Type members
Classlikes
The NARX_SR_D class provides time series analysis capabilities for NARX Symbolic Regression (SR) models with Direct (D) forecasting. These models include trend, linear, power, root, and cross terms for the single endogenous (y) variable and zero or more exogenous (xe) variables. Given time series data stored in vector y and matrix xe, its next value y_t = combination of last p values of y, y^p, y^r and the last q values of each exogenous variable xe_j, again in linear, power and root forms (as well as ENDO-EXO cross terms).
The NARX_SR_D class provides time series analysis capabilities for NARX Symbolic Regression (SR) models with Direct (D) forecasting. These models include trend, linear, power, root, and cross terms for the single endogenous (y) variable and zero or more exogenous (xe) variables. Given time series data stored in vector y and matrix xe, its next value y_t = combination of last p values of y, y^p, y^r and the last q values of each exogenous variable xe_j, again in linear, power and root forms (as well as ENDO-EXO cross terms).
y_t = b dot x_t + e_t
where y_t is the value of y at time t, x_t is a vector of inputs, and e_t is the residual/error term.
Value parameters
- bakcast
-
whether a backcasted value is prepended to the time series (defaults to false)
- fname
-
the feature/variable names
- hh
-
the maximum forecasting horizon (h = 1 to hh)
- hparam
-
the hyper-parameters (defaults to
MakeMatrix4TS.hp) - n_exo
-
the number of exogenous variables
- tForms
-
the map of transformations applied
- tRng
-
the time range, if relevant (time index may suffice)
- w_nl
-
the non-linear parameters
- x
-
the data/input matrix (lagged columns of y and xe) @see
NARX_SR_D.apply - y
-
the response/output vector (main time series data)
Attributes
- See also
-
MakeMatrix4TSfor hyper-parameter specifications. - Companion
- object
- Supertypes
-
class ARX_Dclass Forecaster_Dclass Forecastertrait Forecasttrait Modeltrait ForecastMatrixclass Diagnosertrait Fittrait FitMclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
The nARX_SR_DTest3 main function tests the NARX_SR_D class on real data: Forecasting COVID-19 using In-Sample Testing (In-ST). Test forecasts (h = 1 to hh steps ahead forecasts).
The nARX_SR_DTest3 main function tests the NARX_SR_D class on real data: Forecasting COVID-19 using In-Sample Testing (In-ST). Test forecasts (h = 1 to hh steps ahead forecasts).
runMain scalation.modeling.forecasting.nonlinear.nARX_SR_DTest3
Attributes
The nARX_SR_DTest4 main function tests the NARX_SR_D class on real data: Forecasting COVID-19 using Train and Test (TnT). Test forecasts (h = 1 to hh steps ahead forecasts).
The nARX_SR_DTest4 main function tests the NARX_SR_D class on real data: Forecasting COVID-19 using Train and Test (TnT). Test forecasts (h = 1 to hh steps ahead forecasts).
runMain scalation.modeling.forecasting.nonlinear.nARX_SR_DTest4
Attributes
The nARX_SR_DTest5 main function fit the linear and non linear parameters and tests the NARX_SR_D class on real data: Forecasting COVID-19 using Train and Test (TnT). Test forecasts (h = 1 to hh steps ahead forecasts).
The nARX_SR_DTest5 main function fit the linear and non linear parameters and tests the NARX_SR_D class on real data: Forecasting COVID-19 using Train and Test (TnT). Test forecasts (h = 1 to hh steps ahead forecasts).
runMain scalation.modeling.forecasting.nonlinear.nARX_SR_DTest5