版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Econometrics (I)Lecture 3 Extensions of Linear Regression Analysis,Dr. Sun Pei (孙霈) Associate Professor in Industrial Economics School of Management, Fudan University,2,Topics We Focus on,Intrinsically Linear Regression Models Dummy (Binary) Variable Regression Models Interactions between Explanator
2、y Variables Test of Parameter/Structural Stability,3,Intrinsically Linear Regression Models,The relationship between Y and X may be nonlinear in the sense that the marginal effect of X on Y is not constant “Intrinsically linear” means that the model is still linear in parameters If the relationship
3、is nonlinear, a linear regression is misspecified (wrong functional form) and the estimator of the effect on Y of X is biased,4,Scatterplot of Test Scores vs. District Income with a Linear Regression Line,5,Observations,Positive correlation between test scores and average income Most of the points a
4、re below the OLS line when income is under $10,000 or over $40,000 Most of the points are above the OLS line when income is between $15,000 and $30,000 The slope of the function f(X) tends not to be constant,6,Increasing Return to Education,7,Intrinsically Linear Regression Models,Polynomials in X T
5、he population regression function is approximated by a quadratic, cubic, or higher-degree polynomial Yi = 0 + 1Xi + 2 X2+ r Xr + ui This is just the linear multiple regression model except that the regressors are powers of X The coefficients are difficult to interpret, but the regression function it
6、self is interpretable Logarithmic Transformations Y and/or X is transformed by taking its natural logarithm This gives a “percentages” interpretation that makes sense in many applications,8,Polynomials in X,Example 1: The test score income relation Quadratic specification: TestScorei = 0 + 1Incomei
7、+ 2(Incomei)2 + ui Cubic specification: TestScorei = 0 + 1Incomei + 2(Incomei)2 + 3(Incomei)3 + ui Incomei = average district income in the ith district (thousands of dollars per capita),9,Estimation of the Quadratic Specification,10,Scatterplot of Test Scores vs. District Income with Linear and Qua
8、dratic Regression Functions,11,Interpreting the Estimated Regression Function,12,Estimation of a Cubic Specification,13,The Cubic Specification,14,Polynomials in X,Example 2: The relationship between wage and experience Wooldridge (2006, p. 200, WAGE1.RAW) Wage: Dollars per hour Experience: Years of
9、 labor market experience,15,Quadratic Regression Functions,The first year of experience (from 0 to 1) is worth 29.8 cents per hour, and the second year (from 1 to 2) is worth 0.298 2(0.0061)(1) = 0.286 28.6 cents, and in going fro 10 to 11 years, hourly wage is to increase by about 17.6 cents 0.298
10、2(0.0061)(10)=0.176 The turning point of hourly wage is achieved when exper* = 0.298/2(0.0061)=24.4,16,Few people in the sample have more than 24 years of experience? No. 28% of the people in the sample 24 years The inverted U shape relation actually exists Omitted viable bias,17,Logarithms in Y and
11、/or X,18,The Linear-Log Model,The absolute change in Y (dY) is equal to the coefficient times the relative change in X (dX/X) If (dX/X) 100, one percent change in X will lead Y to change by 0.011,19,The Linear-Log Model,20,The Linear-Log and Cubic Regression Functions,21,Student Performance and Scho
12、ol Size,Wooldridge (2006, p. 133), MEAP93.RAW 408 high schools in Michigan for the year 1993 Variables Performance: % of students passing the tenth-grade math test (math10) School size: student enrollment (enroll) Control variables: teacher quality (average annual teacher compensation, totcomp), and
13、 class size (the number of staff per one thousand students, staff),22,Student Performance and School Size,Linear Regression Linear-Log Regression Which one do we prefer?,23,The Log-Linear Model,The relative change in Y (dY/Y) is equal to the coefficient times the absolute change in X (dX) One unit c
14、hange in X (dX=1) is associated with a 1001 % change in Y (dY/Y) In time-series data, when X = t, the estimated coefficient is the growth rate of Y,24,Relationship between Wage and Education,The effect of “another year of education” on hourly wage may not be linear. Wooldridge (2006, p. 131, WAGE1.R
15、AW) Wage: Dollars per hour Education: Years of schooling (educ) Tenure: Years with the current employer Hourly wage increases by 9.2% for every another year of education, hourly wage increases only by 0.4% for every another year of experience, and it increases by 2.2% by every another year of tenure
16、,25,The Log-Log Model,1% change in X (dX/X) is associated with1% change in Y (dY/Y) . 1 has the interpretation of an elasticity a constant elasticity model,26,The Log-Log Model,27,The Log-Linear and Log-Log Regression Functions,Note vertical axis Neither seems to fit as well as the cubic or linear-l
17、og,28,Campus Crime and Enrollment,Wooldridge (2006, p. 137), CAMPUS.RAW Crime: annual number of crimes on college campuses 97 colleges and universities in the US for the year 1992 H0: The population coefficient on ln(enroll) = 1 H1: The population coefficient on ln(enroll) 1 Crime is more of a probl
18、em on larger campuses, but this interpretation suffers from omitted variable bias,29,30,Housing Prices and Air Pollution,Wooldridge (2006, p. 139), 506 communities in Boston price: median housing price in a community nox: the amount of nitrogen oxide in the air dist: distance of a community to emplo
19、yment centers rooms: average number of rooms in houses in a community stratio: average student-teacher ratio in a community H0: The population coefficient on ln(nox) = -1 Cannot reject the null hypothesis (elasticity = -1),31,Model of R Reject H0 The differential of $1.81 is due to gender or factors
20、 associated with gender that we have not controlled for in the regression Simple regression on a constant and a dummy variable is the same as a comparison-of-means test the two groups Assume homoskedasticity: Population variance in wages for men is equal to that for women,40,Effects of Training Gran
21、ts on Hours of Training,In many cases, dummy variables are not predetermined but reflect choices of individuals or other economic units. Causality is again a central issue. Wooldridge (2006, p. 236) JTRAIN.RAW Year 1988 data for Michigan manufacturing firms hrsemp: hours of training per employee gra
22、nt: equals 1 if received a job training grant, 0 otherwise employ: number of employees,41,Dummy Variables for Multiple Categories,In the Hourly Wage Equation, we can add another dummy married in the regression, but the effect of marriage is assumed to be the same for men and women Instead, we can ha
23、ve four groups: married men, married women, single men (base group), and single women. This leads to three dummies (Wooldridge, 2006, p. 239) The estimates on the three dummies measure the proportionate difference in wage relative to single males Can also find the difference between any two groups,
24、but the statistical significance cannot be guaranteed,42,Dummy Variables for Multiple Categories,Ordinal information/variables Credit ratings from 0 to 4 Rankings Interest Rate = 0+1CR1+2CR2+3CR3+4CR4 + other factors Base group: CR = 0 CR1 = 1 if CR = 1, 0 otherwise; CR2= 1 if CR = 2, 0 otherwise; a
25、nd so on H0: Constant partial effect (2 = 2 1 , 3 = 3 1 , 4 = 4 1) Restricted model: Interest Rate = 0+1(CR1+2CR2+3CR3+4CR4) + other factors,43,Dummy Variables for Multiple Categories,Effects of Physical Attractiveness on Wage (Wooldridge, 2006, p. 242) Three groups: average, below average, above av
26、erage Base group: average Estimation for men Estimation for women,44,Dummy Variables for Multiple Categories,Effects of Law School Rankings on Starting Salaries (Wooldridge, 2006, p. 243, LAWSCH85.RAW) Base group: School ranked below 100 Five dummies: top 10, r11_25, r26_40, r41_60, R61_100,45,Log-L
27、inear Regression with Dummy Regressor,What if the regressor is qualitative, but not continuous? When Di = 0, When Di = 1,46,Interactions between Two Dummy Variables,47,Interactions between Two Dummy Variables,48,Log Hourly Wage Equation,Previously, we have Now we can recast the model by using an int
28、eraction term between married and female The coefficient on the interaction term is significant, thus rejecting the null hypothesis that the wage effect of marital status does not depend on gender (or the wage effect of gender does not depend on marital status) There seems to be a marriage premium,
29、but this effect is offset by being a women.,49,Test Score, Class Size and English Learners,50,Interactions between Two Continuous Variables,51,Test Score, Class Size and English Learners,52,The Demand for Economics Journals,Stock and Watson (pp. 288-290): 180 journals for the year 2000 Proxy for the
30、 “real” price of a journal: Price per citation Findings: See the table attached Demand is less than elastic Demand is less elastic for older than for newer journals,53,Interactions between Two Continuous Variables,1 is the partial effect of X1 on Y when X2 = 0. Often, this is not of much interest. W
31、e can instead reparameterize the model as Now the new coefficient on X1 is the partial effect of X1 on Y at the mean value of X2. Therefore, if we subtract the sample means before creating the interaction term, the coefficients on the original variables have a useful interpretation.,54,Effects of At
32、tendance on Exam Performance,Wooldridge (2006, p. 205, ATTEND.RAW) Class attendance rate may have a different effect for students who have performed differently in the past (priGPA) The estimated coefficient on atndrte is not very informative, and the one on the interaction term is not significant H
33、owever, the p-value the F test of the joint hypothesis (both coefficients equal to zero) is 0.014 Replacing (priGPA)(atndrte) with (priGPA 2.59) atndrte gives the new coefficient on atndrte equal to 0.0078, along with its standard error equal to 0.0026, so it is statistically significant at the mean
34、 value of priGPA.,55,Interactions between a Dummy Variable and a Continuous Variable,56,Regression Functions Using Dummy and Continuous Variables,57,Test Score, STR and English Learners,58,Test Score, STR and English Learners,59,The Return to Education and the Gender Gap,60,Stock and Watson (2007, p
35、p. 284-285): U.S. full-time workers aged from 30 through 64; See the table attached The omitted variable bias is not serious in this sample; The return to education generally lies between 8% and 11% in empirical work The returns to education are economically and statistically significantly different
36、 for men and women, after controlling for experience and regional dummies The gender gap is closing with more education,The Return to Education and the Gender Gap,61,Effects of Race on Baseball Player Salaries,Wooldridge (2006, p. 248): MLB1.RAW 330 major league baseball players for which city racia
37、l composition statistics are available Base group: white players percblck: % of the teams city that is black perchisp: % of the teams city that is Hispanic Racial discrimination does not necessarily exist Potential self-selection problem,62,Piecewise Linear Regression,Suppose a threshold value is kn
38、own in advance Di = 1 if Xi X*, Di = 0 if Xi X* See the attached graphs A test of whether there is a break in the regression line at the threshold value can be done by simply checking the statistical significance of,63,Application: Test Score and STR,Two nuanced questions Are there nonlinear effects
39、 of class size reduction on test scores? (Does a reduction from 35 to 30 have same effect as a reduction from 20 to 15?) Are there nonlinear interactions between PctEL and STR? (Are small classes more effective when there are many English learners?),64,Strategy for Answering Question 1,65,Strategy f
40、or Answering Question 2,66,67,Findings,Regressions (1) and (2): Benchmark regressions with control variables but without introducing nonlinearity in STR and interaction terms The estimated linear marginal effect: -0.73 Regressions (3) and (4): Dummy variable of HiEL and its interaction with STR intr
41、oduced Fail to find significant interacting effects Regression (5): Cubic specification for STR with HiEL dummy and without interaction terms: Do find significant nonlinear effects Regression (6): Adding interaction terms on the basis of (5) Limited evidence on interacting effects Regression (7): Mo
42、dification of (5) by changing the HiEL dummy to the continuous PctEL Results similar to those in (5),68,Three Regression Functions Relating Test Scores to STR,69,Regression Functions for Districts with High or Low PctEL,70,Test of Parameter/Structural Stability,Whether in cross-sectional or time-ser
43、ies data, we may wish to know if the same regression function can be used to characterize different subgroups or periods Group/Period I (N1 observations): Y1 = X11 + u1 Group/Period II (N2 observations): Y2 = X22 + u2 The hypothesis we need to test H0: 1 = 2 = ,71,Test of Parameter/Structural Stability,Under H0, the restricted model (with k restrictions) is simply Y = X+ u, (n = N1+N2) In the unrestricted model, It can be shown that,72,The Chow Test,Now we can use the general principle of the test for linear restrictions to construct F (Chow) statistic as follows H0 is rejected w
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 二年级美术上册苏少版第二单元《瓜果真奇妙》教学设计
- 小升初核心词组教学设计-六年级下册英语
- 高中英语一年级Unit 1 Teenage Life重点单词教学设计
- 小学六年级道德与法治《守护绿色家园 筑牢防火防线》主题班会教学设计
- 小学二年级道法第二课时《家乡物产养育我》教学设计
- 初中语文九年级中考文言文专题复习教学设计:托物言志类散文深度解读-以《爱莲说》为例
- 高三地理艺术生文化课复习宇宙中的地球教学设计
- 小学六年级综合实践活动教学设计-校园文化活动我参与:基于项目式学习的校园微改造实践
- 高中生物必修一 分子与细胞 核心概念建构与思维品质培育教学设计
- 高一语文必修下册《与妻书》教学设计:以文本细读重构鲁迅形象
- 生物专业师范类毕业论文
- 绵阳初三一诊数学试卷
- 医院服务接待礼仪
- 板式支护、槽钢支护施工方法
- 腹部超声常见疾病诊断要点
- 心理破冰活动方案
- 《中职语文基础知识手册》全套教学课件
- 【MOOC】人工智能与信息社会-北京大学 中国大学慕课MOOC答案
- 新沪科版八年级物理上册《第四单元神奇的透镜》单元测试卷及答案
- 《有机化学》课程说课
- hb 7224-2000 复合材料构件通用技术条件
评论
0/150
提交评论