楼主: i莉莉酱
3668 1

[问答] R语言中的广义方差检验 [推广有奖]

  • 0关注
  • 13粉丝

已卖:56份资源

副教授

27%

还不是VIP/贵宾

-

威望
0
论坛币
100 个
通用积分
188.4373
学术水平
26 点
热心指数
29 点
信用等级
20 点
经验
26760 点
帖子
231
精华
0
在线时间
1327 小时
注册时间
2015-6-12
最后登录
2025-12-18

楼主
i莉莉酱 学生认证  发表于 2017-11-24 12:45:20 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
最近在学计量经济学,课本上说可以用R语言进行广义方差检验,代码如下:library(forecast);library(parallel);library(portes);par(mfrow=c(1,2))plot(gvtest(e3,1:60)[,4],main="Generalized variance tests",ylab="p-value",xlab="Lag",pch=16,ylim=c(0,1))
可是R运行时,Error in gvtest(e3, 1:60) : could not find function "gvtest"
谢谢!

二维码

扫码加我 拉你入群

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

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

关键词:方差检验 R语言 Generalized Generalize Forecast 广义方差检验 R语言 计量

沙发
孤寂伤 发表于 2018-11-11 15:50:40
大家好,因portes包进行了更新,广义方差混成检验的函数gvtest改为了MahdiMcLeod 函数。函数名字是2012年
该改进方法的两位作者的名字Mahdi and McLeod 的组合形式 。 关于该检验方法,有兴趣的读者可以参考以下文字
查阅相关资料。感谢大家对本书的支持,我们将在下一版中进行更新。

the generalized variance portmanteau test of MahdiMcLeod for univariate time series
was derived by Pena and Rodriguez (2002) based on the gamma distribution. Lin and McLeod
(2006) proposed the Monte-Carlo version of this test and Mahdi and McLeod (2012) extended
both methods to the multivariate case. Simulation results suggest that the Monte-Carlo version of
MahdiMcLeod statistic is more accurate and powerful than its competitors proposed by Box and
Pierce (1970), Ljung and Box (1978), and Pena and Rodriguez (2002, 2006) in the univariate time
series as well as Hosking (1980) and Li and McLeod (1981) in the multivariate time series.
已有 1 人评分学术水平 热心指数 收起 理由
i莉莉酱 + 1 + 1 精彩帖子

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-2 03:57