楼主: helenl
7797 6

[一般统计问题] [急求]非线性方程的wald-test怎么做? [推广有奖]

  • 0关注
  • 0粉丝

小学生

21%

还不是VIP/贵宾

-

威望
0
论坛币
982 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
180 点
帖子
3
精华
0
在线时间
7 小时
注册时间
2008-10-28
最后登录
2018-7-1

楼主
helenl 发表于 2010-9-20 12:24:46 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
如果模型是非线性的,做wald-test还可以用test命令吗?我看了一下testnl只针对nonlinear restriction的,而不是nonlinear model,有人知道test命令的原理是什么吗?
如果不可以的话是不是就要手动算了?那么怎么用stata算information matrix呢?

谢谢~~~
二维码

扫码加我 拉你入群

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

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

关键词:非线性方程 线性方程 Wald test 非线性 matrix 模型

沙发
johnayl 发表于 2010-9-22 09:43:11
even if it's a nonlinear model, you can still use "test" after estimation.

testnl is for testing linear or nonlinear hypotheses about the estimated parameters. eg,

. sysuse auto
. generate weight2 = weight^2
. regress price weight weight2
. . testnl _b[mpg] = 1/_b[weight]

here you use testnl, because 1/_b[weight] is nonlinear for the parameter of "weight"
已有 1 人评分经验 热心指数 收起 理由
SpencerMeng + 60 + 1 观点有启发

总评分: 经验 + 60  热心指数 + 1   查看全部评分

藤椅
mapler 发表于 2011-4-1 02:51:12
We cannot use Wald test for the significannce of particular varialbes in a nonlinear system.Likelihood ratio test is the alternative method.

板凳
zpp0801 发表于 2011-9-29 11:09:13
mapler 发表于 2011-4-1 02:51
We cannot use Wald test for the significannce of particular varialbes in a nonlinear system.Likeliho ...
how can we know the result from the Likelihood ratio test?

报纸
蓝色 发表于 2011-9-29 12:55:02
probit
logit
都是非线性的
你看看这些模型的检验方法就知道怎么做了

地板
区域经济爱好者 发表于 2012-5-19 23:17:04
1. testnl -- Test nonlinear hypotheses after estimation

    testnl tests (linear or nonlinear) hypotheses about the estimated parameters from the most recently fitted model.
    testnl produces Wald-type tests of smooth nonlinear (or linear) hypotheses about the estimated parameters from the most
    recently fitted model.  The p-values are based on the delta method, an approximation appropriate in large samples.
    testnl can be used with svy estimation results, see [SVY] svy postestimation.
    The format (exp1=exp2=exp3= ... ) for a simultaneous-equality hypothesis is just a convenient shorthand for (exp1=exp2)
    (exp1=exp3), etc.
    testnl may also be used to test linear hypotheses. test is faster if you want to test only linear hypotheses.  testnl
    is the only option for testing linear and nonlinear hypotheses simultaneously.


2. test -- Test linear hypotheses after estimation
感兴趣领域——宏观经济、区域经济与技术经济

7
rudi 发表于 2014-12-17 20:56:19
我来挖一下坟。关于非线性模型的wald test,正像楼上所说,可以用testnl命令。不过需要注意以下的细节:

比如说,我希望估计:logy=alpha+beta*logx+gamma*log(delta1*z1+delta2*z2)这样一个相对简单的非线性方程,而我感兴趣的是,H0: delta1=delta2,那么,我可以用如下的testnl命令:

testnl _b[/delta1]=_b[/delta2]。特别注意,系数前面一定要加上"/",估计是表示对应的变量。

以上是我通过试错找出来的方法,希望有所帮助。

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-28 13:21