Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. fit4<-Arima(fatturati, order=c(1,0,0), seasonal=c(1,1,0))
  2. fit4
  3. Series: fatturati
  4. ARIMA(1,0,0)(1,1,0)[12]
  5.  
  6. Coefficients:
  7. ar1 sar1
  8. 0.4749 -0.6135
  9. s.e. 0.1602 0.1556
  10.  
  11. sigma^2 estimated as 4.773e+10: log likelihood=-454.47
  12. AIC=914.94 AICc=915.76 BIC=919.43
  13. tsdisplay(residuals(fit4))
  14. Box.test(residuals(fit4), lag=16, fitdf=4, type="Ljung")
  15.  
  16. Box-Ljung test
  17.  
  18. data: residuals(fit4)
  19. X-squared = 10.15, df = 12, p-value = 0.6028
  20. plot(fit4$x,col="red")
  21. lines(fitted(fit4),col="blue")
  22. Error in NextMethod(.Generic) : cannot assign 'tsp' to zero-length vector
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement