计量经济第八章.ppt

上传人:za****8 文档编号:14523290 上传时间:2020-07-22 格式:PPT 页数:29 大小:281.06KB
收藏 版权申诉 举报 下载
计量经济第八章.ppt_第1页
第1页 / 共29页
计量经济第八章.ppt_第2页
第2页 / 共29页
计量经济第八章.ppt_第3页
第3页 / 共29页
资源描述:

《计量经济第八章.ppt》由会员分享,可在线阅读,更多相关《计量经济第八章.ppt(29页珍藏版)》请在装配图网上搜索。

1、Introductory Econometrics, Lijun Jia,1,Multiple Regression Analysis多元回归分析,y = b0 + b1x1 + b2x2 + . . . bkxk + u 6. Heteroskedasticity (HSK) 异方差,Introductory Econometrics, Lijun Jia,2,Lecture Outline 本课提要,What is HSK 什么是异方差 Consequences of HSK 异方差的影响 HSK-Robust Inference after OLS estimation OLS估计后的“

2、对异方差稳健”统计推断,Introductory Econometrics, Lijun Jia,3,Testing for HSK 检验异方差 The Breusch-Pagen Test B-P 检验 The White Test White检验,Introductory Econometrics, Lijun Jia,4,Weighted Least squares加权最小二乘法 WLS when HSK is known up to a multiplicative constant 当在比例意义上已知异方差时的加权最小二乘法 WLS when HSK is of unknown fo

3、rm: the feasible GLS 当异方差具有未知形式时的加权最小二乘法:可行GLS,Introductory Econometrics, Lijun Jia,5,What is Heteroskedasticity (HSK)什么是异方差,Recall the assumption of homoskedasticity implied that conditional on the explanatory variables, the variance of the unobserved error, u, was constant 同方差假定意味着条件于解释变量,不可观测误差的方

4、差为常数 If this is not true, that is if the variance of u is different for different values of the xs, then the errors are heteroskedastic 如果u 的方差随x变化,那么误差是异方差的。,Introductory Econometrics, Lijun Jia,6,.,Education level,primary,secondary,f(y|x),Illustration of Heteroskedasticity 异方差图示,college,.,.,E(y|x)

5、 = b0 + b1x,wage,Introductory Econometrics, Lijun Jia,7,Why do we care?为何关心异方差?,The standard errors of the estimates are biased if we have heteroskedasticity. 如果存在异方差,那么估计值的标准差是有偏的。 If the standard errors are biased, we can not use the usual t statistics or F statistics or LM statistics for drawing

6、inferences. 如果标准差有偏,我们就不能应用通常的t统计量或F统计量来进行统计推断。,Introductory Econometrics, Lijun Jia,8,Testing for HSK检验异方差,Reason No. 1: We may prefer to see the usual OLS standard errors and test statistics reported unless there is evidence of heteroskedasticity. 理由1:除非有证据显示异方差存在,我们仍会偏好于常规OLS的标准差及检验统计量。 Reason No

7、. 2: If heteroskedasticity is present, the OLS estimator is no longer the BLUE, then it is possible to obtain a better estimator than OLS. 理由2:如果异方差存在,OLS不再是BLUE,那么就有可能得到比OLS更好的估计量。,Introductory Econometrics, Lijun Jia,9,The Breusch-Pagen Test for HSK用B-P检验异方差,Essentially we want to test H0: Var(u|x

8、1, x2, xk) = s2, ( 8.11) which is equivalent to H0: E(u2|x1, x2, xk) = E(u2) = s2 本质上,我们想检验H0: Var(u|x1, x2, xk) = s2 这等价于检验H0: E(u2|x1, x2, xk) = E(u2) = s2 (因为 zero conditional expectation),Introductory Econometrics, Lijun Jia,10,If we assume the relationship between u2 and xj will be linear, can

