ImageVerifierCode 换一换
格式:PPT , 页数:34 ,大小:305KB ,
资源ID:10384002      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/10384002.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(计量虚拟变量讲解.ppt)为本站上传会员【仙人****88】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

计量虚拟变量讲解.ppt

1、单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,*,*,中级计量经济学,INTERMEDIATE ECONOMETRICS,多元回归虚拟变量之二,Chapter Outline,Describing Qualitative Information,A Single Dummy Independent Variable,Using Dummy Variable for Multiple Categories,Interactions Involving Dummy Variables,A Binary Dependent Variable:The Line

2、ar Probability Model,5/26/2025,2,Interactions Among Dummy Variables,Interactions of dummy variables with other dummy variables and/or other explanatory variables makes the regression analysis much more powerful.,We start with the interaction of a dummy with another dummy.,Interactions of dummies all

3、ows another way to observe and test group difference among different groups.,5/26/2025,3,Interactions Among Dummy Variables,Consider the wage model with female-married interaction with the base group still be single men:,This model also allows us to obtain the estimated wage differential among all f

4、our groups,but here we must be careful to plug in the correct combination of zeros and ones.,Comment:no real advantage over using multiple dummy variables.Just another possible way.,5/26/2025,4,Interacting Dummies with Other Explanatory Variables,For what?To allow differences in slopes.,Now suppose

5、that we wish to test whether the return to education is the same for men and women,allowing for a constant wage differential between men and women.,We need a model that allows for a constant wage differential as well as different returns to education.,5/26/2025,5,Interacting Dummies with Other Expla

6、natory Variables,To be more specific,we wish to model to be,log(wage)=,0,+,1,educ+u,for male,log(wage)=,0,+,1,educ+u,for female,where,0,0,as we have already found evidence that there exists wage differential between male and female.,Let,0,=,0,+,0,1,=,1,+,1,then we can combine the above two equations

7、 using a dummy,female,:,log(wage)=,0,+,0,female,+(,1,+,1,female,),educ+u,rearranging,log(wage)=,0,+,0,female,+,1,educ+,1,female,educ+u,where we observe the dummy,and the interaction of the dummy with other explanatory variables.,5/26/2025,6,Interacting Dummies with Other Explanatory Variables,The eq

8、uation,log(wage)=,0,+,0,female,+,1,educ+,1,female,educ+u,shows that,0,measures t,he,difference in intercepts between women and men,and,1,measures the difference in the,return to education between women and men.,After we estimate the above equation using OLS,we can perform hypothesis about return to

9、education and wage differential.,Holding other factors unchanged,we can use figures to show the impacts of different combinations of,0,and,1,on log(wage).,5/26/2025,7,(a)women earn less than men at all levels of education,and the gap increases as,educ,gets,larger.(b,)women earn less than men at low

10、levels of education,but the gap narrows as education increases.,5/26/2025,8,Hypothesis testing,H,0,:the return to education is the same for women and men.,This amounts to test H,0,:,1,=,0.That is,the wage differential should be the same for all levels of education level.,H,0,:Average wages are ident

11、ical for men and women who have the same levels of education.,This is to test H,0,:,0,=,0,1,=,0.F test can be used in this case.,5/26/2025,9,Example:Log hourly wage equation,The wage equation is estimated with tenure:,Interpretation:The estimated return to education for men in this equation is.082,o

12、r 8.2%.For women,it is.082-.0056=.0764,or about 7.6%.The difference,.56%,or just over one-half a percentage point less for women,is not economically large nor statistically significant.No evidence against the hypothesis that the return to education is the same for men and women,.,5/26/2025,10,Exampl

13、e:Log hourly wage equation,Caution:interacting dummy with other explanatory variables can cause,multicollinearity,problem.,Evidence 1:The standard error the dummy female is 0.036 without interaction term,it is 0.168 with it.5 times larger.,Evidence 2:the correlation matrix directly measures the degr

14、ee of correlation:,5/26/2025,11,Example:Log hourly wage equation,What to do?,Notice the wage differential between women and men is estimated when,educ,=0.Not interesting.,More interesting would be to estimate the gender differential at,say,the average education level in the sample(about 12.5).,To do

15、 this,we would replace,female,educ,with,female,(,educ,-,12.5)and rerun the regression;this only changes the coefficient on,female,and its standard error.,5/26/2025,12,Example:Effects of race on baseball player salaries,The following equation is estimated for the 330 major league baseball players for

