工具变量与两阶段最小二乘法ppt课件.ppt
《工具变量与两阶段最小二乘法ppt课件.ppt》由会员分享,可在线阅读,更多相关《工具变量与两阶段最小二乘法ppt课件.ppt(46页珍藏版)》请在三一办公上搜索。
1、Intermediate Econometrics, Yan Shen,1,Instrumental Variables & 2SLS工具变量与两阶段最小二乘法,y = b0 + b1x1 + b2x2 + . . . bkxk + u x1 = p0 + p1z + p2x2 + . . . pkxk + v,Intermediate Econometrics, Yan Shen,2,Chapter Outline本章提要,Omitted Variables in a simple regression model简单回归中的遗漏变量IV estimation of the Multiple
2、 Regression多方程回归中的工具变量估计Two Stage Least Squares两阶段最小二乘法IV solutions to errors-in-variables problem用工具变量解决测量误差问题Testing for endogeneity检验内生性,Intermediate Econometrics, Yan Shen,3,Lecture Outline本课提要,Motivation: Why using IV?出发点:为何用工具变量?Statistical Inference with the IV estimatorIV 估计中的统计推断Properties
3、of IV with a poor IV“坏”工具变量的性质Computing R squares after IV计算IV估计的R方IV estimation of the multiple regression model多方程回归的IV估计,Intermediate Econometrics, Yan Shen,4,Problem to start with从这个问题出发,If important variables are omitted, what should we do?如果一些重要的变量被遗漏,我们应当怎么办?,Intermediate Econometrics, Yan Sh
4、en,5,The ways out一些办法,Ignore the problem, pretend that it does not exist忽略这个问题,假装这个问题并不存在Find and use a suitable proxy使用代理变量Uses an estimation method that recognizes the presence of the omitted variable使用一种对遗漏变量稳健的估计方法。,Intermediate Econometrics, Yan Shen,6,Why Use Instrumental Variables?为何使用工具变量?,I
5、nstrumental Variables (IV) estimation is used when your model has endogenous xs当模型解释变量具有内生性时,使用工具变量估计 That is, when Cov(x,u) 0 即,Cov(x,u) 0时,Intermediate Econometrics, Yan Shen,7,Why Use Instrumental Variables?为何使用工具变量?,Thus, IV can be used to address the problem of omitted variable bias所以,IV可以用来解决遗
6、漏变量偏差 Additionally, IV can be used to solve the classic errors-in-variables problem而且,IV可用来解决经典的测量误差问题,Intermediate Econometrics, Yan Shen,8,Instrumental Variable: Who qualifies?什么样的变量可以作为IV?,In order for a variable, z, to serve as a valid instrument for x, the following must be true针对内生变量 x 的一个有效的工
7、具变量 z 应当满足如下条件 The instrument must be exogenous工具变量应为外生 That is, Cov(z,u) = 0 (15.4)即Cov(z,u) = 0,Intermediate Econometrics, Yan Shen,9,The instrument must be correlated with the endogenous variable x工具变量应与内生变量 x 相关 That is, Cov(z,x) 0 (15.5),Instrumental Variable: Who qualifies?什么样的变量可以作为IV?,Interm
8、ediate Econometrics, Yan Shen,10,About Cov(z,u) 关于Cov(z,u),We have to use common sense and economic theory to decide if it makes sense to assume Cov(z,u) = 0为了判断Cov(z,u) = 0这一假定是否合理,我们不得不 依赖于常识和经济理论。,Intermediate Econometrics, Yan Shen,11,About Cov(z,x),We can test if Cov(z,x) 0 我们可以检验是否Cov(z,x) 0 J
9、ust testing H0: p1 = 0 in x = p0 + p1z + v只需检验 H0: p1 = 0 in x = p0 + p1z + v Sometimes we refer to this regression as the first-stage regression.有时我们将这个回归称为第一阶段回归。,Intermediate Econometrics, Yan Shen,12,Example: wage determination例子:工资决定,Suppose the true model regresses log(wage) on education (educ
10、) and ability (abil).假定真实模型将对数工资对教育和能力回归Now ability is unobserved, and the proxy, IQ, is not available.现在能力不可观测,而且没有代理变量IQThe actual regression: regress log(wage) on educ.事实上使用的回归:将对数工资对教育回归,Intermediate Econometrics, Yan Shen,13,Example: wage determination例子:工资决定,Problem: since the error term conta
11、ins IQ, and education correlates with IQ, endogeneity problem appears.问题:由于误差项包含IQ,并且教育水平与能力相关,此时会出现教育的内生性问题。A good IV need to be highly correlated with education, but not correlated with the error term.一个好的IV应当与教育水平高度相关,并且与误差项不相关。,Intermediate Econometrics, Yan Shen,14,Example: wage determination例子
12、:工资决定,Is IQ a good instrument?IQ是好的工具变量吗?No. It correlates with both education and the error term.不。它同时与教育和误差项相关。,Intermediate Econometrics, Yan Shen,15,Example: wage determination例子:工资决定,IV used in the literature:在文献中使用的IVMothers education母亲教育水平Number of siblings. Hypothesis: more siblings is assoc
13、iated with lower average levels of education. 兄弟姐妹数目。假说:兄弟姐妹越多,平均受教育水平越低If we with to use either of them as IV, we need to be confident that they are not correlated with ability.无论我们使用其中的哪一个作为IV,我们都需要肯定它们是与能力不相关的。,Intermediate Econometrics, Yan Shen,16,When an IV is Available: Estimation当IV存在时:估计,Fo
14、r y = b0 + b1x + u, and given our assumptions (15.4) and (15.5), b1 can be identified.对于y = b0 + b1x + u ,且给定假定(15.4) 及(15.5), b1可以被识别In this context, identification means that we can write b1 in terms of population moments that can be estimated in samples.这里,识别 是指我们可以将b1表示为总体矩的函数,并且这些矩可以通过样本估计。,Int
15、ermediate Econometrics, Yan Shen,17,When an IV is Available: Estimation当IV存在时:估计,Since Cov(z,y) = b1Cov(z,x) + Cov(z,u), sob1 = Cov(z,y) / Cov(z,x) Then the IV estimator for b1 is则b1的工具变量估计为,Intermediate Econometrics, Yan Shen,18,When an IV is Available: Estimation当IV存在时:估计,When z=x we obtain the OL
16、S estimator of b1 .当z=x时,我们得到b1的OLS估计 This means when x is exogenous, it can be used as its own IV, and the IV estimator is identical to OLS in this case.这意味着当x是外生时,可以用它作自己的IV,这时的IV估计与OLS估计恒等。,Intermediate Econometrics, Yan Shen,19,When an IV is Available: Estimation当IV存在时:估计,When assumptions (15.4)
17、 and (15.5) hold, one can show that the IV estimator is consistent for b1, after applying the law of large numbers.当假定(15.4) 和(15.5) 成立时,可以应用大数定律证明IV估计是b1的一致估计。,Intermediate Econometrics, Yan Shen,20,When an IV is Available: Inference当IV存在时:推断,The homoskedasticity assumption is 同方差假定:E(u2|z) = s2 =
18、Var(u) (15.11) When assumptions (15.4), (15.5), (15.11) hold, given the asymptotic variance, the standard error for b1 can be estimated.当假定(15.4), (15.5), (15.11) 成立时,给定渐近方差, 可以估计b1的标准差,Intermediate Econometrics, Yan Shen,21,When an IV is Available: Inference当IV存在时:推断,Intermediate Econometrics, Yan
19、Shen,22,When an IV is Available: Inference当IV存在时:推断,Intermediate Econometrics, Yan Shen,23,IV versus OLS estimationIV与OLS估计,Standard error in IV case differs from OLS only in the Rx,z2 from regressing x on zIV与OLS的标准差的不同之处仅在于将x对z回归得到的Rx,z2 Since Rx,z2 1, IV standard errors are larger由于Rx,z2 1,IV的标准差
20、会比较大。,Intermediate Econometrics, Yan Shen,24,IV versus OLS estimationIV与OLS估计,When Cov(x,u) 0, OLS is inconsistent. IV is consistent when assumptions (15.4), (15.5) holds.当Cov(x,u) 0 ,OLS不是一致估计,当(15.4), (15.5) 成立时,IV是一致估计。 The stronger the correlation between z and x, the smaller the IV standard err
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 工具 变量 阶段 最小二乘法 ppt 课件
链接地址:https://www.31ppt.com/p-1902493.html