x<-arima.sim(n=100,model=list(ar=c(1,-0.5)))
acf(x,lag.max = 20) #acf图
plot(x,type="l")
Box.test(xr,lag=6,type = "Ljung-Box",fitdf=0) #LM检验
|
楼主: xzq_whu
|
21065
10
请教 怎么用R做时间序列的平稳性检验 |
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


