请选择 进入手机版 | 继续访问电脑版
楼主: youyou4235
4432 1

请教stata中逐步回归的问题 [推广有奖]

  • 0关注
  • 0粉丝

大专生

11%

还不是VIP/贵宾

-

威望
0
论坛币
70 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
621 点
帖子
36
精华
0
在线时间
29 小时
注册时间
2007-4-30
最后登录
2022-1-21

youyou4235 发表于 2010-2-6 21:04:39 |显示全部楼层 |坛友微信交流群

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
请问各位高手,在用stata中的stepwise做完后,最终的最优方程中是不是每个自变量t统计量都应是显著的?为什么我做的最优方程包括了一个t统计量很不显著的变量,是否可以手动去掉该变量?
二维码

扫码加我 拉你入群

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

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

关键词:Stata tata 逐步回归 stepwise T统计量 请教 Stata 逐步回归

回帖推荐

houquan 发表于2楼  查看完整内容

help stepwise pr(#) specifies the significance level for removal from the model; terms with p>=pr() are eligible for removal. pe(#) specifies the significance level for addition to the model; terms with p= pr() (here it is 0.4); for forward-stepwise method, the variable will be added if its p-value

本帖被以下文库推荐

houquan 发表于 2010-2-9 11:57:18 |显示全部楼层 |坛友微信交流群
help stepwise
    pr(#) specifies the significance level for removal from the model; terms
        with p>=pr() are eligible for removal.

    pe(#) specifies the significance level for addition to the model; terms
        with p<pe() are eligible for addition.


看帮助文档是王道啊

stepwise selection里面,一个重要的参数是选取变量的显著水平;For backward-stepwise method, the variable will be dropped if its p-value >= pr() (here it is 0.4); for forward-stepwise method, the variable will be added if its p-value <= pe() (here it is 0.4)

stepwise, pr(.4) lockterm1: regress mpg (weight weight2) displ gear
            turn headroom foreign price

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



你自己的model里面,如果你选取的pr 或者 pe 值 不是 你的 critical p-value (例如0.05), 最后留下来/进入模型的变量,有不显著的,就很正常了。

1# youyou4235
We all love to instruct, though we can teach only what is not worth knowing. -- J. Austen

使用道具

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

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

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

GMT+8, 2024-3-28 23:28