TheSimpleRegressionModel.ppt_第1页
TheSimpleRegressionModel.ppt_第2页
TheSimpleRegressionModel.ppt_第3页
TheSimpleRegressionModel.ppt_第4页
TheSimpleRegressionModel.ppt_第5页
已阅读5页,还剩97页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

TheSimpleRegressionModel(1)简单二元回归,y=b0+b1x+u,1,ChapterOutline本章大纲,DefinitionoftheSimpleRegressionModel简单回归模型的定义-面临的三个问题(P22)DerivingtheOrdinaryLeastSquaresEstimates普通最小二乘法的推导MechanicsofOLSOLS的操作技巧UnitsofMeasurementandFunctionalForm测量单位和函数形式ExpectedValuesandVariancesoftheOLSestimatorsOLS估计量的期望值和方差RegressionthroughtheOrigin过原点回归,IntermediateEconometricsYanShen,2,LectureOutline讲义大纲,SomeTerminology一些术语的注解(P23)Functionalrelationship(P23)Difficult(P24)ASimpleAssumption一个简单假定(P25)ZeroConditionalMeanAssumption条件期望零值假定WhatisOrdinaryLeastSquares何为普通最小二乘法DerivingOLSEstimates普通最小二乘法的推导,IntermediateEconometricsYanShen,3,SomeTerminology术语注解,Inthesimplelinearregressionmodel,wherey=b0+b1x+u,wetypicallyrefertoyastheDependentVariable,orLeft-HandSideVariable,orExplainedVariable,orRegressand在简单二元回归模型y=b0+b1x+u中,y通常被称为因变量,左边变量,被解释变量,或回归子。,IntermediateEconometricsYanShen,4,SomeTerminology术语注解,Inthesimplelinearregressionofyonx,wetypicallyrefertoxastheIndependentVariable,orRight-HandSideVariable,orExplanatoryVariable,orRegressor,orCovariate,orControlVariables在y对x进行回归的简单二元回归模型中,x通常被称为自变量,右边变量,解释变量,回归元,协变量,或控制变量。,5,SomeTerminology术语注解,Equationy=b0+b1x+uhasonlyonenonconstantregressorx,itiscalledasimplelinearregressionmodel,ortwo-variablesregressionmodel,orbivariatelinearregressionmodel.等式y=b0+b1x+u只有一个非常数回归元。我们称之为简单回归模型,两变量回归模型或双变量回归模型.,6,SomeTerminology术语注解,Thecoefficientsb0,b1arecalledtheregressioncoefficients.b0isalsocalledtheconstanttermortheinterceptterm,orinterceptparameter.b1representsthemarginaleffectsoftheregressor,x.Itisalsocalledtheslopeparameter.b0,b1被称为回归系数。b0也被称为常数项或截矩项,或截矩参数。b1代表了回归元x的边际效果,也被成为斜率参数。,7,SomeTerminology术语注解,Thevariableuiscalledtheerrortermordisturbanceintherelationship.Itrepresentsfactorsotherthanxthatcanaffecty.u为误差项或扰动项,它代表了除了x之外可以影响y的因素。,8,SomeTerminology术语注解,Meaningoflinear:linearmeanslinearinparameters,notnecessarilymeanthatyandxmusthavealinearrelationship.Therearemanycasesthatyandxhavenonlinearrelationship,butaftersometransformation,theyarelinearinparameters.Forexample,y=eb0+b1x+u.线性的含义:y和x之间并不一定存在线性关系,但是,只要通过转换可以使y的转换形式和x的转换形式存在相对于参数的线性关系,该模型即称为线性模型。,9,Examples简单二元回归模型例子,Asimplewageequationwage=b0+b1(yearsofeducation)+ub1:ifeducationincreasebyoneyear,howmuchmorewagewillonegain.上述简单工资函数描述了受教育年限和工资之间的关系,b1衡量了多接受一年教育工资可以增加多少.,10,ASimpleAssumption关于u的假定,Theaveragevalueofu,theerrorterm,inthepopulationis0.Thatis,E(u)=0(2.5)Ititrestrictive?我们假定总体中误差项u的平均值为零.该假定是否具有很大的限制性呢?,11,ASimpleAssumption关于u的假定,Ifforexample,E(u)=5.Theny=(b0+5)+b1x+(u-5),therefore,E(u)=E(u-5)=0.Thisisnotarestrictiveassumption,sincewecanalwaysuseb0tonormalizeE(u)to0.上述推导说明我们总可以通过调整常数项来实现误差项的均值为零,因此该假定的限制性不大.,12,ZeroConditionalMeanAssumption条件期望零值假定,WeneedtomakeacrucialassumptionabouthowuandxarerelatedWewantittobethecasethatknowingsomethingaboutxdoesnotgiveusanyinformationaboutu,sothattheyarecompletelyunrelated.ThatisE(u|x)=E(u)。(P25)(阅读)P25FIG.2.1的阅读我们需要对u和x之间的关系做一个关键假定。理想状况是对x的了解并不增加对u的任何信息。换句话说,我们需要u和x完全不相关。,13,ZeroConditionalMeanAssumption条件期望零值假定,SincewehaveassumedE(u)=0,therefore,E(u|x)=E(u)=0.(2.6)Whatdoesitmean?由于我们已经假定了E(u)=0,因此有E(u|x)=E(u)=0。该假定是何含义?,14,ZeroConditionalMeanAssumption条件期望零值假定,Intheexampleofeducation,supposeurepresentsinnateability,zeroconditionalmeanassumptionmeansE(ability|edu=6)=E(ability|edu=18)=0.Theaveragelevelofabilityisthesameregardlessofyearsofeducation.在教育一例中,假定u代表内在能力,条件期望零值假定说明不管解释教育的年限如何,该能力的平均值相同。,15,ZeroConditionalMeanAssumption条件期望零值假定,Question:Supposethatascoreonafinalexam,score,dependsonclassesattended(attend)andunobservedfactorsthataffectexamperformance(suchasstudentability).Thenconsidermodelscore=b0+b1attend+uWhenwouldyouexpectitsatisfy(2.6)?假设期末成绩分数取决于出勤次数和影响学生现场发挥的因素,如学生个人素质。那么上述模型中假设(2.6)何时能够成立?,16,ZeroConditionalMeanAssumption条件期望零值假定,(2.6)impliesthepopulationregressionfunction,E(y|x),satisfiesE(y|x)=b0+b1x.E(y|x)asalinearfunctionofx,whereforanyxthedistributionofyiscenteredaboutE(y|x).(2.6)说明总体回归函数应满足E(y|x)=b0+b1x。该函数是x的线性函数,y的分布以它为中心。,17,18,.,.,x1=5,x2=10,E(y|x)=b0+b1x,y,f(y),给定x时y的条件分布,DerivingtheOrdinaryLeastSquaresEstimates普通最小二乘法的推导,BasicideaofregressionistoestimatethepopulationparametersfromasampleLet(xi,yi):i=1,ndenotearandomsampleofsizenfromthepopulationForeachobservationinthissample,itwillbethecasethatyi=b0+b1xi+ui回归的基本思想是从样本去估计总体参数。我们用(xi,yi):i=1,n来表示一个随机样本,并假定每一观测值满足yi=b0+b1xi+ui。,19,20,.,.,.,.,y4,y1,y2,y3,x1,x2,x3,x4,u1,u2,u3,u4,x,y,Populationregressionline,sampledatapointsandtheassociatederrorterms总体回归线,样本观察点和相应误差,E(y|x)=b0+b1x,DerivingOLSEstimates普通最小二乘法的推导,ToderivetheOLSestimatorweneedtorealizethatourmainassumptionofE(u|x)=E(u)=0alsoimpliesthatCov(x,u)=E(xu)=0(P27)Why?RememberfrombasicprobabilitythatCov(X,Y)=E(XY)E(X)E(Y)由E(u|x)=E(u)=0可得Cov(x,u)=E(xu)=0。,21,DerivingOLScontinued普通最小二乘法的推导,Wecanwriteour2restrictionsjustintermsofx,y,b0andb1,sinceu=yb0b1xE(yb0b1x)=0Ex(yb0b1x)=0Thesearecalledmomentrestrictions可将u=yb0b1x代入以得上述两个矩条件。,22,DerivingOLSusingM.O.M.使用矩方法推导普通最小二乘法,Themethodofmomentsapproachtoestimationimpliesimposingthepopulationmomentrestrictionsonthesamplemoments。矩方法是将总体的矩限制应用于样本中。,23,DerivationofOLS普通最小二乘法的推导,Wewanttochoosevaluesoftheparametersthatwillensurethatthesampleversionsofourmomentrestrictionsaretrue目标是通过选择参数值,使得在样本中矩条件也可以成立。Thesampleversionsareasfollows(P28),24,DerivationofOLS普通最小二乘法的推导,Giventhedefinitionofasamplemean,andpropertiesofsummation,wecanrewritethefirstconditionasfollows根据样本均值的定义以及加总的性质,可将第一个条件写为,25,DerivationofOLS普通最小二乘法的推导,26,SotheOLSestimatedslopeis因此OLS估计出的斜率为(P29)-meaning,27,SummaryofOLSslopeestimateOLS斜率估计法总结(P29涵义阅读,P30图的理解),Theslopeestimateisthesamplecovariancebetweenxandydividedbythesamplevarianceofx.Ifxandyarepositivelycorrelated,theslopewillbepositive.Ifxandyarenegativelycorrelated,theslopewillbenegative.Onlyneedxtovaryinoursample.斜率估计量等于样本中x和y的协方差除以x的方差。若x和y正相关则斜率为正,反之为负。,28,MoreOLS关于OLS的更多信息(P30阅读OLS),Intuitively,OLSisfittingalinethroughthesamplepointssuchthatthesumofsquaredresidualsisassmallaspossible,hencethetermleastsquares。Theresidual,isanestimateoftheerrorterm,u,andisthedifferencebetweenthefittedline(sampleregressionfunction)andthesamplepoint。OLS法是要找到一条直线,使残差平方和最小。残差是对误差项的估计,因此,它是拟合直线(样本回归函数)和样本点之间的距离。,29,30,.,.,.,.,y4,y1,y2,y3,x1,x2,x3,x4,1,2,3,4,x,y,Sampleregressionline,sampledatapointsandtheassociatedestimatederrorterms样本回归线,样本数据点和相关的误差估计项,Alternateapproachtoderivation推导方法二(P30阅读,为什么不用别的方法?),Giventheintuitiveideaoffittingaline,wecansetupaformalminimizationproblemThatis,wewanttochooseourparameterssuchthatweminimizethefollowing:正式解一个最小化问题,即通过选取参数而使下列值最小:,31,Alternateapproach,continued推导方法二(阅读P32),Ifoneusescalculustosolvetheminimizationproblemforthetwoparametersyouobtainthefollowingfirstorderconditions,whicharethesameasweobtainedbefore,multipliedbyn如果直接解上述方程我们得到下面两式,这两个式子等于前面两式乘以n,32,LectureSummary讲义总结,Introducethesimplelinearregressionmodel.Introducethemethodofordinaryleastsquarestoestimatetheslopeandinterceptparametersusingdatafromarandomsample.介绍简单线性回归模型介绍通过随机样本的数据运用普通最小二乘法估计斜率和截距的参数值,33,TheSimpleRegressionModel(2)简单二元回归,y=b0+b1x+u,34,ChapterOutline本章大纲,DefinitionoftheSimpleRegressionModel简单回归模型的定义DerivingtheOrdinaryLeastSquaresEstimates推导普通最小二乘法的估计量MechanicsofOLSOLS的操作技巧UnitesofMeasurementandFunctionalForm测量单位和回归方程形式ExpectedValuesandVariancesoftheOLSestimatorsOLS估计量的期望值和方差RegressionthroughtheOrigin过原点的回归,35,LectureOutline讲义大纲(P38),AlgebraicPropertiesofOLSOLS的代数特性Goodnessoffit拟合优度UsingStataforOLSregression使用stata做OLS回归EffectsofChangingUnitsinMeasurementonOLSStatistics改变测量单位对OLS统计量的效果,36,IntermediateEconometricsYanShen,37,MechanicsofOLSOLS的操作技巧Example:CEOSalaryandReturnonEquity例:CEO的薪水和资本权益报酬率,Example:CEOSalaryandReturnonEquity例:CEO的薪水和资本权益报酬率,Salary:annualsalarymeasuredin$1000.Inthe1990dataabove,(min,mean,max)=(223,1281,14822).变量salary衡量了已1000美元为单位的年薪,其最小值,均值和最大值分别如上。Roe:netincome/commonequity,three-yearaverage,(0.5,17.18,56.3)Roe净收入/所有者权益,为三年平均值。N=209.Theestimatedrelation(estimatedsalary)=963.191+18.501roe.,38,Example:CEOSalaryandReturnonEquity例:CEO的薪水和资本权益报酬率,Interpretation:对估计量的解释:963.19:ThesalarythattheCEOwillgetwhenroe=0.常数项的估计值衡量了当roe为零时CEO的薪水。18.5:IfROEincreasesbyonepercentagepoint,thensalaryisgoingtoincreaseby18.5,i.e.,$18,500.b1的估计值反应了ROE若增加一个百分点工资将增加18500美元。Ifroe=30,whatistheestimatedsalary?,39,AlgebraicPropertiesofOLSOLS的代数性质P38:3个特性阅读,P39,几个术语阅读,ThesumoftheOLSresidualsiszeroOLS残差和为零(p24)Thus,thesampleaverageoftheOLSresidualsiszeroaswell因此OLS的样本残差平均值也为零.,40,AlgebraicPropertiesofOLSOLS的代数性质,ThesamplecovariancebetweentheregressorsandtheOLSresidualsiszero回归元(解释变量)和OLS残差之间的样本协方差为零(p25),IntermediateEconometricsYanShen,41,AlgebraicPropertiesofOLSOLS的代数性质,TheOLSregressionlinealwaysgoesthroughthemeanofthesample.OLS回归线总是通过样本的均值。,IntermediateEconometricsYanShen,42,AlgebraicPropertiesofOLSOLS的代数性质,Wecanthinkofeachobservationasbeingmadeupofanexplainedpart,andanunexplainedpart,我们可把每一次观测看作由被解释部分和未解释部分构成.Thenthefittedvaluesandresidualsareuncorrelatedinthesample.预测值和残差在样本中是不相关的,IntermediateEconometricsYanShen,43,AlgebraicPropertiesofOLSOLS的代数性质,IntermediateEconometricsYanShen,44,MoreTerminology更多术语,Definethetotalsumofsquareas定义总平方和为,IntermediateEconometricsYanShen,45,MoreTerminology更多术语,SSTisameasureofthetotalsamplevariationintheys;thatis,itmeasureshowspreadouttheysareinthesample.总平方和是对y在样本中所有变动的度量,即它度量了y在样本中的分散程度IfwedivideSSTbyn-1,weobtainthesamplevarianceofy.将总平方和除以n-1,我们得到y的样本方差。,IntermediateEconometricsYanShen,46,MoreTerminology更多术语,ExplainedSumofSquares(SSE)isdefinedas解释平方和定义为Itmeasuresthesamplevariationinthepredictedvalueofys.它度量了y的预测值的在样本中的变动,IntermediateEconometricsYanShen,47,MoreTerminology更多术语,ResidualSumofSquaresisdefinedas残差平方和定义为SSRmeasuresthesamplevariationintheresiduals.残差平方和度量了残差的样本变异,IntermediateEconometricsYanShen,48,SST,SSRandSSE,ThetotalvariationinycanalwaysbeexpressedasthesumoftheexplainedvariationSSEandtheunexplainedvariationSSR,i.e.y的总变动可以表示为已解释的变动SSE和未解释的变动SSR之和,即SST=SSE+SSR,IntermediateEconometricsYanShen,49,ProofthatSST=SSE+SSR证明SST=SSE+SSR,IntermediateEconometricsYanShen,50,ProofthatSST=SSE+SSR,Therefore,SST=SSE+SSR.Wehaveusedthefactthatthefittedvalueandresidualsareuncorrelatedinthesample.该证明中我们使用了一个事实,即样本中因变量的拟合值和残差不相关.,IntermediateEconometricsYanShen,51,Goodness-of-Fit拟合优度(P40定义)R2范围,Howdowethinkabouthowwelloursampleregressionlinefitsoursampledata?我们如何衡量样本回归线是否很好地拟合了样本数据呢?Cancomputethefractionofthetotalsumofsquares(SST)thatisexplainedbythemodel,callthistheR-squaredofregression可以计算模型解释的总平方和的比例,并把它定义为回归的R-平方R2=SSE/SST=1SSR/SST,IntermediateEconometricsYanShen,52,Goodness-of-Fit拟合优度,R-squaredistheratiooftheexplainedvariationcomparedtothetotalvariation.R-平方是已解释的变动占所有变动的比例Itisthusinterpretedasthefractionofthesamplevariationinythatisexplainedbyx.它因此可被看作是y的样本变动中被可以被x解释的部分ThevalueofR-squaredisalwaysbetweenzeroandone.R-平方的值总是在0和1之间,IntermediateEconometricsYanShen,53,Goodness-of-Fit拟合优度,Inthesocialsciences,lowR-squaredsinregressionequationsarenotuncommon,especiallyforcross-sectionalanalysis.在社会科学中,特别是在截面数据分析中,回归方程得到低的R-平方值并不罕见。ItisworthemphasizingthataseeminglylowR-squareddoesnotnecessarilymeanthatanOLSregressionequationisuseless.值得强调的是表面上低的R-平方值不一定说明OLS回归方程是没有价值的,IntermediateEconometricsYanShen,54,Goodness-of-Fit拟合优度,Example2.8(阅读P41)CEOSalaryandReturnonEquityCEO薪水和净资产回报Example2.9VotingoutcomesandCampaignExpenditures竞选结果和选举活动开支,IntermediateEconometricsYanShen,55,UsingStataforOLSregressions使用Stata进行OLS回归,NowthatwevederivedtheformulaforcalculatingtheOLSestimatesofourparameters,youllbehappytoknowyoudonthavetocomputethembyhand我们已经推导出公式计算参数的OLS估计值,所幸的是我们不必亲手去计算它们。RegressionsinStataareverysimple,toruntheregressionofyonx,justtype在Stata中进行回归非常简单,要让y对x进行回归,只需要输入regyx,IntermediateEconometricsYanShen,56,UnitsofMeasurement测量单位,Supposethesalaryismeasuredinhundredsofdollars,ratherthaninthousandsofdollars,saysalarhun.假定薪水的单位是美元,而不是千美元,salarys.WhatwillbetheOLSinterceptandslopeestimatesintheregressionofsalarhunonroe?在Salarys对roe进行回归时OLS截距和斜率的估计值是多少?,IntermediateEconometricsYanShen,57,UnitsofMeasurement测量单位,Theestimatedsampleregressionischangedfrom(estimatedsalarys)=963.191+18.501roeto(estimatedsalarys)=963191+18501roeIngeneral,whenthedependentvariableismultipliedbytheconstantc,butnothinghaschangedfortheindependentvariable,theOLSinterceptandslopeestimatesarealsomultipliedbyc.一般而言,当因变量乘上常数c,而自变量不改变时,OLS的截距和斜率估计量也要乘上c。,IntermediateEconometricsYanShen,58,UnitsofMeasurement测量单位,Ifredefineroedec=roe/100,thenthesampleregressionlinewillchangefrom如果定义roedec=roe/100,那么样本回归线将会从(estimatedsalary)=963.191+18.501roeto改变到(estimatedsalary)=963.191+1850.1roedecIngeneral,iftheindependentvariableisdividedormultipliedbysomenonzeroconstant,c,thentheOLSslopecoefficientismultipliedordividedbyc,buttheinterceptwillnotchange.一般而言,如果自变量除以或乘上某个非零常数,c,那么OLS斜率将乘以或除以c,而截距则不改变。,IntermediateEconometricsYanShen,59,IncorporatingNonlinearritiesinSimpleRegression在简单回归中加入非线性(P46线性与非线性的),Linearrelationshipsarenotgeneralenoughforalleconomicapplications.线性关系并不适合所有的经济学运用However,itisrathereasytoincorporatemanynonlinearitiesintosimpleregressionanalysisbyappropriatelydefiningthedependentandindependentvariables.然而,通过对因变量和自变量进行恰当的定义,我们可以在简单回归分析中非常容易地处理许多y和x之间的非线性关系.,IntermediateEconometricsYanShen,60,TheNaturalLogarithm自然对数,IntermediateEconometricsYanShen,61,Inthewage-educationexample,nowsupposethepercentageincreaseinwageisthesame,givenonemoreyearofeducation.在工资-教育的例子中,假定每增加一年的教育,工资的百分比增长都是相同的Amodelthatgivesaconstantpercentageeffectis能够给出不变的百分比效果的模型是If,wehave,IntermediateEconometricsYanShen,62,Example2.10,AlogWageEquation将对数工资方程Comparedto和该方程相比,IntermediateEconometricsYanShen,63,Anotherimportantuseofthenaturallogisinobtainingaconstantelasticitymodel自然对数的另一个重要用途是用于获得弹性为常数的模型IntheexampleofCEOSalaryandFirmSales,aconstantelasticitymodelis在CEO的薪水和企业销售额的例子中,常数弹性模型是,IntermediateEconometricsYanShen,64,Combinationoffunctionalformsavailablefromusingeithertheoriginalvariableoritsnaturallog变量的原始形式和其自然对数的不同组合,IntermediateEconometricsYanShen,65,TheSimpleRegressionModel简单二元回归(3),y=b0+b1x+u,IntermediateEconometricsYanShen,66,ChapterOutline本章大纲,DefinitionoftheSimpleRegressionModel二元回归模型的定义DerivingtheOrdinaryLeastSquaresEstimates推导普通最小二乘法的估计量MechanicsofOLSOLS的操作技巧UnitesofMeasurementandFunctionalForm测量单位和函数形式ExpectedValuesandVariancesoftheOLSestimatorsOLS估计量的期望值和方差(P47)RegressionthroughtheOrigin过原点回归,IntermediateEconometricsYanShen,67,ExpectedValuesandVariancesoftheOLSEstimatorsOLS估计量的期望值和方差,WewillstudythepropertiesofthedistributionsofOLSestimatorsoverdifferentrandomsamplesfromthepopulation.从总体中抽取的不同的随机样本可得到不同的OLS估计量,我们将研究这些OLS估计量的分布。(P49,关注什么?参变量的性质)WebeginbyestablishingtheunbiasednessofOLSunderasetofassumptions.首先,我们在一些假定下证明OLS的无偏性。,IntermediateEconometricsYanShen,68,AssumptionSLR.1(LinearinParameters):假定SLR.1(关于参数是线性的)(P49),Inthepopulationmodel,thedependentvariableyisrelatedtotheindependentvariablexandtheerroruas在总体模型中,因变量y和自变量x和误差u的关系可写作y=b0+b1x+u,(没有帽)whereb0andb1arethepopulationinterceptandslopeparametersrespectively.其中b0和b1分别是总体的截距参数和斜率参数,IntermediateEconometricsYanShen,69,AssumptionSLR.2(RandomSampling):假定SLR.2(随机抽样):,Assumewecanusearandomsampleofsizen,(xi,yi):i=1,2,n,fromthepopulationmodel.Thuswecanwritethesamplemodelyi=b0+b1xi+ui假定我们从总体模型随机抽取容量为n的样本,(xi,yi):i=1,2,n,那么可以写出样本模型为yi=b0+b1xi+ui(没有帽),IntermediateEconometricsYanShen,70,AssumptionsSLR.3andSLR.4假定SLR.3和SLR.4,SLR.3,ZeroConditionalMean:SLR.3,零条件期望(P48阅读理解)AssumeE(u|x)=0andthusinarandomsampleE(ui|xi)=0假定E(u|x)=0.那么在随机样本中我们有E(ui|xi)=0SLR.4(SampleVariationintheIndependentVariable):Inthesample,theindependentvariablesxsarenotallequaltothesameconstant.SLR.4(自变量中的样本变动):在样本中,自变量x并不等于一个不变常数。,IntermediateEconometricsYanShen,71,Theorem2.1(UnbiasednessofOLS)定理2.1(OLS的无偏性),UsingassumptionsSLR.1throughSLR.4,wehavetheexpectedvalueoftheOLSestimatesofb0,andb1equalsthetruevaluesofb0andb1,respectively,foranyvaluesofb0andb1.使用假定SLR.1到SLR.4,我们可以得到无论b0,和b1取什么值,它们的OLS估计量的期望值等于它们各自的真值(理解)。Proof:证明:(P50-51阅读),IntermediateEconometricsYanShen,72,UnbiasednessofOLS(cont)OLS的无偏性(继续),Inordertothinkaboutunbiasedness,weneedtorewriteourestimatorintermsofthepopulationparameter为了思考无偏性,我们需要用总体的参数重新写出估计量Startwithasimplerewriteoftheformulaas把公式简单地改写为,IntermediateEconometricsYanShen,73,UnbiasednessofOLS(cont)OLS的无偏性(继续),IntermediateEconometricsYanShen,74,UnbiasednessofOLS(cont)OLS的无偏性(继续),IntermediateEconometricsYanShen,75,UnbiasednessofOLS(cont)OLS的无偏性(继续),IntermediateEconometricsYanShen,76,UnbiasednessofOLS(cont)OLS的无偏性(继续)(阅读P51证明),IntermediateEconometricsYanShen,77,UnbiasednessSummary无偏性总结,TheOLSestimatesofb1andb0areunbiasedb1和b0的OLS估计量是无偏的Proofofunbiasednessdependsonour4assumptionsifanyassumptionfails,thenOLSisnotnecessarilyunbiased无偏性的证明依赖于我们的四个假定-如果任何假定不成立,OLS未必是无偏的Rememberunbiasednessisadescriptionoftheestimatorinagivensamplewemaybe“near”or“far”fromthetrueparameter记住无偏性是对估计量的描述-对于一个给定的样本我们可能靠近也可能远离真实的参数值(对P51最后一段的理解),IntermediateEconometricsYanShen,78,Example2.12例2.12(P52阅读),StudentMathPerformanceandtheSchoolLunchProgram学生的数学表现和学校的午餐项目Using409Michiganhighschooldatafor19921993,weestimatedthatPredictedmath10=32.14-0.319lnchprg,Math10:mathsscoreforthe10thgradeLnchprg:partipationofthelunchprogram该例研究了是否参加学校的免费午餐项目是否能够提高学生在数学考试中的成绩。我们用Math10来表示10年级学生的数学成绩,用Lnchprg表示可以参加学校的免费午餐项目的学生的比例。,IntermediateEconometricsYanShen,79,StudentMathPerformanceandtheSchoolLunchProgram学生的数学成绩和学校的免费午餐项目,Theequationpredictsthatifstudenteligibilityinthelunchprogramincreasesby10%,thenthemathscorefallsbyabout3.2%.Canwetrustsuchresults?估计所得方程说明参加免费午餐的学生的比例越多,他们的成绩越差。可信吗?,IntermediateEconometricsYanShen,80,PerformanceandtheSchoolLunchProgram学生的数学成绩和学校的免费午餐项目,Apossibleexplanation:thecorrelationofuandx.e.g.,uincludesthepovertyrate,thisaffectsstudentperformanceandishighlycorrelatedwitheligibilityinparticipatingtheprogram.产生上述结果的一个可能是u和x是相关的。比如,u包括了贫困率,它影响学生的学习表现,又和是否有资格参加免费午餐项目高度相关。,IntermediateEconometricsYanShen,81,SamplingVarianceoftheOLSEstimatorsOLS估计量的抽样方差(P53),Nowweknowthatthesamplingdistributionofourestimateiscenteredaroundthetrueparameter现在我们知道估计量的随机抽样分布以真值为中心Wanttothinkabouthowspreadoutthisdistributionis.想知道的是这个分布散开的程度(想到什么方法?P53)Thisallowsustochoosethebestestimatoramongall,oratleastabroadclassof,theunbiasedestimat

温馨提示

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

评论

0/150

提交评论