NNS.nowcast {NNS} | R Documentation |
Wrapper function for NNS nowcasting method using NNS.VAR as detailed in Viole (2020), https://www.ssrn.com/abstract=3586658.
NNS.nowcast( h = 12, additional.regressors = NULL, start.date = "2000-01-03", Quandl.key = NULL, status = TRUE, ncores = NULL )
h |
integer; |
additional.regressors |
character; |
start.date |
character; |
Quandl.key |
character; |
status |
logical; |
ncores |
integer; value specifying the number of cores to be used in the parallelized subroutine NNS.ARMA.optim. If NULL (default), the number of cores to be used is equal to the number of cores of the machine - 1. |
Returns the following matrices of forecasted variables:
"interpolated_and_extrapolated"
Returns a data.frame
of the linear interpolated and NNS.ARMA extrapolated values to replace NA
values in the original variables
argument. This is required for working with variables containing different frequencies, e.g. where NA
would be reported for intra-quarterly data when indexed with monthly periods.
"relevant_variables"
Returns the relevant variables from the dimension reduction step.
"univariate"
Returns the univariate NNS.ARMA forecasts.
"multivariate"
Returns the multi-variate NNS.reg forecasts.
"ensemble"
Returns the ensemble of both "univariate"
and "multivariate"
forecasts.
This function requires an API key from Quandl. Sign up via https://data.nasdaq.com/.
Fred Viole, OVVO Financial Systems
Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" https://www.amazon.com/dp/1490523995/ref=cm_sw_su_dp
Viole, F. (2019) "Multi-variate Time-Series Forecasting: Nonparametric Vector Autoregression Using NNS" https://www.ssrn.com/abstract=3489550
Viole, F. (2020) "NOWCASTING with NNS" https://www.ssrn.com/abstract=3589816
## Not run: NNS.nowcast(h = 12) ## End(Not run)