16、 which city racial composition statistics are available.,black,and,hispan,:,binary indicators for the individual players.(The base group is white players.),percblck,:,percentage of the teams city that is black,perchisp,is the percentage of Hispanics.,Other variables measure aspects of player product

17、ivity and longevity.,The interactions,blackpercblck,and,hispanperchisp,are added in to observe race effects.,5/26/2025,13,Example:Effects of race on baseball player salaries,5/26/2025,14,Example:Effects of race on baseball player salaries,We focus on the race variables.The F test shows all four vari

18、ables are jointly statistically significant at 5%sig.level.,How to interpret?For example,consider what happens for black players,holding,perchisp,fixed.,The coefficient.198 on,black,literally means that,if a black player is in a city with no blacks(,percblck,=,0),then the black player earns about 19

19、8%less than a comparable white player.,As,percblck,increase while holding,perchisp,is held fixed,the salary of blacks increases relative to that for whites.,When,percblck,=,20,blacks earn about 5.2%more than whites.The largest percentage of blacks in a city is about 74%(Detroit).,Conclusion:cannot

20、simply claim discrimination,city composition matters.,5/26/2025,15,Testing for Differences in Regression FunctionsAcross Groups,Sometimes we wish to test the null hypothesis that two populations or groups follow the same regression function.,For example,we want to test whether the same regression mo

21、del describes college GPA for male and female college athletes.If the regression function for male is,cumgpa,=,0,+,1,sat,+,2,hsperc+,3,tothrs+u,and that for female is,cumgpa,=(,0,+,0,)+(,1,+,1,),sat,+(,2,+,2,)hsperc+(,3,+,3,),tothrs+u,The null hypothesis is H,0,:,0,=,0,1,=,0,2,=,0,3,=,0.,This hypoth

22、esis can be tested by combing the above two equations into one,5/26/2025,16,Testing for Differences in Regression FunctionsAcross Groups,A F test can be performed after the regression,The F test statistic calculated using both restricted and unrestricted model is 8.14,rejects the null at 5%significa

23、nce level.,Again,need to be careful when interpreting parameters for female.Reasonable to compare gender differential at mean values of other explanatory variables,.,5/26/2025,17,The General Case:The Chow Test,In the general model with,k,explanatory variables and an intercept,suppose we have two gro

24、ups,call them,g=,1 and,g=,2.We would like to test whether the intercept and all slopes are the same across the two groups.Write the model as,The hypothesis that each beta in the above equation is the same across the two groups involves,k+,1 restrictions.,The unrestricted model is the one that has a

25、group dummy variable and,k,interaction terms in addition to the intercept and variables themselves,has,n-,2(,k+,1)degrees of freedom.,5/26/2025,18,The General Case:The Chow Test,Let SSR,1,and SSR,2,be the sum of squared residuals obtained estimating the above equation for the first and the second gr

26、oup,respectively.,Key insight:the sum of squared residuals for the unrestricted model is simply,SSR,ur,=SSR,1,+SSR,2,.,The restricted sum of squared residuals is just the SSR from pooling the groups and,stimating,a single equation.,Once we have these,we compute the,F,statistic,which is called the Ch

27、ow Statistic in econometrics.,5/26/2025,19,The General Case:The Chow Test,The Chow Statistic:,The DOF for the numerator is calculated from,n,-(,k,+1)-,n,1,-(,k,+1)+,n,2,-(,k,+1)=,k,+1,using,n,1,+,n,2,=,n,.,In the GPA example,k,=3,n,1,=90,n,2,=276,SSR=85.515,SSR,1,=19.603,SSR,2,=58.752,SSR,ur,=19.603

28、58.752=78.355,n,=366.,F=(85.515-78.355)/78.355*(358/4)8.18.,5/26/2025,20,The General Case:The Chow Test,One important limitation of the Chow test is that the null hypothesis allows for no differences at all between the groups.,In many cases,it is more interesting to allow for an intercept differenc

29、e between the groups and then to test for slope differences.,To do this,we must use the approach of putting interactions directly in the equation and testing joint significance of all interactions.,5/26/2025,21,The Linear Probability Model:A Binary Dependent Variable,We have just studied through the

30、 use of binary independent variables,how to incorporate qualitative information as explanatory variables in a multiple regression model.,What happens if we want to use multiple regression to,explain,a qualitative event?,Marry or not to marry;work or not to work;have a child or not to have a child,5/

