search for: beaucse

Displaying 1 result from an estimated 1 matches for "beaucse".

Did you mean: beacuse
2012 Nov 14
0
Time Series with External Regressors in R Problems with XReg
...fit the model, however, when I wanted to make predictions (see below): > var1.pred<-predict(var1.fit, n.ahead=12) R popped the following error: [b]Error in predict.Arima(var1.fit, n.ahead = 12) : 'xreg' and 'newxreg' have different numbers of columns > Which is weird beaucse 1. I made sure that my regressor matrix had the same amount of rows as my univariate time series and 2. R was able to fit the model I was suggesting. Has anyone done arima models including external regressors in R? Does anyone has any idea of what could be happening? Best regards, Paul -- V...