How to simulate and fit a ARIMA model like Y_t=Y_{t-1} + et in R

后端 未结 0 804
心在旅途
心在旅途 2021-01-06 00:06

This is my code but i don\'t know what\'s wrong with it (sad

e = numeric(1000)
e[1] <- rnorm(1)
for(i in 2:length(x))
  x[i] = 2 * x[i - 1] + rnorm(1)
x =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题