版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Analysis of Cross Section and Panel Data,Yan Zhang School of Economics, Fudan University CCER, Fudan University,Introductory EconometricsA Modern Approach,Yan Zhang School of Economics, Fudan University CCER, Fudan University,Analysis of Cross Section and Panel Data,Part 1. Regression Analysis on Cr
2、oss Sectional Data,Chap 2. The Simple Regression ModelPractice for learning multiple Regression,Bivariate linear regression model :the slope parameter in the relationship between y and x holding the other factors in u fixed; it is of primary interest in applied economics. :the intercept parameter, a
3、lso has its uses, although it is rarely central to an analysis.,More Discussion,:A one-unit change in x has the same effect on y, regardless of the initial value of x. Increasing returns: wage-education (f. form) Can we draw ceteris paribus conclusions about how x affects y from a random sample of d
4、ata, when we are ignoring all the other factors? Only if we make an assumption restricting how the unobservable random variable u is related to the explanatory variable x,Classical Regression Assumptions,Feasible assumption if the intercept term is included Linearly uncorrelated zero conditional exp
5、ectation Meaning = 内生性 PRF (Population Regression Function): sth. fixed but unknown,OLS,Minimize uu sample regression function (SRF) The point is always on the OLS regression line.,拟合值与残差,PRF:,OLS,Coefficient of determination the fraction of the sample variation in y that is explained by x. the squa
6、re of the sample correlation coefficient between and Low R-squareds,Units of Measurement,If one of the dependent variables is multiplied by the constant cwhich means each value in the sample is multiplied by cthen the OLS intercept and slope estimates are also multiplied by c. If one of the independ
7、ent variables is divided or multiplied by some nonzero constant, c, then its OLS slope coefficient is also multiplied or divided by c respectively. The goodness-of-fit of the model, R-squareds, should not depend on the units of measurement of our variables.,Function Form,Linear Nonlinear Logarithmic
8、 dependent variable A Percentage change in y, semi-elasticity an increasing return to edu. Other nonlinearity: diploma effect Bi-Logarithmic A a Constant elasticity Change of units of measurement P45, error: b0*b0+log(c1)-b1log(c2),Bi-Logarithmic A a Constant elasticity Change of units of measuremen
9、t P45, error b0*b0+log(c1)-b1log(c2) Be proficient at interpreting the coef.,Unbiasedness of OLS Estimators,Statistical properties of OLS 从总体中随机抽样取出的不同样本的OLS估计 的分布性质 Assumptions Linear in parameters (f. form; advanced methods) Random sampling (time series data; nonrandom sampling) Zero conditional m
10、ean (unbiased biased; spurious cor) Sample Variation in the independent variables (colinearity) Theorem (Unbiasedness) Under the four assumptions above, we have:,Variance of OLS Estimators,的随机抽样以 为中心,问题是 究竟距离 多远? Assumptions Homoskedasticity: Error variance A larger means that the distribution of th
11、e unobservables affecting y is more spread out. Theorem (Sampling variance of OLS estimators) Under the five assumptions above:,Variance of y given x,Conditional mean and variance of y: Heteroskedasticity,What does depend on?,More variation in the unobservables affecting y makes it more difficult to
12、 precisely estimate The more spread out is the sample of xi -s, the easier it is to find the relationship between E(y x) and x As the sample size increases, so does the total variation in the xi. Therefore, a larger sample size results in a smaller variance of the estimator,Estimating Error Variance
13、,Errors (Disturbances) and Residuals Errors: , population Residuals: , estimated f. Theorem (The unbiased estimator of ) Under the five assumptions above, we have: standard error of the regression (SER): Estimating the standard deviation in y after the effect of x has been taken out. Standard Error
14、of :,Regression through the Origin,Regression through the Origin: Pass through E.g. income tax revenue income The estimator of OLS: = only if 0 if the intercept 0, then is a biased estimator of,Chap 3. Multiple Regression Analysis:Estimation,Advantages of multiple regression analysis build better mo
15、dels for predicting the dependent variable. E.g. generalize functional form. Marginal propensity to consume Be more amenable to ceteris paribus analysis Chap 3.2 Key assumption: Implication: other factors affecting wage are not related on average to educ and exper. Multiple linear regression model:,
16、:the ceteris paribus effect of xj on y,Ordinary Least Square Estimator,SPF: OLS: Minimize F.O.C: ceteris paribus interpretations: Holding fixed, then Thus, we have controlled for the variables when estimating the effect of x1 on y.,Holding Other Factors Fixed,The power of multiple regression analysi
17、s is that it provides this ceteris paribus interpretation even though the data have not been collected in a ceteris paribus fashion. it allows us to do in non-experimental environments what natural scientists are able to do in a controlled laboratory setting: keep other factors fixed.,OLS and Ceteri
18、s Paribus Effects,Step of OLS: (1) :the OLS residuals from a multiple regression of x1 on (2) :the OLS estimator from a simple regression of y on measures the effect of x1 on y after x2, xk have been partialled or netted out. Two special cases in which the simple regression of y on x1 will produce t
19、he same OLS estimate on x1 as the regression of y on x1 and x2.,Goodness-of-fit,also equal the squared correlation coef. between the actual and the fitted values of y. R never decreases, and it usually increases when another independent variable is added to a regression. The factor that should deter
20、mine whether an explanatory variable belongs in a model is whether the explanatory variable has a nonzero partial effect on y in the population.,Regression through the origin,the properties of OLS derived earlier no longer hold for regression through the origin. the OLS residuals no longer have a ze
21、ro sample average. can actually be negative. to calculate it as the squared correlation coefficient if the intercept in the population model is different from zero, then the OLS estimators of the slope parameters will be biased.,The Expectation of OLS Estimator,Assumptions(简单回归模型假定的直接推广;比较) Linear i
22、n parameters Random sampling Zero conditional mean No perfect co-linearity none of the independent variables is constant; and there are no exact linear relationships among the independent variables Theorem (Unbiasedness) Under the four assumptions above, we have:,rank (X)=K,Notice 1: Zero conditiona
23、l mean,Exogenous Endogenous Misspecification of function form (Chap 9) Omitting the quadratic term The level or log of variable Omitting important factors that correlated with any independent v. 如果被遗漏的变量与解释变量相关,则零条件方差不成立,回归结果有偏 Measurement Error (Chap 15, IV) Simultaneously determining one or more x
24、-s with y (Chap 16, 联立方程组),Omitted Variable Bias: The Simple Case,Problem:Excluding a relevant variable or Under-specifying the model(遗漏本来应该包括在总体(真实)模型中的变量) Omitted Variable Bias (misspecification analysis) The true population model: The underspecified OLS line: The expectation of : The Omitted vari
25、able bias:,前面3.2节中是x1对x2回归,Omitted Variable Bias: Nonexistence,Two cases where is unbiased: The true population model: is the sample covariance between x1 and x2 over the sample variance of x1 If , then 的无偏性与x2无关,估计时只需调整截距,将x2放入误差项不影响零条件均值假定 Summary of Omitted Variable Bias: The expectation of : The
26、 Omitted variable bias:,The Size of Omitted Variable Bias,Direction Size A small bias of either sign need not be a cause for concern. Unknown Some idea we usually have a pretty good idea about the direction of the partial effect of x2 on y, that is, the sign of in many cases we can make an educated
27、guess about whether x1 and x2 are positively or negatively correlated. E.g. (Upward/downward Bias; biased toward zero),高估!,Omitted Variable Bias: More General Cases,Suppose: x2 and x3 are uncorrelated, but that x1 is correlated with x3. Both and will normally be biased. The only exception to this is
28、 when x1 and x2 are also uncorrelated. Difficult to obtain the direction of the bias in and Approximation: if x1 and x2 are also uncor.,Notice 2: No Perfect Collinearity,An assumption only about x-s, nothing about the relationship between u and x-s Assumption MLR.4 does allow the independent variabl
29、es to be correlated; they just cannot be perfectly correlated. Ceteris Paribus effect If we did not allow for any correlation among the independent variables, then multiple regression would not be very useful for econometric analysis. Significance,Cases of Perfect Collinearity,When can independent v
30、ariables be perfectly collinear software“singular” Nonlinear functions of the same variable is not an exact linear f. Not to include the same explanatory variable measured in different units in the same regression equation. More subtle ways one independent variable can be expressed as an exact linea
31、r function of some or all of the other independent variables. Drop it Key:,Notice 3: Unbiase,the meaning of unbiasedness: an estimate cannot be unbiased: an estimate is a fixed number, obtained from a particular sample, which usually is not equal to the population parameter. When we say that OLS is
32、unbiased under Assumptions MLR.1 through MLR.4, we mean that the procedure by which the OLS estimates are obtained is unbiased when we view the procedure as being applied across all possible random samples.,Notice 4: Over-Specification,Inclusion of an irrelevant variable or over-specifying the model
33、: does not affect the unbiasedness of the OLS estimators. including irrelevant variables can have undesirable effects on the variances of the OLS estimators.,Variance of The OLS Estimators,Adding Assumptions Homoskedasticity: Error variance A larger means that the distribution of the unobservables a
34、ffecting y is more spread out. Gauss-Markov assumptions (for cross-sectional regression): Assumption 1-5 Theorem (Sampling variance of OLS estimators) Under the five assumptions above:,More about,The stastical properties of y on x=(x1, x2, , xk) Error variance only one way to reduce the error varian
35、ce: to add more explanatory variablesnot always possible and desirable The total sample variations in xj: SSTj Increase the sample size,Multi-collinearity(多重共线性),The linear relationships among the independent v. 其他解释变量对xj的拟合优度(含截距项) If k=2: :the proportion of the total variation in xj that can be ex
36、plained by the other independent variables : : : High (but not perfect) correlation between two or more of the in dependent variables is called multicollinearity.,Micro-numerosity: problem of small sample size,High Low SSTj one thing is clear: everything else being equal, for estimating j, it is better to have less correlation between xj and the other x-s. How to “solve” the multicollinearity? Increase sample size Dropping som
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年网络安全教育与培训实践课件
- 人教版八年级下册历史与社会第七单元席卷全球的工业文明浪潮第一课工业革命教学设计
- 2026人工智能语音识别技术行业市场供需分析及投资评估规划研究报告
- 2026中国噪声治理设备行业市场现状供需分析及投资评估规划分析研究报告
- 河北省新乐市第一中学高中政治 3.2 树立正确的消费观教案 新人教版必修1
- 个案护理常见试题与详细答案解析
- 2026中国污水处理膜技术迭代方向与区域市场渗透率预测报告
- 2026汽车智能驾驶系统行业市场深度剖析及发展趋势与投资潜力研究报告
- 2026年黑龙江省北安市辅警招聘考试试题题库【新题速递】附答案
- 2026年苏教版高中历史必修一第4单元辛亥革命读物导读课件
- 呼吸衰竭患者观察与护理
- (高清版)DB62∕T 4278.5-2023 消防安全规范 第5部分:宗教活动场所
- 2025既有建筑消防改造设计指南
- 肝受损的护理诊断及措施
- 人教版七年级劳动教育上册全册教案
- 家庭教育讲师班培训
- 重卡换电站可行性研究报告
- 犬猫产科疾病 子宫蓄脓(宠物疾病防治课件)
- 初中完形填空专项训练40篇(含答案)
- 弹性力学有限元法详解
- JJF 1610-2017电动、气动扭矩扳子校准规范
评论
0/150
提交评论