楼主: coolcat9885
5961 4

[求助]写了段R code,老有错,不知道怎么回事 [推广有奖]

  • 0关注
  • 0粉丝

本科生

66%

还不是VIP/贵宾

-

威望
0
论坛币
6 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
443 点
帖子
125
精华
0
在线时间
51 小时
注册时间
2007-4-9
最后登录
2020-10-25

楼主
coolcat9885 发表于 2007-12-9 12:59:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
> aic<-matrix(rep(0,36),6,6)
> for(i in 1:6) for(j in 1:6)
+ {fit.arima<-arima(WR,order=c(i,0,j))
+ aic[i,j]<-fit.arima$aic
+ }
Warning messages:
1: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
2: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
3: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
4: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
5: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
6: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
7: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
8: In arima(WR, order = c(i, 0, j)) :
  possible convergence problem: optim gave code=1
二维码

扫码加我 拉你入群

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

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

关键词:code ODE COD 不知道 ARIMA code

回帖推荐

babilun 发表于4楼  查看完整内容

Explain of error infor:ARMA(p,q), given p,q, then it generally uses m.l.e. to estimate the model parameters(phi_hat,theta_hat, and white noise variance),  probably(you should check maybe), I think they use the R base built-in optim() to get the nonlinear optimization solution. In optim(), if flag returns 1, which means that the algorithm does Not converge, in another words, it's not the m.l.e ...

本帖被以下文库推荐

沙发
yiyo900 发表于 2007-12-9 13:51:00

你可能没用acf & pacf初判

ARIMA model可能的p q order.

藤椅
xuxutuo 发表于 2007-12-10 16:29:00
不收敛

板凳
babilun 发表于 2007-12-11 05:56:00
Explain of error infor:
ARMA(p,q), given p,q, then it generally uses m.l.e. to estimate the model parameters(phi_hat,theta_hat, and white noise variance),  probably(you should check maybe), I think they use the R base built-in optim() to get the nonlinear optimization solution. In optim(), if flag returns 1, which means that the algorithm does Not converge, in another words, it's not the m.l.e. estimate you want.
Hope this helps.

已有 1 人评分论坛币 热心指数 收起 理由
crystal8832 + 10 + 1 热心帮助其他会员

总评分: 论坛币 + 10  热心指数 + 1   查看全部评分

报纸
1203306368 发表于 2017-10-3 15:19:44
这个意思是36个模型中有8个不收敛?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-26 20:50