9、test it as a set of linear restrictions 如果我们假设u2 和xj之间具有线性关系,则可以通过一组线性约束来完成检验。 So, for u2 = d0 + d1x1 + dk xk + v (8.12) this means testing H0: d1 = d2 = = dk = 0 (8.13) 所以, 对于 u2 = d0 + d1x1 + dk xk + v 这意味着检验 H0: d1 = d2 = = dk = 0,Introductory Econometrics, Lijun Jia,11,The Breusch-Pagen Test for

10、 HSK用B-P检验检验异方差,Under the null hypothesis, it is often reasonable to assume that the error v is independent of x1 , xk . 在零假设下,通常可以假定误差v与x1 , xk独立 Then either F or LM statistics for overall significance of the independent variables in explaining u2 can be used to test HSK. 那么,如果将u2视为被解释变量,检验全部解释变量显著

11、性的F 统计量就可以用来检验异方差。 They are asymptotically valid test since u2 is not normally distributed in the sample. 由于u2在样本中不是正态分布,这些统计量只在渐近的意义下适用。,Introductory Econometrics, Lijun Jia,12,The Breusch-Pagen Test for HSK用B-P检验异方差,The error cannot be observed by can be estimated from OLS residuals. 不可观测的误差可以通过OL

12、S残差进行估计。 After regressing the residuals squared on all of the xs, can use the R2 to form an F or LM test. 将残差平方对所有的 x 回归之后,可以通过R2构造F 检验。( 8.15),Introductory Econometrics, Lijun Jia,13,The Breusch-Pagen Test for HSK用B-P检验异方差,Introductory Econometrics, Lijun Jia,14,The Breusch-Pagen Test for HSK用B-P检验

13、检验异方差,Introductory Econometrics, Lijun Jia,15,The Breusch-Pagen Test for HSK用B-P检验检验异方差,Introductory Econometrics, Lijun Jia,16,5.然后看F和LM值的大小,或者对应的p值。如果F和LM值很大或者p值很小,则可以拒绝零假设!,Introductory Econometrics, Lijun Jia,17,The White Test for HSK用White检验检验异方差,The Breusch-Pagan test will detect any linear fo

14、rms of heteroskedasticity B-P检验可以识别任意线性形式的异方差 The White test allows for nonlinearities by using squares and cross products of all the xs White检验通过加入 x 平方项和交叉项引入了一定的非线性。 Still just using an F or LM to test whether all the xj, xj2, and xjxh are jointly significant 仍然是用F和LM检验来检验xj, xj2 , xjxh是否联合显著,Int

15、roductory Econometrics, Lijun Jia,18,The White Test for HSK用White检验检验异方差,This can get to be unwieldy pretty quickly. 这个办法很快就会显出其笨重之处。 For example, if we have three explanatory variables, x1 ,x2 , and x3then the White test will have 9 restrictions: 3 on levels, 3 on squares, and 3 on cross-products.

16、例如,如果我们有三个解释变量x1 ,x2 , x3那么White检验有9个约束,三个对线性项,三个对平方项,三个对交叉项。(如8.19) With small samples, degrees of freedom will soon be run out with more regressors. 在小样本情形,自由度将会随着解释变量数目增加而迅速减少。,Introductory Econometrics, Lijun Jia,19,Alternate form of the White testWhite检验的变形,Consider that the fitted values from

17、OLS, , are a function of all the xs 考虑到OLS的预测值是所有x的函数。 Thus, 2 will be a function of the squares and cross products. Therefore, and 2 can proxy for all of the xj, xj2, and xjxh. 因此, 2是平方项和交叉项的函数。 和 2可以用来替代所有的xj, xj2, xjxh,Introductory Econometrics, Lijun Jia,20,Alternate form of the White testWhite检

18、验的变形,Regress the residuals squared on and 2 and use the R2 to form an F or LM statistic, 将残差平方对 和 2回归(8.20), 用R2来构建F或LM统计量 Now we only need to test 2 restrictions now. 现在只需要检验两个约束 Page 283 检验过程!,Introductory Econometrics, Lijun Jia,21,White test,Keep the R-squared from this regression,,Introductory

