版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
计量经济学导论第四版英文完整教学课件Economics20-Prof.Anderson1Economics20-Prof.Anderson2WelcometoEconomics20WhatisEconometrics?Economics20-Prof.Anderson3WhystudyEconometrics?
Rareineconomics(andmanyotherareaswithoutlabs!)tohaveexperimentaldataNeedtousenonexperimental,orobservational,datatomakeinferencesImportanttobeabletoapplyeconomictheorytorealworlddataEconomics20-Prof.Anderson4WhystudyEconometrics?
AnempiricalanalysisusesdatatotestatheoryortoestimatearelationshipAformaleconomicmodelcanbetestedTheorymaybeambiguousastotheeffectofsomepolicychange–canuseeconometricstoevaluatetheprogramEconomics20-Prof.Anderson5TypesofData–CrossSectional
Cross-sectionaldataisarandomsampleEachobservationisanewindividual,firm,etc.withinformationatapointintimeIfthedataisnotarandomsample,wehaveasample-selectionproblemEconomics20-Prof.Anderson6TypesofData–Panel
Canpoolrandomcrosssectionsandtreatsimilartoanormalcrosssection.Willjustneedtoaccountfortimedifferences.Canfollowthesamerandomindividualobservationsovertime–knownaspaneldataorlongitudinaldataEconomics20-Prof.Anderson7TypesofData–TimeSeries
Timeseriesdatahasaseparateobservationforeachtimeperiod–e.g.stockpricesSincenotarandomsample,differentproblemstoconsiderTrendsandseasonalitywillbeimportantEconomics20-Prof.Anderson8TheQuestionofCausality
SimplyestablishingarelationshipbetweenvariablesisrarelysufficientWanttotheeffecttobeconsideredcausalIfwe’vetrulycontrolledforenoughothervariables,thentheestimatedceterisparibuseffectcanoftenbeconsideredtobecausalCanbedifficulttoestablishcausalityEconomics20-Prof.Anderson9Example:ReturnstoEducation
AmodelofhumancapitalinvestmentimpliesgettingmoreeducationshouldleadtohigherearningsInthesimplestcase,thisimpliesanequationlikeEconomics20-Prof.Anderson10Example:(continued)
Theestimateof
b1,
isthereturntoeducation,butcanitbeconsideredcausal?Whiletheerrorterm,u,includesotherfactorsaffectingearnings,wanttocontrolforasmuchaspossibleSomethingsarestillunobserved,whichcanbeproblematicEconomics20-Prof.Anderson11TheSimpleRegressionModel
y=b0+b1x+uEconomics20-Prof.Anderson12SomeTerminology
Inthesimplelinearregressionmodel,wherey=b0+b1x+u,wetypicallyrefertoyastheDependentVariable,orLeft-HandSideVariable,orExplainedVariable,orRegressandEconomics20-Prof.Anderson13SomeTerminology,cont.
Inthesimplelinearregressionofyonx,wetypicallyrefertoxastheIndependentVariable,orRight-HandSideVariable,orExplanatoryVariable,orRegressor,orCovariate,orControlVariablesEconomics20-Prof.Anderson14ASimpleAssumption
Theaveragevalueofu,theerrorterm,inthepopulationis0.Thatis,E(u)=0Thisisnotarestrictiveassumption,sincewecanalwaysuseb0
tonormalizeE(u)to0Economics20-Prof.Anderson15ZeroConditionalMean
WeneedtomakeacrucialassumptionabouthowuandxarerelatedWewantittobethecasethatknowingsomethingaboutxdoesnotgiveusanyinformationaboutu,sothattheyarecompletelyunrelated.Thatis,thatE(u|x)=E(u)=0,whichimpliesE(y|x)=b0+b1xEconomics20-Prof.Anderson16..x1x2E(y|x)asalinearfunctionofx,whereforanyx
thedistributionofyiscenteredaboutE(y|x)E(y|x)=b0+b1xyf(y)Economics20-Prof.Anderson17OrdinaryLeastSquares
BasicideaofregressionistoestimatethepopulationparametersfromasampleLet{(xi,yi):i=1,…,n}denotearandomsampleofsizenfromthepopulationForeachobservationinthissample,itwillbethecasethat
yi=b0+b1xi+uiEconomics20-Prof.Anderson18....y4y1y2y3x1x2x3x4}}{{u1u2u3u4xyPopulationregressionline,sampledatapointsandtheassociatederrortermsE(y|x)=b0+b1xEconomics20-Prof.Anderson19DerivingOLSEstimates
ToderivetheOLSestimatesweneedtorealizethatourmainassumptionofE(u|x)=E(u)=0alsoimpliesthatCov(x,u)=E(xu)=0Why?RememberfrombasicprobabilitythatCov(X,Y)=E(XY)–E(X)E(Y)Economics20-Prof.Anderson20DerivingOLScontinued
Wecanwriteour2restrictionsjustintermsofx,y,b0andb1,sinceu=y–b0–b1xE(y–b0–b1x)=0E[x(y–b0–b1x)]=0ThesearecalledmomentrestrictionsEconomics20-Prof.Anderson21DerivingOLSusingM.O.M.
ThemethodofmomentsapproachtoestimationimpliesimposingthepopulationmomentrestrictionsonthesamplemomentsWhatdoesthismean?RecallthatforE(X),themeanofapopulationdistribution,asampleestimatorofE(X)issimplythearithmeticmeanofthesampleEconomics20-Prof.Anderson22MoreDerivationofOLS
WewanttochoosevaluesoftheparametersthatwillensurethatthesampleversionsofourmomentrestrictionsaretrueThesampleversionsareasfollows:Economics20-Prof.Anderson23MoreDerivationofOLSGiventhedefinitionofasamplemean,andpropertiesofsummation,wecanrewritethefirstconditionasfollowsEconomics20-Prof.Anderson24MoreDerivationofOLSEconomics20-Prof.Anderson25SotheOLSestimatedslopeisEconomics20-Prof.Anderson26SummaryofOLSslopeestimate
TheslopeestimateisthesamplecovariancebetweenxandydividedbythesamplevarianceofxIfxandyarepositivelycorrelated,theslopewillbepositiveIfxandyarenegativelycorrelated,theslopewillbenegativeOnlyneedxtovaryinoursampleEconomics20-Prof.Anderson27MoreOLS
Intuitively,OLSisfittingalinethroughthesamplepointssuchthatthesumofsquaredresidualsisassmallaspossible,hencethetermleastsquaresTheresidual,û,isanestimateoftheerrorterm,u,andisthedifferencebetweenthefittedline(sampleregressionfunction)andthesamplepointEconomics20-Prof.Anderson28....y4y1y2y3x1x2x3x4}}{{û1û2û3û4xySampleregressionline,sampledatapointsandtheassociatedestimatederrortermsEconomics20-Prof.Anderson29Alternateapproachtoderivation
Giventheintuitiveideaoffittingaline,wecansetupaformalminimizationproblemThatis,wewanttochooseourparameterssuchthatweminimizethefollowing:Economics20-Prof.Anderson30Alternateapproach,continued
Ifoneusescalculustosolvetheminimizationproblemforthetwoparametersyouobtainthefollowingfirstorderconditions,whicharethesameasweobtainedbefore,multipliedbynEconomics20-Prof.Anderson31AlgebraicPropertiesofOLS
ThesumoftheOLSresidualsiszeroThus,thesampleaverageoftheOLSresidualsiszeroaswellThesamplecovariancebetweentheregressorsandtheOLSresidualsiszeroTheOLSregressionlinealwaysgoesthroughthemeanofthesampleEconomics20-Prof.Anderson32AlgebraicProperties(precise)Economics20-Prof.Anderson33MoreterminologyEconomics20-Prof.Anderson34ProofthatSST=SSE+SSREconomics20-Prof.Anderson35Goodness-of-Fit
Howdowethinkabouthowwelloursampleregressionlinefitsoursampledata?Cancomputethefractionofthetotalsumofsquares(SST)thatisexplainedbythemodel,callthistheR-squaredofregressionR2=SSE/SST=1–SSR/SSTEconomics20-Prof.Anderson36UsingStataforOLSregressions
Nowthatwe’vederivedtheformulaforcalculatingtheOLSestimatesofourparameters,you’llbehappytoknowyoudon’thavetocomputethembyhandRegressionsinStataareverysimple,toruntheregressionofyonx,justtyperegyxEconomics20-Prof.Anderson37UnbiasednessofOLS
Assumethepopulationmodelislinearinparametersasy=b0+b1x+uAssumewecanusearandomsampleofsizen,{(xi,yi):i=1,2,…,n},fromthepopulationmodel.Thuswecanwritethesamplemodelyi=b0+b1xi+uiAssumeE(u|x)=0andthusE(ui|xi)=0
AssumethereisvariationinthexiEconomics20-Prof.Anderson38UnbiasednessofOLS(cont)
Inordertothinkaboutunbiasedness,weneedtorewriteourestimatorintermsofthepopulationparameterStartwithasimplerewriteoftheformulaasEconomics20-Prof.Anderson39UnbiasednessofOLS(cont)Economics20-Prof.Anderson40UnbiasednessofOLS(cont)Economics20-Prof.Anderson41UnbiasednessofOLS(cont)Economics20-Prof.Anderson42UnbiasednessSummary
TheOLSestimatesofb1andb0areunbiasedProofofunbiasednessdependsonour4assumptions–ifanyassumptionfails,thenOLSisnotnecessarilyunbiasedRememberunbiasednessisadescriptionoftheestimator–inagivensamplewemaybe“near”or“far”fromthetrueparameterEconomics20-Prof.Anderson43VarianceoftheOLSEstimators
NowweknowthatthesamplingdistributionofourestimateiscenteredaroundthetrueparameterWanttothinkabouthowspreadoutthisdistributionisMucheasiertothinkaboutthisvarianceunderanadditionalassumption,soAssumeVar(u|x)=s2(Homoskedasticity)Economics20-Prof.Anderson44VarianceofOLS(cont)
Var(u|x)=E(u2|x)-[E(u|x)]2E(u|x)=0,sos2
=E(u2|x)=E(u2)=Var(u)Thuss2isalsotheunconditionalvariance,calledtheerrorvariance
s,thesquarerootoftheerrorvarianceiscalledthestandarddeviationoftheerrorCansay:E(y|x)=b0+b1xandVar(y|x)=s2Economics20-Prof.Anderson45..x1x2HomoskedasticCaseE(y|x)=b0+b1xyf(y|x)Economics20-Prof.Anderson46.x
x1x2yf(y|x)HeteroskedasticCasex3..E(y|x)=b0+b1xEconomics20-Prof.Anderson47VarianceofOLS(cont)Economics20-Prof.Anderson48VarianceofOLSSummary
Thelargertheerrorvariance,s2,thelargerthevarianceoftheslopeestimateThelargerthevariabilityinthexi,thesmallerthevarianceoftheslopeestimateAsaresult,alargersamplesizeshoulddecreasethevarianceoftheslopeestimateProblemthattheerrorvarianceisunknownEconomics20-Prof.Anderson49EstimatingtheErrorVariance
Wedon’tknowwhattheerrorvariance,s2,is,becausewedon’tobservetheerrors,uiWhatweobservearetheresiduals,ûiWecanusetheresidualstoformanestimateoftheerrorvarianceEconomics20-Prof.Anderson50ErrorVarianceEstimate(cont)Economics20-Prof.Anderson51ErrorVarianceEstimate(cont)Economics20-Prof.Anderson52MultipleRegressionAnalysisy=b0+b1x1+b2x2+...bkxk+u1.EstimationEconomics20-Prof.Anderson53ParallelswithSimpleRegression
b0isstilltheintercept
b1tobkallcalledslopeparameters
uisstilltheerrorterm(ordisturbance)Stillneedtomakeazeroconditionalmeanassumption,sonowassumethatE(u|x1,x2,…,xk)=0Stillminimizingthesumofsquaredresiduals,sohavek+1firstorderconditionsEconomics20-Prof.Anderson54InterpretingMultipleRegressionEconomics20-Prof.Anderson55A“PartiallingOut”InterpretationEconomics20-Prof.Anderson56“PartiallingOut”continued
Previousequationimpliesthatregressingyonx1
andx2givessameeffectofx1asregressingyonresidualsfromaregressionofx1onx2Thismeansonlythepartofxi1thatisuncorrelatedwithxi2arebeingrelatedtoyisowe’reestimatingtheeffectofx1onyafterx2hasbeen“partialledout”Economics20-Prof.Anderson57SimplevsMultipleRegEstimateEconomics20-Prof.Anderson58Goodness-of-FitEconomics20-Prof.Anderson59Goodness-of-Fit(continued)
Howdowethinkabouthowwelloursampleregressionlinefitsoursampledata?Cancomputethefractionofthetotalsumofsquares(SST)thatisexplainedbythemodel,callthistheR-squaredofregressionR2=SSE/SST=1–SSR/SSTEconomics20-Prof.Anderson60Goodness-of-Fit(continued)Economics20-Prof.Anderson61MoreaboutR-squared
R2canneverdecreasewhenanotherindependentvariableisaddedtoaregression,andusuallywillincreaseBecauseR2
willusuallyincreasewiththenumberofindependentvariables,itisnotagoodwaytocomparemodelsEconomics20-Prof.Anderson62AssumptionsforUnbiasedness
Populationmodelislinearinparameters:y=b0+b1x1+b2x2+…+bkxk
+uWecanusearandomsampleofsizen,{(xi1,xi2,…,xik,yi):i=1,2,…,n},fromthepopulationmodel,sothatthesamplemodelisyi=b0+b1xi1+b2xi2+…+bkxik
+ui
E(u|x1,x2,…xk)=0,implyingthatalloftheexplanatoryvariablesareexogenousNoneofthex’sisconstant,andtherearenoexactlinearrelationshipsamongthemEconomics20-Prof.Anderson63TooManyorTooFewVariables
Whathappensifweincludevariablesinourspecificationthatdon’tbelong?Thereisnoeffectonourparameterestimate,andOLSremainsunbiasedWhatifweexcludeavariablefromourspecificationthatdoesbelong?OLSwillusuallybebiasedEconomics20-Prof.Anderson64OmittedVariableBiasEconomics20-Prof.Anderson65OmittedVariableBias(cont)Economics20-Prof.Anderson66OmittedVariableBias(cont)Economics20-Prof.Anderson67OmittedVariableBias(cont)Economics20-Prof.Anderson68SummaryofDirectionofBiasCorr(x1,x2)>0Corr(x1,x2)<0b2>0PositivebiasNegativebiasb2<0NegativebiasPositivebiasEconomics20-Prof.Anderson69OmittedVariableBiasSummary
Twocaseswherebiasisequaltozerob2=0,thatisx2doesn’treallybelonginmodelx1andx2areuncorrelatedinthesampleIfcorrelationbetweenx2,x1andx2,yisthesamedirection,biaswillbepositiveIfcorrelationbetweenx2,x1andx2,yistheoppositedirection,biaswillbenegativeEconomics20-Prof.Anderson70TheMoreGeneralCase
Technically,canonlysignthebiasforthemoregeneralcaseifalloftheincludedx’sareuncorrelatedTypically,then,weworkthroughthebiasassumingthex’sareuncorrelated,asausefulguideevenifthisassumptionisnotstrictlytrueEconomics20-Prof.Anderson71VarianceoftheOLSEstimators
NowweknowthatthesamplingdistributionofourestimateiscenteredaroundthetrueparameterWanttothinkabouthowspreadoutthisdistributionisMucheasiertothinkaboutthisvarianceunderanadditionalassumption,soAssumeVar(u|x1,x2,…,xk)=s2(Homoskedasticity)Economics20-Prof.Anderson72VarianceofOLS(cont)
Letxstandfor(x1,x2,…xk)AssumingthatVar(u|x)=s2alsoimpliesthatVar(y|x)=s2
The4assumptionsforunbiasedness,plusthishomoskedasticityassumptionareknownastheGauss-MarkovassumptionsEconomics20-Prof.Anderson73VarianceofOLS(cont)Economics20-Prof.Anderson74ComponentsofOLSVariances
Theerrorvariance:alargers2impliesalargervariancefortheOLSestimatorsThetotalsamplevariation:alargerSSTjimpliesasmallervariancefortheestimatorsLinearrelationshipsamongtheindependentvariables:alargerRj2impliesalargervariancefortheestimatorsEconomics20-Prof.Anderson75MisspecifiedModelsEconomics20-Prof.Anderson76MisspecifiedModels(cont)
Whilethevarianceoftheestimatorissmallerforthemisspecifiedmodel,unlessb2=0themisspecifiedmodelisbiasedAsthesamplesizegrows,thevarianceofeachestimatorshrinkstozero,makingthevariancedifferencelessimportantEconomics20-Prof.Anderson77EstimatingtheErrorVariance
Wedon’tknowwhattheerrorvariance,s2,is,becausewedon’tobservetheerrors,uiWhatweobservearetheresiduals,ûiWecanusetheresidualstoformanestimateoftheerrorvarianceEconomics20-Prof.Anderson78ErrorVarianceEstimate(cont)
df=n–(k+1),ordf=n–k–1df(i.e.degreesoffreedom)isthe(numberofobservations)–(numberofestimatedparameters)Economics20-Prof.Anderson79TheGauss-MarkovTheorem
Givenour5Gauss-MarkovAssumptionsitcanbeshownthatOLSis“BLUE”BestLinearUnbiasedEstimatorThus,iftheassumptionshold,useOLSEconomics20-Prof.Anderson80MultipleRegressionAnalysis
y=b0+b1x1+b2x2+...bkxk+u2.InferenceEconomics20-Prof.Anderson81AssumptionsoftheClassicalLinearModel(CLM)
Sofar,weknowthatgiventheGauss-Markovassumptions,OLSisBLUE,Inordertodoclassicalhypothesistesting,weneedtoaddanotherassumption(beyondtheGauss-Markovassumptions)Assumethatuisindependentofx1,x2,…,xkanduisnormallydistributedwithzeromeanandvariances2:u~Normal(0,s2)Economics20-Prof.Anderson82CLMAssumptions(cont)
UnderCLM,OLSisnotonlyBLUE,butistheminimumvarianceunbiasedestimatorWecansummarizethepopulationassumptionsofCLMasfollows
y|x~Normal(b0+b1x1+…+bkxk,s2)Whilefornowwejustassumenormality,clearthatsometimesnotthecaseLargesampleswillletusdropnormalityEconomics20-Prof.Anderson83..x1x2ThehomoskedasticnormaldistributionwithasingleexplanatoryvariableE(y|x)=b0+b1xyf(y|x)NormaldistributionsEconomics20-Prof.Anderson84NormalSamplingDistributionsEconomics20-Prof.Anderson85ThetTestEconomics20-Prof.Anderson86ThetTest(cont)
KnowingthesamplingdistributionforthestandardizedestimatorallowsustocarryouthypothesistestsStartwithanullhypothesisForexample,H0:bj=0Ifacceptnull,thenacceptthatxjhasnoeffectony,controllingforotherx’sEconomics20-Prof.Anderson87ThetTest(cont)Economics20-Prof.Anderson88tTest:One-SidedAlternatives
Besidesournull,H0,weneedanalternativehypothesis,H1,andasignificancelevelH1maybeone-sided,ortwo-sidedH1:bj>0andH1:bj<0areone-sidedH1:bj
0isatwo-sidedalternativeIfwewanttohaveonlya5%probabilityofrejectingH0ifitisreallytrue,thenwesayoursignificancelevelis5%Economics20-Prof.Anderson89One-SidedAlternatives(cont)
Havingpickedasignificancelevel,a,welookupthe(1–a)thpercentileinatdistributionwithn–k–1dfandcallthisc,thecriticalvalueWecanrejectthenullhypothesisifthetstatisticisgreaterthanthecriticalvalueIfthetstatisticislessthanthecriticalvaluethenwefailtorejectthenullEconomics20-Prof.Anderson90yi=b0+b1xi1+…
+bkxik+uiH0:bj=0H1:bj>0c0a(1-a)One-SidedAlternatives(cont)FailtorejectrejectEconomics20-Prof.Anderson91One-sidedvsTwo-sided
Becausethetdistributionissymmetric,testingH1:bj<0isstraightforward.ThecriticalvalueisjustthenegativeofbeforeWecanrejectthenullifthetstatistic<–c,andifthetstatistic>than–cthenwefailtorejectthenullForatwo-sidedtest,wesetthecriticalvaluebasedona/2andrejectH1:bj
0iftheabsolutevalueofthetstatistic>cEconomics20-Prof.Anderson92yi=b0+b1Xi1+…
+bkXik+uiH0:bj=0H1:bj>0c0a/2(1-a)-ca/2Two-SidedAlternativesrejectrejectfailtorejectEconomics20-Prof.Anderson93SummaryforH0:bj=0
Unlessotherwisestated,thealternativeisassumedtobetwo-sidedIfwerejectthenull,wetypicallysay“xjisstatisticallysignificantatthea%level”Ifwefailtorejectthenull,wetypicallysay“xjisstatisticallyinsignificantatthea%level”Economics20-Prof.Anderson94TestingotherhypothesesAmoregeneralformofthetstatisticrecognizesthatwemaywanttotestsomethinglikeH0:bj=aj
Inthiscase,theappropriatetstatisticisEconomics20-Prof.Anderson95ConfidenceIntervals
Anotherwaytouseclassicalstatisticaltestingistoconstructaconfidenceintervalusingthesamecriticalvalueaswasusedforatwo-sidedtestA(1-a)%confidenceintervalisdefinedasEconomics20-Prof.Anderson96Computingp-valuesforttests
Analternativetotheclassicalapproachistoask,“whatisthesmallestsignificancelevelatwhichthenullwouldberejected?”So,computethetstatistic,andthenlookupwhatpercentileitisintheappropriatetdistribution–thisisthep-value
p-valueistheprobabilitywewouldobservethetstatisticwedid,ifthenullweretrueEconomics20-Prof.Anderson97Stataandp-values,ttests,etc.
Mostcomputerpackageswillcomputethep-valueforyou,assumingatwo-sidedtestIfyoureallywantaone-sidedalternative,justdividethetwo-sidedp-valueby2Stataprovidesthetstatistic,p-value,and95%confidenceintervalforH0:bj=0foryou,incolumnslabeled“t”,“P>|t|”and“[95%Conf.Interval]”,respectivelyEconomics20-Prof.Anderson98TestingaLinearCombination
Supposeinsteadoftestingwhetherb1isequaltoaconstant,youwanttotestifitisequaltoanotherparameter,thatisH0:b1=b2UsesamebasicprocedureforformingatstatisticEconomics20-Prof.Anderson99TestingLinearCombo(cont)Economics20-Prof.Anderson100TestingaLinearCombo(cont)
So,touseformula,needs12,whichstandardoutputdoesnothaveManypackageswillhaveanoptiontogetit,orwilljustperformthetestforyouInStata,afterregyx1x2…xkyouwouldtypetestx1=x2togetap-valueforthetestMoregenerally,youcanalwaysrestatetheproblemtogetthetestyouwantEconomics20-Prof.Anderson101Example:
SupposeyouareinterestedintheeffectofcampaignexpendituresonoutcomesModelisvoteA=b0+b1log(expendA)+b2log(expendB)+b3prtystrA+u
H0:b1=-b2,orH0:q1=b1+b2=0
b1=q1–b2,sosubstituteinandrearrange
voteA=b0+q1log(expendA)+b2log(expendB-expendA)+b3prtystrA+uEconomics20-Prof.Anderson102Example(cont):
Thisisthesamemodelasoriginally,butnowyougetastandarderrorforb1–b2=q1directlyfromthebasicregressionAnylinearcombinationofparameterscouldbetestedinasimilarmannerOtherexamplesofhypothesesaboutasinglelinearcombinationofparameters:b1=1+b2;b1=5b2;b1=-1/2b2;etcEconomics20-Prof.Anderson103MultipleLinearRestrictions
Everythingwe’vedonesofarhasinvolvedtestingasinglelinearrestriction,(e.g.b1=0orb1=b2)However,wemaywanttojointlytestmultiplehypothesesaboutourparametersAtypicalexampleistesting“exclusionrestrictions”–wewanttoknowifagroupofparametersareallequaltozeroEconomics20-Prof.Anderson104TestingExclusionRestrictions
NowthenullhypothesismightbesomethinglikeH0:bk-q+1=0,...,bk=0ThealternativeisjustH1:H0isnottrueCan’tjustcheckeachtstatisticseparately,becausewewanttoknowiftheqparametersarejointlysignificantatagivenlevel–itispossiblefornonetobeindividuallysignificantatthatlevelEconomics20-Prof.Anderson105ExclusionRestrictions(cont)
Todothetestweneedtoestimatethe“restrictedmodel”withoutxk-q+1,,…,xkincluded,aswellasthe“unrestrictedmodel”withallx’sincludedIntuitively,wewanttoknowifthechangeinSSRisbigenoughtowarrantinclusionofxk-q+1,,…,xk
Economics20-Prof.Anderson106TheFstatistic
TheFstatisticisalwayspositive,sincetheSSRfromtherestrictedmodelcan’tbelessthantheSSRfromtheunrestrictedEssentiallytheFstatisticismeasuringtherelativeincreaseinSSRwhenmovingfromtheunrestrictedtorestrictedmodel
q=numberofrestrictions,ordfr–dfur
n–k–1=dfurEconomics20-Prof.Anderson107TheFstatistic(cont)
TodecideiftheincreaseinSSRwhenwemovetoarestrictedmodelis“bigenough”torejecttheexclusions,weneedtoknowaboutthesamplingdistributionofourFstatNotsurprisingly,F~Fq,n-k-1,whereqisreferredtoasthenumeratordegreesoffreedomandn–k–1asthedenominatordegreesoffreedomEconomics20-Prof.Anderson1080ca(1-a)f(F)FTheFstatistic(cont)rejectfailtorejectRejectH0atasignificancelevelifF>cEconomics20-Prof.Anderson109TheR2formoftheFstatistic
BecausetheSSR’smaybelargeandunwieldy,analternativeformoftheformulaisusefulWeusethefactthatSSR=SST(1–R2)foranyregression,socansubstituteinforSSRuandSSRurEconomics20-Prof.Anderson110OverallSignificance
AspecialcaseofexclusionrestrictionsistotestH0:b1=b2=…=bk=0SincetheR2fromamodelwithonlyaninterceptwillbezero,theFstatisticissimplyEconomics20-Prof.Anderson111GeneralLinearRestrictions
ThebasicformoftheFstatisticwillworkforanysetoflinearrestrictionsFirstestimatetheunrestrictedmodelandthenestimatetherestrictedmodelIneachcase,makenoteoftheSSRImposingtherestrictionscanbetricky–willlikelyhavetoredefinevariablesagainEconomics20-Prof.Anderson112Example:
UsesamevotingmodelasbeforeModelisvoteA=b0+b1log(expendA)+b2log(expendB)+b3prtystrA+unownullisH0:b1=1,b3=0Substitutingintherestrictions:voteA=b0+log(expendA)+b2log(expendB)+u,soUsevoteA-log(expendA)=b0+b2log(expendB)+uasrestrictedmodelEconomics20-Prof.Anderson113FStatisticSummary
Justaswithtstatistics,p-valuescanbecalculatedbylookingupthepercentileintheappropriateFdistributionStatawilldothisbyentering:displayfprob(q,n–k–1,F),wheretheappropriatevaluesofF,q,andn
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 边缘计算节点运维工程师考试试卷及答案
- 2026届山大附属中学高三模拟版化学试题(10-6)含解析
- 2026届河南省南阳市重点中学高三5月第一次阶段性测试化学试题含解析
- 2026届北京市顺义区、通州区第二学期高三第一次模拟考试化学试题含解析
- 2026届湖北省武汉市江夏一中高三第一次全国大联考化学试题卷含解析
- 专题05 力学实验和电学实验(2大考点)(教师版)
- 上海普陀区2026届招生全国统一考试考试说明跟踪卷(二)化学试题含解析
- 老年慢性病患者的用药依从性影响因素分析
- 当前内镜报告结构化面临的技术挑战与对策
- 超市供货合同
- 2025湖北随州国有资本投资运营集团有限公司人员招聘27人笔试历年参考题库附带答案详解
- 全新电子购销合同模板范本下载
- 阴雨天安全知识
- (正式版)HGT 2782-2024 化工催化剂颗粒抗压碎力的测定
- 刑事证据审查手册
- 医疗器械经营质量管理制度、工作程序文件目录
- 第五版-FMEA-新版FMEA【第五版】
- 某工程甘肃段地质灾害危险性评估报告
- 河北大学版小学五年级信息技术教案
- GB/T 30727-2014固体生物质燃料发热量测定方法
- GB/T 2828.10-2010计数抽样检验程序第10部分:GB/T 2828计数抽样检验系列标准导则
评论
0/150
提交评论