全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
3441 3
2007-08-11
哪位DX能帮忙解答? 装上stata 10 以后,试着在菜单下运行 StepWise (regress) 命令,录入数据点击运行后,总提示 On the "model2" tab, at least one censoring limit must be specified.
在命令行下运行正常。
STATA 9 无此问题,不知何故?

[此贴子已经被作者于2007-8-11 12:58:15编辑过]

二维码

扫码加我 拉你入群

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

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

全部回复
2007-8-19 06:51:00

你先查查帮助,看看命令是否变化了

或者命令的后面是否缺少选项



Examples

Setup
. sysuse auto
. generate weight2 = weight^2

Backward selection
. stepwise, pr(.2): regress mpg weight weight2 displ gear turn headroom foreign price

Backward selection; consider engine displacement and gear ratio together
. stepwise, pr(.2): regress mpg weight weight2 (displ gear) turn headroom foreign price

Backward selection; force weight to be included in model
. stepwise, pr(.2) lockterm1: regress mpg weight weight2 displ gear turn headroom foreign
price

Backward selection; force weight and weight2 to be included in model
. stepwise, pr(.2) lockterm1: regress mpg (weight weight2) displ gear turn headroom
foreign price

Backward hierarchical selection
. stepwise, pr(.2) hierarchical: regress mpg weight weight2 displ gear turn headroom
foreign

Forward selection
. stepwise, pe(.2): regress mpg weight weight2 displ gear turn headroom foreign price

Forward hierarchical selection
. stepwise, pe(.2) hierarchical: regress mpg weight weight2 displ gear turn headroom
foreign price

[此贴子已经被作者于2007-8-19 6:51:48编辑过]

二维码

扫码加我 拉你入群

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

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

2007-8-19 15:51:00
蓝版主以上的命令在 command 窗口执行均无问题。
但在 stepwise 对话框下执行就出现 “On the "model2" tab, at least one censoring limit must be specified.” 提示信息。

[此贴子已经被作者于2007-8-19 15:51:52编辑过]

二维码

扫码加我 拉你入群

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

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

2007-8-19 22:26:00

有可能是个bug,

不过我很少用菜单,所以不清楚怎么回事

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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