19、Econometrics, Lijun Jia,22,Weighted Least Squares加权最小二乘法,While its always possible to estimate robust standard errors for OLS estimates, if we know something about the specific form of the heteroskedasticity, we can transform the model into one that has homoskedastic errors called weighted least squ

20、ares. 对OLS估计稳健标准差总是可能办到的,但是,如果我们知道一些关于异方差结构的信息,我们可以将原模型转化为具有同方差的新模型,这称为加权最小二乘法。,Introductory Econometrics, Lijun Jia,23,Weighted Least Squares加权最小二乘法,In such cases weighted Least squares is more efficient estimates than OLS, and it produces t and F statistics that have t and F distributions. 在这些情况中,

21、加权最小二乘法比OLS更为有效。对应的t 和 F 统计量具有t 和 F 分布。,Introductory Econometrics, Lijun Jia,24,Generalized Least Squares广义最小二乘法,Estimating the transformed equation by OLS is an example of generalized least squares (GLS) 通过OLS估计变换后的方程可以作为广义最小二乘法(GLS)的一个例子 GLS will be BLUE in this case GLS在这种情形下为BLUE GLS is a weight

22、ed least squares (WLS) procedure where each squared residual is weighted by the inverse of Var(ui|xi) GLS是加权最小二乘法(WLS)在权重为Var(ui|xi)倒数时的特例。,Introductory Econometrics, Lijun Jia,25,Weighted Least Squares加权最小二乘法,While it is intuitive to see why performing OLS on a transformed equation is appropriate,

23、it can be tedious to do the transformation 尽管对变换后的模型做OLS是直观的,但是变换本身可能很繁琐。 Weighted least squares is a way of getting the same thing, without the transformation 加权最小二乘法可以完成相同的目的,但是不需要进行变换。 Idea is to minimize the weighted sum of squares (weighted by 1/hi) 想法是最小化加权平方和(权重为1/hi ),Introductory Econometri

24、cs, Lijun Jia,26,Weighted Least Squares加权最小二乘法,Introductory Econometrics, Lijun Jia,27,Feasible GLS可行GLS,More typical is the case where you dont know the form of the heteroskedasticity 更典型的情形是你并不知道异方差的形式 In this case, you need to estimate h(xi) 此时,你需要估计h(xi) Typically, we start with the assumption o

25、f a fairly flexible model, such as 我们可以从一个非常灵活的方程形式入手 Var(u|x) = s2exp(d0 + d1x1 + + dkxk) Since we dont know the d, must be estimated 由于d未知,我们必须对它进行估计。,Introductory Econometrics, Lijun Jia,28,Feasible GLS (continued)可行GLS,Our assumption implies that 我们的假定意味着 u2 = s2exp(d0 + d1x1 + + dkxk)v, where E

26、(v|x) = 1. ln(u2) = a0 + d1x1 + + dkxk + e Where E(e) = 1 and e is independent of x 其中E(e) = 1 且 e 独立于x Now, we know that is an estimate of u, so we can estimate this by OLS 现在,我们知道 是u 的一个估计,所以我们可以通过OLS对其进行估计。,Introductory Econometrics, Lijun Jia,29,Feasible GLS (continued)可行GLS,Now, an estimate of

27、h is obtained as = exp(), and the inverse of this is our weight 对h的估计可以通过 = exp() 得到,其倒数为我们的权重 So, what did we do? 那么,我们做了什么呢? Run the original OLS model, save the residuals, , square them and take the log 对原方程做OLS回归,保存残差,平方之,并取自然对数 Regress ln(2) on all of the independent variables and get the fitted values, 将ln(2) 对全部解释变量回归,得到预测值 Do WLS using 1/exp() as the weight 将1/exp() 作为权重,做WLS,

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!