全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
3710 1
2018-11-03
diffloggdp=diff(logGDP)
Box.test(diffloggdp,lag=12,type=c("Ljung-Box"))
m1=ar(diffloggdp,method='mle')
m1
Box.test(m1$residuals,lag=12,type=c("Ljung-Box"))
residuals(m1)


Call:ar(x = diffloggdp, method = "mle")Coefficients:      1        2        3   0.3461   0.1298  -0.1224  Order selected 3  sigma^2 estimated as  8.258e-05> Box.test(m1$residuals,lag=12,type=c("Ljung-Box"))Error in ts(x) : 'ts'对象至少必需有一个或多个观察量求助各位,为什么结果是null


二维码

扫码加我 拉你入群

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

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

全部回复
2018-12-4 19:04:00
帮你顶一下帖~~~
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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