全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
7795 6
2010-09-20
如果模型是非线性的,做wald-test还可以用test命令吗?我看了一下testnl只针对nonlinear restriction的,而不是nonlinear model,有人知道test命令的原理是什么吗?
如果不可以的话是不是就要手动算了?那么怎么用stata算information matrix呢?

谢谢~~~
二维码

扫码加我 拉你入群

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

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

全部回复
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"
二维码

扫码加我 拉你入群

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

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

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.
二维码

扫码加我 拉你入群

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

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

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
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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