楼主: fengbjmu
12393 4

[学习心得] 今天在IV上栽个跟头,整理一份备忘:工具变量一阶段F统计量 [推广有奖]

  • 3关注
  • 15粉丝

博士生

53%

还不是VIP/贵宾

-

威望
0
论坛币
26748 个
通用积分
465.1048
学术水平
41 点
热心指数
48 点
信用等级
28 点
经验
6445 点
帖子
201
精华
0
在线时间
297 小时
注册时间
2016-10-22
最后登录
2024-4-2

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
工具变量一阶段F统计量

首先回顾stata中都有哪些命令可以用于工具变量回归:ivreg, ivreg2, ivreghdfe, ivprobit, ivtobit 大概是这几类。

1. ivreg 是stata 官网推出的最基础版本,不能处理LDV受限因变量,不能自动计算一阶段的F统计量。应该使用estat firststage,forcenonrobust all 来得到一阶段F统计量检验弱工具变量。

2. ivreg2 是民间推出的强化版本,同样不能处理LDV受限因变量,但是可以自动计算一阶段的F统计量【这里是利用ffirst option来获得一阶段的weak or under identification的统计量】,并进行内生性检验等等,具体参见help ivreg2 在里面说的很清楚:

“ivreg2 is an alternative to Stata's official ivregress.  Its features include:  two-step feasible GMM estimation
(gmm2s option) and continuously-updated GMM estimation (cue option); LIML and k-class estimation; automatic output of
overidentification and underidentification test statistics; C statistic test of exogeneity of subsets of instruments
(orthog() option); endogeneity tests of endogenous regressors (endog() option); test of instrument redundancy
(redundant() option); kernel-based autocorrelation-consistent (AC) and heteroskedastic and autocorrelation consistent
(HAC) standard errors and covariance estimation (bw(#) option), with user-specified choice of kernel (kernel()
option); two-level cluster-robust standard errors and statistics; default reporting of large-sample statistics (z and
chi-squared rather than t and F); small option to report small-sample statistics; first-stage regressions reported
with various tests and statistics for identification and instrument relevance; ffirst option to report only these
identification statistics and not the first-stage regression results themselves.  ivreg2 can also be used for ordinary
least squares (OLS) estimation using the same command syntax as official regress and newey.


3. ivreghdfe 是对于ivreg2的强化版本,在这基础上发展了控制固定效应的方法,absorb。在这里自动导出一阶段的F值检验弱工具变量的问题,应该使用 e(rkf)

4. ivprobit,ivtobit才是能够处理受限因变量LDV的工具变量回归的模型。在这里不能直接导出一阶段的F值检验弱工具变量,有两种解决方法:
4.1 第一种方法,在一阶段的时候,内生的那个变量并不是LDV,所以一阶段的回归就是一个普通的线性回归,所以和ivreg2的一阶段是一样的,所以可以利用ivreg2等命令来导出一阶段的F值,但是在估计最终的系数的时候,仍然使用ivprobit

4.2 第二种方法,在ivprobit和ivtobit之后,使用 rivtest命令。详见help文件


二维码

扫码加我 拉你入群

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

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

关键词:工具变量 统计量 correlation Alternative Instruments

已有 1 人评分学术水平 热心指数 信用等级 收起 理由
日新少年 + 2 + 2 + 2 精彩帖子

总评分: 学术水平 + 2  热心指数 + 2  信用等级 + 2   查看全部评分

本帖被以下文库推荐

沙发
fengbjmu 发表于 2021-4-12 23:17:55 |只看作者 |坛友微信交流群
补充一下,rivtest可以参考这一篇文章:Implementing weak-instrument robust tests for a general class of instrumental-variables models
已有 1 人评分学术水平 热心指数 信用等级 收起 理由
日新少年 + 2 + 2 + 2 精彩帖子

总评分: 学术水平 + 2  热心指数 + 2  信用等级 + 2   查看全部评分

使用道具

藤椅
乐乐宝宝 学生认证  发表于 2021-8-16 02:00:03 来自手机 |只看作者 |坛友微信交流群
fengbjmu 发表于 2021-4-12 23:13
工具变量一阶段F统计量

首先回顾stata中都有哪些命令可以用于工具变量回归:ivreg, ivreg2, ivreghdfe,  ...
ivreghdfe,如何求出第一阶段结果,和常数项系数

使用道具

板凳
Tiki啊哈 发表于 2022-4-28 14:33:29 来自手机 |只看作者 |坛友微信交流群
您好!请问3中的 e(rkf)具体是怎么用呢,万分感谢!!!

使用道具

请问F值对应的P是在哪里呢?

使用道具

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

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

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

GMT+8, 2024-4-26 20:13