楼主: mickeydudu
23304 25

[回归分析求助] 回归结果不显著!!--无控制变量显著,加入后不显著,有控制变量分组检验又显著 [推广有奖]

  • 0关注
  • 0粉丝

已卖:1份资源

本科生

31%

还不是VIP/贵宾

-

威望
0
论坛币
24 个
通用积分
1.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
900 点
帖子
31
精华
0
在线时间
117 小时
注册时间
2017-3-8
最后登录
2020-8-11

楼主
mickeydudu 发表于 2019-5-3 10:54:29 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
我在检验政策效应,因为政策实施时间非统一,所以使用了多期的DID。D为政策效应虚拟变量,企业受影响的年份为1,其余为0.控制年份行业,进行回归。无控制变量时显著三颗星,加入控制变量后一点不显著,控制变量参照TOP论文中的设置的。我用分组方式检测调节效应,分组后又显著,两个调节变量的检验都显著。这个过程一直是年份、行业固定,缩尾。我做的尝试:1.变换控制变量组合,都不显著,后来测试即便只保留一个控制变量,例如公司规模,依然不显著。

2.多重共线性检验,vif自变量、控制变量的都很小不超过4,固定的行业的VIF有几个大于10,不过不知道这个是否影响
3.删除异常值
4.异方差控制
上面我都试过了,结果没变化。
我使用的回归命令是:
local  AA size debr age  roa grow  Bankloan(融资约束) wcr (运营成本)
reg y D  i.year i.industry ,r   //显著
reg y D `AA' i.year i.industry ,r   //不显著

reg y D `AA'i.year i.industry if soe==1 ,r  //调节效应显著



求指点,被虐了好久了,没有思路,跪求高手指点
二维码

扫码加我 拉你入群

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

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

关键词:控制变量 变量分组 回归结果 Industry 多重共线性检验

沙发
黃河泉 在职认证  发表于 2019-5-3 11:03:18
你的回归看起来不太对
  1. reg y D  i.year i.industry ,r
复制代码
1. 你应该加入类似 i.id 而非 i.industry。2. 标准误要用 vce(cluster id)。  
已有 1 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
crystal8832 + 100 + 40 + 4 + 4 + 4 热心帮助其他会员

总评分: 经验 + 100  论坛币 + 40  学术水平 + 4  热心指数 + 4  信用等级 + 4   查看全部评分

藤椅
mickeydudu 发表于 2019-5-3 17:37:08
黃河泉 发表于 2019-5-3 11:03
你的回归看起来不太对1. 你应该加入类似 i.id 而非 i.industry。2. 标准误要用 vce(cluster id)。
老师您好。
我用过这个命令:reg y D size debr age bsize  concen roaa dual Bankloan i.year i.stkcd,vce(cl stkcd) ,显示为下面内容:
matsize too small
    You have attempted to create a matrix with too many rows or columns or
    attempted to fit a model with too many variables.  You need to increase
    matsize; it is currently 2000.  Use set matsize; see help matsize.

    If you are using factor variables and included an interaction that has lots
    of missing cells, either increase matsize or set emptycells drop to reduce
    the required matrix size; see help set emptycells.

    If you are using factor variables, you might have accidentally treated a
    continuous variable as a categorical, resulting in lots of categories.  Use
    the c. operator on such variables.
我的样本是政策影响的445个企业,其余的作为对照组,而且政策的作用不是同一年,每个公司被影响的时间不同,也就是对照组每年都不同。

板凳
mickeydudu 发表于 2019-5-3 17:37:31
黃河泉 发表于 2019-5-3 11:03
你的回归看起来不太对1. 你应该加入类似 i.id 而非 i.industry。2. 标准误要用 vce(cluster id)。
老师您好。
我用过这个命令:reg y D size debr age bsize  concen roaa dual Bankloan i.year i.stkcd,vce(cl stkcd) ,显示为下面内容:
matsize too small
    You have attempted to create a matrix with too many rows or columns or
    attempted to fit a model with too many variables.  You need to increase
    matsize; it is currently 2000.  Use set matsize; see help matsize.

    If you are using factor variables and included an interaction that has lots
    of missing cells, either increase matsize or set emptycells drop to reduce
    the required matrix size; see help set emptycells.

    If you are using factor variables, you might have accidentally treated a
    continuous variable as a categorical, resulting in lots of categories.  Use
    the c. operator on such variables.
