全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7834 4
2011-05-19
小弟不才,search、findit、google以及说明书都看过了,还是摸不着门道。求教各位如何做序列偏度为0、峰度为0的假设检验。多谢!
二维码

扫码加我 拉你入群

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

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

全部回复
2011-5-20 06:59:31
二维码

扫码加我 拉你入群

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

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

2011-5-20 08:55:24
谢谢版主,sktest的说明我在提问之前也仔细看过,原本以为只是做正态性的检验。后来发现问题实际上是在对Pr(Skewness)Pr(Kurtosis)的理解上,关键是不明白他们代表的就是p值。我搜索Pr(Kurtosis),找到了一篇材料,其中对sktest有更为细致的说明:For sktest, the null hypothesis is that the skewness is 0, kurtosis is 3 (the same as the normal).
The values labeled Pr(Skewness), Pr(Kurtosis), and Prob>chi2 are p-values.
A low p-value corresponds to rejecting the null hypothesis.
In this case, mpg has a rather high skewness, near 1, and we reject the null hypothesis that the values of mpg come from a normal distribution.

2# sungmoo
二维码

扫码加我 拉你入群

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

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

2011-5-20 15:02:05
聪明的蜘蛛 发表于 2011-5-20 08:55 For sktest, the null hypothesis is that the skewness is 0, kurtosis is 3 (the same as the normal)
这里就看“峰度”采用哪种定义。
二维码

扫码加我 拉你入群

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

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

2011-5-20 15:26:34
*stata计算偏度与峰度的方式

egen sk=skew(x)
*等价于
egen m=mean(x)
egen s3=mean((x-m)^3)
egen s2=mean((x-m)^2)
g sk=s3/s2^1.5

egen ku=kurt(x)
*等价于
egen m=mean(x)
egen s4=mean((x-m)^4)
egen s2=mean((x-m)^2)
g ku=s4/s2^2
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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