Perform prediction of a REGts model
REGtspred(model,newxt,h=1,orig=0)
An output of the REGts command for a vector time series with exogenous variables
The new data matrix of the exogenous variables. It must be of the same dimension as the original exogenous variables and of length at least h (the forecast horizon).
The forecast origin. The default is zero indicating that the origin is the last observation.
The forecast horizon. For a given h, it computes 1-step to h-step ahead forecasts. Default is 1.
Forecasts
Standard errors of forecasts
Root mean squares of forecast errors
Root mean squared forecast errors
Return the forecast origin
Perform prediction of a fitted REGts model
Tsay (2014). Multivariate Time Series Analysis with R and Financial Applications. John Wiley. Hoboken, NJ.