我的样本是政策影响的445个企业,其余的作为对照组,而且政策的作用不是同一年,每个公司被影响的时间不同,也就是对照组每年都不同。

报纸
mickeydudu 发表于 2019-5-3 17:37:32
黃河泉 发表于 2019-5-3 11:03
你的回归看起来不太对1. 你应该加入类似 i.id 而非 i.industry。2. 标准误要用 vce(cluster id)。
老师您好。
我用过这个命令:reg y D size debr age bsize  concen roaa dual Bankloan i.year i.stkcd,vce(cl stkcd) ,显示为下面内容:
matsize too small
    You have attempted to create a matrix with too many rows or columns or
    attempted to fit a model with too many variables.  You need to increase
    matsize; it is currently 2000.  Use set matsize; see help matsize.

    If you are using factor variables and included an interaction that has lots
    of missing cells, either increase matsize or set emptycells drop to reduce
    the required matrix size; see help set emptycells.

    If you are using factor variables, you might have accidentally treated a
    continuous variable as a categorical, resulting in lots of categories.  Use
    the c. operator on such variables.
我的样本是政策影响的445个企业,其余的作为对照组,而且政策的作用不是同一年,每个公司被影响的时间不同,也就是对照组每年都不同。

地板
黃河泉 在职认证  发表于 2019-5-3 18:14:46
mickeydudu 发表于 2019-5-3 17:37
老师您好。
我用过这个命令:reg y D size debr age bsize  concen roaa dual Bankloan i.year i.stkcd, ...
问题应该出在 i.stkcd 太多变量了,请试试
  1. xtset stkcd year
  2. xtreg y D size debr age bsize  concen roaa dual Bankloan i.year, fe robust
复制代码

7
mickeydudu 发表于 2019-5-4 10:58:05
黃河泉 发表于 2019-5-3 18:14
问题应该出在 i.stkcd 太多变量了,请试试
黄老师,我找到原因发现size公司规模这个变量对y的影响太大。去掉这个控制变量之后立马很显著。我原本size 是公司总资产的自然对数,现在换成了员工数量的自然对数,依然是不行。
黄老师,可以不用控制公司规模吗?还是一开始我就要分组,把不同规模的样本区分开去做呢?这个问题要怎么处理过去呢?谢谢

8
mickeydudu 发表于 2019-5-4 11:29:03
黃河泉 发表于 2019-5-3 18:14
问题应该出在 i.stkcd 太多变量了,请试试
老师,我上面说的去掉规模后显著,使用的公示还是原来的i.industry.
在使用公司固定(就是下面的命令)之后依然是不显著。
xtset stkcd year
xtreg y D `AA' i.year, fe robust
请问只是固定行业,不固定到公司不可以吗?

9
黃河泉 在职认证  发表于 2019-5-4 11:32:48
mickeydudu 发表于 2019-5-4 10:58
黄老师,我找到原因发现size公司规模这个变量对y的影响太大。去掉这个控制变量之后立马很显著。我原本siz ...
这种问题很难回答,你当然可以去掉,就怕别人问起?

10
mickeydudu 发表于 2019-5-4 11:33:57
黃河泉 发表于 2019-5-3 18:14
问题应该出在 i.stkcd 太多变量了,请试试
老师,我使用了您的命令
xtset stkcd year
xtreg y D `AA' i.year, fe robust
结果也还是不显著,无论是否去掉size这个控制变量都不显著。
老师我想请问一下,为什么只能固定公司呢?固定行业不可以吗?

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-9 01:08