nmfkc.ar.predict computes multi-step-ahead forecasts for a fitted NMF-VAR model
using recursive forecasting.
If the fitted model contains time series property information (from nmfkc.ar),
the forecasted values will have appropriate time-based column names.
Arguments
- x
An object of class
nmfkc(the fitted model).- Y
The historical observation matrix used for fitting (or at least the last
degreecolumns).- degree
Optional integer. Lag order (D). If
NULL(default), it is inferred fromx$A.attr(when available) or from the dimensions ofx$C.- n.ahead
Integer (>=1). Number of steps ahead to forecast.