全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1177 1
2014-12-12
悬赏 5 个论坛币 未解决
> series=arima.sim(n=36,list(ma=-0.6))+100
> actual=window(series,start=33);series=window(series,end=32)
> model=arima(series,order=c(0,0,1));model

Call:
arima(x = series, order = c(0, 0, 1))

Coefficients:
          ma1  intercept
      -0.4626    99.9779
s.e.   0.1260     0.1052

sigma^2 estimated as 1.157:  log likelihood = -47.85,  aic = 101.71
> result=plot(model,n.head=4,ylabel="Series&Forecasts",col=NULL,pch=19)
错误于xy.coords(x, y, xlabel, ylabel, log) :
  'x' is a list, but does not have components 'x' and 'y'
请问最后一步应该怎么修改?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2014-12-12 22:32:15
运行str(model)后发现里面有13个元素
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群