31、26/2025,22,The Linear Probability Model:A Binary Dependent Variable,Now in a regression model,beta,cannot be interpreted as the change in,y,given a one-unit increase in,x,holding all other factors fixed,since,y,either changes from zero to one or from one to zero.,Since under the zero conditional mea

32、n,we have,and since,E(y|x,)=,P(y,=1|x),we get the important equation,5/26/2025,23,The Linear Probability Model:A Binary Dependent Variable,We call,Pr(,y,=1|,x,)the response probability.The above model is an example of binary response model.,The multiple linear regression model with a binary dependen

33、t variable is called the,linear probability model,(,LPM,)because the response probability is linear in the parameters,j,.,In the LPM,j,measures the change in the probability of success when,x,j,changes,holding other factors fixed:,5/26/2025,24,Example:Female Labor Force Participation,Let,inlf,(“in t

34、he labor force”)be a binary variable indicating labor force participation by a married woman during 1975:,inlf,=,1 if the woman reports working for a wage outside the home at some point during the year,and 0 otherwise.,5/26/2025,25,Interpreting the estimated coefficients,We must remember that a chan

35、ge in the independent variable changes the probability that,inlf,=,1.,For example,the coefficient on,educ,means that,everything else held fixed,another year of education increases the probability of labor force participation by.038.(figure next page),The coefficient on,nwifeinc,implies that,if,nwife

36、inc,=,10(which means an increase of$10,000),the probability that a woman is in the labor force falls by.034.,Experience:Holding other factors fixed,the estimated change in the probability is approximated as.039-2(.0006),exper=,.039-.0012,exper,.,Having one additional child less than six years old re

37、duces the probability of participation by.262,at given levels of the other variables.,5/26/2025,26,5/26/2025,27,Problems with Linear Probability Model,First,we can get predicted probabilities either less than zero or greater than one.,Second,sometimes it is unreasonable to assume that a probability

38、cannot be linearly related to the independent variables for all their possible values.,The above example indicates that predicts that the effect of going from zero children to one young child reduces the probability of working by.262,and this is also the predicted drop if the woman goes from have on

39、e young child to two.What about 5 to 6?Unreasonable.,5/26/2025,28,What to do?,One way is to use more complex models,like the,logit,model,or the,probit,model.,The other way is to live with this problem,enjoy its simplicity and powerfulness when the above two problems are not central to our analysis.,

40、5/26/2025,29,Caution:,Heteroskedasticity,is Under Way,When,y,is a binary variable,its variance,conditional on,x,is,where,p,(,x,)is shorthand for the probability of success.,HSK does not cause bias in OLS estimators,but the t and F statistics needs the HMK assumption,hence the standard error in LPM n

41、eed to be interpreted with caution.,We shall learn how to correct for HSK in the coming chapter.,Good news:in many applications,the usual OLS statistics are not far off,and it is still acceptable in applied work to present a standard OLS analysis of a linear probability model.,5/26/2025,30,Example:A

42、 Linear Probability Model of Arrests,Let,arr86,be a binary variable equal to unity if a man was arrested during 1986,and zero otherwise.The population is a group of young men in California born in 1960 or 1961 who have at least one arrest prior to 1986.,P,cnv:,the,proportion of prior arrests that le

43、d to a conviction,avgsen:,the,average sentence served in the past(in months),tottime,:months spent in prison since age 18 prior to 1986,ptime86:,months spent in prison in 1986,qemp86,:the number of quarters(0 to 4)that the man was legally employed in 1986.,5/26/2025,31,Example:A Linear Probability M

44、odel of Arrests,The estimated equation is,Interpretations:,Increasing,pcnv,by.5 decreases the probability of arrest by.081.,Since,ptime86,is measured in months,6 more months in prison reduces the probability of arrest by.022(6)=.132.But if,ptime86=,12,the probability of arrests should be zero.Anothe

45、r example that the probability cannot be linear in all range of the control variables.,Employment reduces the probability of arrest in a significant way.All other factors fixed,a man employed in all four quarters is.172 less likely to be arrested than a man who was not employed at all.,5/26/2025,32,

46、Including Dummies in LPM,We can also include dummy independent variables in models with dummy dependent variables.,The coefficient measures the predicted difference in probability when the dummy variable goes from zero to one.,For example,two race dummies are added in:,5/26/2025,33,Including Dummies in LPM,Interpretation:,The coefficient on black:the probability of arrest is 17 percentage points higher for blacks than for whites.The difference is statistically significant as well.,Similarly,Hispanic men have a.096 higher chance of being arrested than white men.,5/26/2025,34,

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服