Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

ARIMA fitted model gives NULL

$
0
0

I am trying to plot the residuals vs. the fitted values, but when I use the fitted function on my ARMA model, the output I receive is NULL. The data I am using is 500 values between roughly -5 and 5. The data should be modelled well by an ARMA(1,1) process.

I am not sure what the problem is in the following code.

model <- arima(data$Z, order = c(1,0,1), include.mean=FALSE)
fitted(model)

Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>