楼主: benz1985
2343 8

[其他] 如何用为wald检验对参数矩阵进行了对称检验 [推广有奖]

  • 4关注
  • 5粉丝

学科带头人

75%

还不是VIP/贵宾

-

威望
0
论坛币
26158 个
通用积分
64.1030
学术水平
13 点
热心指数
30 点
信用等级
20 点
经验
1063 点
帖子
620
精华
0
在线时间
4040 小时
注册时间
2006-12-31
最后登录
2024-5-11

楼主
benz1985 在职认证  发表于 2012-10-16 09:15:05 |只看作者 |坛友微信交流群|倒序 |AI写论文
相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如题,
二维码

扫码加我 拉你入群

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

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

关键词:wald检验 Wald 如何用 如何

沙发
大白菜2012 发表于 2012-10-16 09:33:30 |只看作者 |坛友微信交流群
"如何用为wald检验对参数矩阵进行了对称检验"

这标题写的。。。。。。。。。。。让人泪如雨下!
元芳,侬怎么L00K?

使用道具

藤椅
benz1985 在职认证  发表于 2012-10-16 09:46:32 |只看作者 |坛友微信交流群
大白菜2012 发表于 2012-10-16 09:33
"如何用为wald检验对参数矩阵进行了对称检验"

这标题写的。。。。。。。。。。。让人泪如雨下!
比较急,很抱歉,你见过相关的例子吗?

使用道具

板凳
benz1985 在职认证  发表于 2012-10-16 09:53:48 |只看作者 |坛友微信交流群
大白菜2012 发表于 2012-10-16 09:33
"如何用为wald检验对参数矩阵进行了对称检验"

这标题写的。。。。。。。。。。。让人泪如雨下!
3.png 2.png
不知道你能看明白吗?如何用stata进行编程,是否有相关的例子

2.png (4.67 KB)

2.png

使用道具

报纸
大白菜2012 发表于 2012-10-16 10:51:44 |只看作者 |坛友微信交流群
benz1985 发表于 2012-10-16 09:53
不知道你能看明白吗?如何用stata进行编程,是否有相关的例子
受楼主召唤,自插双目扶墙而进,免得看到那令人蛋疼的标题而爆瞎。

楼主,你确认你的意思都表达完整清楚了么?

俺股沟了下,实在没有什么东东能把stata, wald test, matrix, symmetric联系在一起。

。。。。。。。。。。。。。。鄙人扶墙而出先。


PS: 发现有个笔算wald test的栗子,希望能给楼主丁点启发。


. ****** (B) TEST H0: b3 = 0, b4 = 0. . . * (1) Wald test requires estimation of unrestricted model only.
poisson y x2 x3 x4
Iteration 0:   log likelihood = -238.77153  
Iteration 1:   log likelihood = -238.77153  
Poisson regression                                Number of obs   =        200                                                  
LR chi2(3)      =       8.30                                                  Prob > chi2     =     0.0401
Log likelihood = -238.77153                       Pseudo R2       =     0.0171
------------------------------------------------------------------------------         
y |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------         
x2 |  -.0275702   .0767909    -0.36   0.720    -.1780775    .1229371         
x3 |   .1630037   .0670848     2.43   0.015     .0315199    .2944874         
x4 |   .1026568   .0802139     1.28   0.201    -.0545595    .2598732      
_cons |  -.1653238   .0773479    -2.14   0.033     -.316923   -.0137246
------------------------------------------------------------------------------
.
.
* (1A) Stata Wald test command.
test (x3=0) (x4=0)
( 1)  [y]x3 = 0 ( 2)  [y]x4 = 0           
chi2(  2) =    8.57         Prob > chi2 =    0.0138
.
.
* (1B) Wald test done manually.
* Use h'[RVR]-inv*h.
.
* Details below will change for each example.
.
* In particular, for nonlinear restrictions more work in forming R.
* Note that Stata puts the intercept last, not first.
.
* So here the second and third elements of b are set to zero.
. matrix bfull = e(b)                    /* 1xq row vector */   
. matrix vfull = e(V)                    /* qxq matrix */   
. matrix h = (bfull[1,2]\bfull[1,3])     /* hx1 vector */
. matrix R = (0,1,0,0\0,0,1,0)           /* h x q matrix */
. matrix Wald = h'*syminv(R*vfull*R')*h  /* scalar */
. matrix list hh[2,1]           
c1
r1  .16300365
r2  .10265681
. matrix list
RR[2,4]   
c1  c2  c3  c4
r1   0   1   0   0
r2   0   0   1   0
. matrix list
Wald symmetric
Wald[1,1]           
  c1
c1 8.5701855

已有 1 人评分经验 学术水平 收起 理由
crystal8832 + 10 + 1 补偿

总评分: 经验 + 10  学术水平 + 1   查看全部评分

元芳,侬怎么L00K?

使用道具

地板
benz1985 在职认证  发表于 2012-10-16 11:15:50 |只看作者 |坛友微信交流群
大白菜2012 发表于 2012-10-16 10:51
受楼主召唤,自插双目扶墙而进,免得看到那令人蛋疼的标题而爆瞎。

楼主,你确认你的意思都表达完整清 ...
Table 2 gives Wald- and J-tests for various hypotheses concerning the model. Since our sample size is large (8 equations times 4,847 observations per equation), we use a 1 percent critical value for all tests. Consider price effects first. The Wald test of symmetry in the asymmetric model is marginally insignificant with a/7-value of 1.4 percent, and symmetry is not rejected for either the level of prices (A/ = A,' for all /) or for prices interacted with implicit utility y (B = B'). This lack of symmetry rejection is not due to the irrelevance of price effects. In particular, the direct price effects given by the A0 matrix are strongly significant, as are many of the interactions between prices and demographics in the Az matrices. The interaction of prices with income are less significant, and we cannot reject the hypothesis that the py interaction given by the B matrix is excludable.

使用道具

7
大白菜2012 发表于 2012-10-16 13:12:26 |只看作者 |坛友微信交流群
benz1985 发表于 2012-10-16 11:15
Table 2 gives Wald- and J-tests for various hypotheses concerning the model. Since our sample size ...
那篇文章,俺看不懂。走先。

楼主继续。

PS: you may go to R, http://stat.ethz.ch/R-manual/R-p ... ml/isSymmetric.html
元芳,侬怎么L00K?

使用道具

8
benz1985 在职认证  发表于 2012-10-16 13:32:34 |只看作者 |坛友微信交流群
大白菜2012 发表于 2012-10-16 13:12
那篇文章,俺看不懂。走先。

楼主继续。
谢谢,你已经给我指了点门口了,我一直在R和stata之间徘徊

使用道具

9
wxylzh 发表于 2014-5-26 21:53:51 |只看作者 |坛友微信交流群
与楼主同求,楼主是否已经解决,请赐教。QQ:363793128

使用道具

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

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-12 00:34