全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
23079 25
2019-05-03
我在检验政策效应,因为政策实施时间非统一,所以使用了多期的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  //调节效应显著



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

扫码加我 拉你入群

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

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

全部回复
2019-5-3 11:03:18
你的回归看起来不太对
复制代码
1. 你应该加入类似 i.id 而非 i.industry。2. 标准误要用 vce(cluster id)。  
二维码

扫码加我 拉你入群

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

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

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个企业,其余的作为对照组,而且政策的作用不是同一年,每个公司被影响的时间不同,也就是对照组每年都不同。
二维码

扫码加我 拉你入群

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

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

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个企业,其余的作为对照组,而且政策的作用不是同一年,每个公司被影响的时间不同,也就是对照组每年都不同。
二维码

扫码加我 拉你入群

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

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

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 太多变量了,请试试
复制代码
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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