北大计量经济学讲义-第二讲课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《北大计量经济学讲义-第二讲课件.ppt》由用户(三亚风情)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 北大 计量 经济学 讲义 第二 讲课
- 资源描述:
-
1、Intermediate Econometrics Yan Shen1The Simple Regression Model (1)简单二元回归y = b0 + b1x + uIntermediate Econometrics Yan Shen2Chapter Outline 本章大纲nDefinition of the Simple Regression Model 简单回归模型的定义简单回归模型的定义nDeriving the Ordinary Least Squares Estimates 普通最小二乘法的推导普通最小二乘法的推导nMechanics of OLS OLS的操作技巧nUn
2、its of Measurement and Functional Form测量单位和函数形式nExpected Values and Variances of the OLS estimators OLS估计量的期望值和方差nRegression through the Origin 过原点回归Intermediate Econometrics Yan Shen3Lecture Outline 讲义大纲nSome Terminology 一些术语的注解nA Simple Assumption 一个简单假定nZero Conditional Mean Assumption 条件期望零值假定 n
3、What is Ordinary Least Squares 何为普通最小二乘法nDeriving OLS Estimates 普通最小二乘法的推导Intermediate Econometrics Yan Shen4Some Terminology 术语注解n In the simple linear regression model, where y = b0 + b1x + u, we typically refer to y as thenDependent Variable, ornLeft-Hand Side Variable, ornExplained Variable, orn
4、Regressand在简单二元回归模型y = b0 + b1x + u中, y通常被称为因变量,左边变量,被解释变量,或回归子。Intermediate Econometrics Yan Shen5Some Terminology术语注解n In the simple linear regression of y on x, we typically refer to x as thenIndependent Variable, ornRight-Hand Side Variable, ornExplanatory Variable, ornRegressor, ornCovariate, o
5、rnControl Variables在y 对 x进行回归的简单二元回归模型中, x通常被称为自变量,右边变量,解释变量,回归元,协变量,或控制变量。Intermediate Econometrics Yan Shen6Some Terminology术语注解nEquation y = b0 + b1x + u has only one nonconstant regressor x, it is called a simple linear regression model, or two-variables regression model, or bivariate linear reg
6、ression model. 等式y = b0 + b1x + u只有一个非常数回归元。我们称之为简单回归模型, 两变量回归模型或双变量回归模型.Intermediate Econometrics Yan Shen7Some Terminology术语注解nThe coefficients b0 , b1 are called the regression coefficients. nb0 is also called the constant term or the intercept term, or intercept parameter. nb1 represents the mar
7、ginal effects of the regressor, x. It is also called the slope parameter.b0 , b1被称为回归系数。 b0也被称为常数项或截矩项,或截矩参数。 b1代表了回归元x的边际效果,也被成为斜率参数。Intermediate Econometrics Yan Shen8Some Terminology术语注解n The variable u is called the error term or disturbance in the relationship. nIt represents factors other than
8、 x that can affect y. u 为误差项或扰动项,它代表了除了x之外可以影响y的因素。Intermediate Econometrics Yan Shen9Some Terminology术语注解nMeaning of linear: linear means linear in parameters, not necessarily mean that y and x must have a linear relationship.nThere are many cases that y and x have nonlinear relationship, but after
9、 some transformation, they are linear in parameters.nFor example, y=eb0+b1x+u .n线性的含义: y 和x 之间并不一定存在线性关系,但是,只要通过转换可以使y的转换形式和x的转换形式存在相对于参数的线性关系,该模型即称为线性模型。Intermediate Econometrics Yan Shen10Examples 简单二元回归模型例子nA simple wage equationwage= b0 + b1(years of education) + unb1 : if education increase by
10、one year, how much more wage will one gain.n上述简单工资函数描述了受教育年限和工资之间的关系, b1 衡量了多接受一年教育工资可以增加多少.Intermediate Econometrics Yan Shen11A Simple Assumption关于u的假定n The average value of u, the error term, in the population is 0. That is, E(u) = 0(2.5)n It it restrictive?n我们假定总体中误差项u的平均值为零. 该假定是否具有很大的限制性呢?Inte
11、rmediate Econometrics Yan Shen12A Simple Assumption关于u的假定nIf for example, E(u)=5. Then y = (b0 +5)+ b1x + (u-5),therefore, E(u)=E(u-5)=0.nThis is not a restrictive assumption, since we can always use b0 to normalize E(u) to 0.n上述推导说明我们总可以通过调整常数项来实现误差项的均值为零, 因此该假定的限制性不大.Intermediate Econometrics Yan
12、Shen13Zero Conditional Mean Assumption 条件期望零值假定 n We need to make a crucial assumption about how u and x are related n We want it to be the case that knowing something about x does not give us any information about u, so that they are completely unrelated. That isE(u|x) = E(u)。我们需要对u和 x之间的关系做一个关键假定。
13、理想状况是对x的了解并不增加对u的任何信息。换句话说,我们需要u和 x完全不相关。Intermediate Econometrics Yan Shen14Zero Conditional Mean Assumption 条件期望零值假定 nSince we have assumed E(u) = 0, therefore, E(u|x) = E(u) = 0. (2.6)nWhat does it mean?由于我们已经假定了E(u) = 0,因此有E(u|x) = E(u) = 0。该假定是何含义?Intermediate Econometrics Yan Shen15Zero Condit
14、ional Mean Assumption 条件期望零值假定 nIn the example of education, suppose u represents innate ability, zero conditional mean assumption meansE(ability|edu=6)=E(ability|edu=18)=0.nThe average level of ability is the same regardless of years of education.n在教育一例中,假定u 代表内在能力,条件期望零值假定说明不管解释教育的年限如何,该能力的平均值相同。
15、Intermediate Econometrics Yan Shen16Zero Conditional Mean Assumption 条件期望零值假定 nQuestion: Suppose that a score on a final exam, score, depends on classes attended (attend) and unobserved factors that affect exam performance (such as student ability). Then consider model score =b0 + b1attend +unWhen w
16、ould you expect it satisfy (2.6)?n假设期末成绩分数取决于出勤次数和影响学生现场发挥的因素,如学生个人素质。那么上述模型中假设(2.6)何时能够成立?Intermediate Econometrics Yan Shen17Zero Conditional Mean Assumption 条件期望零值假定 n(2.6) implies the population regression function, E(y|x) , satisfies E(y|x) = b0 + b1x.nE(y|x) as a linear function of x, where fo
17、r any x the distribution of y is centered about E(y|x).n(2.6)说明总体回归函数应满足E(y|x) = b0 + b1x。该函数是x的线性函数,y的分布以它为中心。Intermediate Econometrics Yan Shen18.x1=5x2 =10E(y|x) = b0 + b1xyf(y)给定x时y的条件分布Intermediate Econometrics Yan Shen19Deriving the Ordinary Least Squares Estimates 普通最小二乘法的推导n Basic idea of re
18、gression is to estimate the population parameters from a samplen Let (xi,yi): i=1, ,n denote a random sample of size n from the populationn For each observation in this sample, it will be the case that yi = b0 + b1xi + ui回归的基本思想是从样本去估计总体参数。 我们用(xi,yi): i=1, ,n 来表示一个随机样本,并假定每一观测值满足yi = b0 + b1xi + ui
19、。Intermediate Econometrics Yan Shen20.y4y1y2y3x1x2x3x4u1u2u3u4xyPopulation regression line, sample data pointsand the associated error terms总体回归线,样本观察点和相应误差E(y|x) = b b0 + b b1xIntermediate Econometrics Yan Shen21Deriving OLS Estimates普通最小二乘法的推导n To derive the OLS estimator we need to realize that o
20、ur main assumption of E(u|x) = E(u) = 0 also implies thatn Cov(x,u) = E(xu) = 0 nWhy? Remember from basic probability that Cov(X,Y) = E(XY) E(X)E(Y)由E(u|x) = E(u) = 0 可得Cov(x,u) = E(xu) = 0 。Intermediate Econometrics Yan Shen22Deriving OLS continued普通最小二乘法的推导n We can write our 2 restrictions just in
21、 terms of x, y, b0 and b1 , since u = y b0 b1xn E(y b0 b1x) = 0n Ex(y b0 b1x) = 0nThese are called moment restrictionsn可将u = y b0 b1x代入以得上述两个矩条件。Intermediate Econometrics Yan Shen23Deriving OLS using M.O.M.使用矩方法推导普通最小二乘法n The method of moments approach to estimation implies imposing the population m
22、oment restrictions on the sample moments。n矩方法是将总体的矩限制应用于样本中。Intermediate Econometrics Yan Shen24Derivation of OLS普通最小二乘法的推导普通最小二乘法的推导n We want to choose values of the parameters that will ensure that the sample versions of our moment restrictions are true目标是通过选择参数值,使得在样本中矩条件也可以成立。n The sample versio
23、ns are as follows:0011011101niiiiniiixyxnxynbbbbIntermediate Econometrics Yan Shen25Derivation of OLS普通最小二乘法的推导普通最小二乘法的推导nGiven the definition of a sample mean, and properties of summation, we can rewrite the first condition as follows根据样本均值的定义以及加总的性质,可将第一个条件写为xyxy1010or,bbbbIntermediate Econometric
24、s Yan Shen26Derivation of OLS普通最小二乘法的推导普通最小二乘法的推导niiiniiniiiniiiniiiixxyyxxxxxyyxxxyyx12111111110bbbbIntermediate Econometrics Yan Shen27So the OLS estimated slope is因此OLS估计出的斜率为0 that provided121211niiniiniiixxxxyyxxbIntermediate Econometrics Yan Shen28Summary of OLS slope estimateOLS斜率估计法总结n The s
25、lope estimate is the sample covariance between x and y divided by the sample variance of x.n If x and y are positively correlated, the slope will be positive.n If x and y are negatively correlated, the slope will be negative.n Only need x to vary in our sample.n斜率估计量等于样本中x 和 y 的协方差除以x的方差。若x 和 y 正相关则
展开阅读全文