




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
多元回歸分析異方差1第一頁,共七十二頁,2022年,8月28日ChapterOutline本章提要ConsequencesofHSKofOLSOLS中異方差的影響HSK-RobustInferenceafterOLSestimationOLS估計(jì)后“對(duì)異方差穩(wěn)健”的統(tǒng)計(jì)推斷TestingforHSK檢驗(yàn)異方差WeightedLeastSquaresEstimation加權(quán)最小二乘估計(jì)2第二頁,共七十二頁,2022年,8月28日LectureOutline本課提要WhatisHSK什么是異方差ConsequencesofHSK異方差的影響HSK-RobustInferenceafterOLSestimationOLS估計(jì)后的“對(duì)異方差穩(wěn)健”統(tǒng)計(jì)推斷HSK-robuststandarderror HSK-異方差穩(wěn)健標(biāo)準(zhǔn)差HSK-robustt,F,LMstatistics HSK-異方差穩(wěn)健t,F,LM統(tǒng)計(jì)量3第三頁,共七十二頁,2022年,8月28日WhatisHeteroskedasticity(HSK)
什么是異方差
Recalltheassumptionofhomoskedasticityimpliedthatconditionalontheexplanatoryvariables,thevarianceoftheunobservederror,u,wasconstant
同方差假定意味著條件于解釋變量,不可觀測(cè)誤差的方差為常數(shù)Ifthisisnottrue,thatisifthevarianceofuisdifferentfordifferentvaluesofthex’s,thentheerrorsareheteroskedastic
如果u的方差隨x變化,那么誤差是異方差的。Example:estimatingreturnstoeducationandabilityisunobservable,andthinkthevarianceinabilitydiffersbyeducationalattainment
例子:估計(jì)教育回報(bào)并且能力不可觀測(cè),認(rèn)為能力的方差隨教育水平變化。4第四頁,共七十二頁,2022年,8月28日.Educationlevelprimarysecondaryf(y|x)IllustrationofHeteroskedasticity異方差圖示college..E(y|x)=b0+b1xwage5第五頁,共七十二頁,2022年,8月28日Aspecificexample:histogramsofwageratesforeacheducationdegree,fromonlyeducated1yearto18years.
一個(gè)具體例子:每一個(gè)教育年限(1-18年)對(duì)應(yīng)人群的工資直方圖6第六頁,共七十二頁,2022年,8月28日CheckingtheExistenceofHSK:plottingtheresidualsagainstthefittedvalues7第七頁,共七十二頁,2022年,8月28日Whenthereisheteroskedasticity…
當(dāng)存在異方差時(shí)…
OLSisstillunbiasedandconsistent. OLS無偏且一致R-squaredoradjustedR-squaredarestillfinegoodness-of-fitmeasures. R平方和調(diào)整后的R平方仍可以很好地度量擬合優(yōu)度。TheyareestimatesofthepopulationR-squared,1
–[Var(u)/Var(y)],wherethevariancesaretheunconditionalvariancesinthepopulation.
它們是對(duì)總體R平方1
–[Var(u)/Var(y)]的估計(jì),其中的方差是總體中的“非條件”方差。TheyconsistentlyestimatethepopulationR-squared,whetherornotVar(u|x)
=Var(y|x)dependsonx.
無論Var(u|x)
=Var(y|x)是否依賴于x,它們都可以一致地估計(jì)總體R平方。8第八頁,共七十二頁,2022年,8月28日Whydowecare?
為何關(guān)心異方差?Thestandarderrorsoftheestimatesarebiasedifwehaveheteroskedasticity.
如果存在異方差,那么估計(jì)值的標(biāo)準(zhǔn)差是有偏的。Ifthestandarderrorsarebiased,wecannotusetheusualtstatisticsorFstatisticsorLMstatisticsfordrawinginferences. 如果標(biāo)準(zhǔn)差有偏,我們就不能應(yīng)用通常的t統(tǒng)計(jì)量或F統(tǒng)計(jì)量來進(jìn)行統(tǒng)計(jì)推斷。9第九頁,共七十二頁,2022年,8月28日Whattodo?
怎么辦?Econometricianshavelearnedhowtoadjuststandarderrors,t,F,andLMstatisticssothattheyarevalidinthepresenceofheteroskedasticityofunknownform.
計(jì)量經(jīng)濟(jì)學(xué)家已經(jīng)知道如何調(diào)整標(biāo)準(zhǔn)差,t,F(xiàn),LM量,使得它們當(dāng)未知形式的異方差存在時(shí)仍然有效。White(1980)showsthatthevariances,,canbeestimatedinthepresenceofheteroskedasticity.
White(1980)指出,在存在異方差時(shí),方差也是可以估計(jì)的。10第十頁,共七十二頁,2022年,8月28日VariancewithHeteroskedasticity
異方差存在時(shí)的方差11第十一頁,共七十二頁,2022年,8月28日VariancewithHeteroskedasticity
異方差存在時(shí)的方差12第十二頁,共七十二頁,2022年,8月28日VariancewithHeteroskedasticity
異方差存在時(shí)的方差13第十三頁,共七十二頁,2022年,8月28日VariancewithHeteroskedasticity
異方差存在時(shí)的方差Thesquarerootofiscalled:
開平方被稱為Heteroskedasticity-robuststandarderror,or
對(duì)異方差穩(wěn)健的標(biāo)準(zhǔn)差,或Whitestandarderror,or White標(biāo)準(zhǔn)差,或Huberstandarderror,or Huber標(biāo)準(zhǔn)差,或Eickerstandarderrors,or Eicker標(biāo)準(zhǔn)差14第十四頁,共七十二頁,2022年,8月28日RobustStandardErrors
穩(wěn)健標(biāo)準(zhǔn)差
Nowtherobuststandarderrorscanbeusedforinference
穩(wěn)健標(biāo)準(zhǔn)差可以用來進(jìn)行推斷。Sometimestheestimatedvarianceiscorrectedfordegreesoffreedombymultiplyingbyn/(n–k–1)
有時(shí)可以將估計(jì)的方差乘以n/(n–k–1)來修正自由度Asn→∞it’sallthesame,though.
當(dāng)n→∞時(shí),沒有區(qū)別。15第十五頁,共七十二頁,2022年,8月28日Example:robustseversususualse
例子:穩(wěn)健標(biāo)準(zhǔn)差與常規(guī)標(biāo)準(zhǔn)差16第十六頁,共七十二頁,2022年,8月28日Example:robustseversususualse
例子:穩(wěn)健標(biāo)準(zhǔn)差與常規(guī)標(biāo)準(zhǔn)差Whatdowelearn?
我們學(xué)到了什么?Robuststandarderrorscanbeeitherlargerorsmallerthantheusualstandarderrors.
穩(wěn)健標(biāo)準(zhǔn)差可能比常規(guī)標(biāo)準(zhǔn)差大,也可能小。Butempiricallytherobuststandarderrorsareoftenfoundtobelargerthanthestandarderrors.
但是實(shí)證中常常發(fā)現(xiàn)穩(wěn)健標(biāo)準(zhǔn)差要大些。Ifthedifferencesbetweenthesetwoerrorsarelarge,thentheconclusionsforstatisticalinferencecanbeverydifferent.
如果這兩種標(biāo)準(zhǔn)差的差異很大,那么統(tǒng)計(jì)推斷的結(jié)論可能有很大差異。17第十七頁,共七十二頁,2022年,8月28日Now,whycareabouttheusualse?
為何要考慮常規(guī)標(biāo)準(zhǔn)差?Giventhatrobuststandarderrorsarevalidwhetherornotheteroskedasticityispresent,thenwhydowestillneedtheusualstandarderror?
如果穩(wěn)健標(biāo)準(zhǔn)差無論異方差存在與否都是適用的,為什么我們還需要常規(guī)標(biāo)準(zhǔn)差?NoticethatRobuststandarderrorsarejustifiedonlywhenthesamplesizeislarge.
我們應(yīng)當(dāng)注意到,穩(wěn)健標(biāo)準(zhǔn)差的適用性依賴于大樣本。18第十八頁,共七十二頁,2022年,8月28日RobustStandardErrors
穩(wěn)健標(biāo)準(zhǔn)差Whenthesamplesizeissmallandthehomoskedasticyassumptionactuallyholds,theusualtstatisticshaveexacttdistribution,butthiswillnotbethecaseforrobuststandarderrors,henceinferencesmaynotbecorrect
如果是小樣本同方差情形,那么常規(guī)的t統(tǒng)計(jì)量精確地服從t
分布,但是這并不適用于穩(wěn)健標(biāo)準(zhǔn)差,因此,在這種情況下使用穩(wěn)健標(biāo)準(zhǔn)差就可能導(dǎo)致推斷錯(cuò)誤。
Whenthesamplesizeislarge,reportingrobuststandarderrors(ortogetherwiththeusualstandarderrors)arerecommended,esp.inusingcross-sectionaldata.
在大樣本情形下,特別是應(yīng)用截面數(shù)據(jù)的時(shí)候,我們推薦報(bào)告穩(wěn)健標(biāo)準(zhǔn)差(或同時(shí)報(bào)告常規(guī)的標(biāo)準(zhǔn)差)。19第十九頁,共七十二頁,2022年,8月28日Heteroskedasticy(HSK)-robustInferenceafterOLSestimation
OLS估計(jì)后的HSK-穩(wěn)健推斷LetrsedenoteHSK-robuststandarderrors
trse=(estimate-hypothesizedvalue)/(rse)
記rse為對(duì)異方差穩(wěn)健的標(biāo)準(zhǔn)差
trse=(估計(jì)值-假設(shè)值)/(異方差穩(wěn)健的標(biāo)準(zhǔn)差)TheHSK-RobustFstatistic對(duì)異方差穩(wěn)健F統(tǒng)計(jì)量WithHSKtheusualFstatisticisnolongerFdistributed.
在異方差下,常規(guī)F統(tǒng)計(jì)量不再服從F分布。TheHSK-RobustFstatisticisalsocalledWaldstatistic HSK-穩(wěn)健F統(tǒng)計(jì)量也稱為Wald統(tǒng)計(jì)量Stataautomaticallycalculateitafterrobustregression Stata在穩(wěn)健回歸后自動(dòng)計(jì)算20第二十頁,共七十二頁,2022年,8月28日
Example:usebirth.dta,comparetheusualandrobustregressions:theusualregressions
例子:比較常規(guī)回歸和穩(wěn)健回歸:常規(guī)回歸21第二十一頁,共七十二頁,2022年,8月28日
desobs:1,388vars:143Jun199713:47size:55,520(99.5%ofmemoryfree)storagedisplayvaluevariablenametypeformatlabelvariablelabelfamincfloat%9.0g1988familyincome,$1000scigtaxfloat%9.0gcig.taxinhomestate,1988cigpricefloat%9.0gcig.priceinhomestate,1988bwghtint%8.0gbirthweight,ouncesfatheducbyte%8.0gfather'syrsofeducmotheducbyte%8.0gmother'syrsofeducparitybyte%8.0gbirthorderofchildmalebyte%8.0g=1ifmalechildwhitebyte%8.0g=1ifwhitecigsbyte%8.0gcigssmkedperdaywhilepreglbwghtfloat%9.0glogofbwghtbwghtlbsfloat%9.0gbirthweight,poundspacksfloat%9.0gpackssmkedperdaywhilepreglfamincfloat%9.0glog(faminc)22第二十二頁,共七十二頁,2022年,8月28日Example:usebirth.dta,comparetheusualandrobustregressions:therobustregressions
例子:比較常規(guī)回歸和穩(wěn)健回歸:穩(wěn)健回歸23第二十三頁,共七十二頁,2022年,8月28日Example:usebirth.dta,Fstatisticfortheusualregression
例子:應(yīng)用birth.dta,常規(guī)回歸的F統(tǒng)計(jì)量24第二十四頁,共七十二頁,2022年,8月28日Example:usebirth.dta,Fstatisticfortherobustregression
例子:應(yīng)用birth.dta,穩(wěn)健回歸的F統(tǒng)計(jì)量25第二十五頁,共七十二頁,2022年,8月28日ARobustLMStatistic
穩(wěn)健的LM統(tǒng)計(jì)量
RunOLSontherestrictedmodelandsavetheresiduals?
在有限制模型下進(jìn)行OLS,保存殘差?Regresseachoftheexcludedvariablesonalloftheincludedvariables(qdifferentregressions)andsaveeachsetofresiduals?1,?2,…,?q
將每一個(gè)排除變量對(duì)全部未排除變量進(jìn)行回歸(q個(gè)回歸)并將每一組殘差?1,?2,…,?q保存Regressavariabledefinedtobe=1
on?1?,?2?,…,?q?,withnointercept
將1向量對(duì)?1?,?2?,…,?q?進(jìn)行無截矩回歸。TheLMstatisticisn
–SSR1,whereSSR1isthesumofsquaredresidualsfromthisfinalregression LM定義為n
–SSR1其中SSR1
為最后一次回歸的殘差平方和。26第二十六頁,共七十二頁,2022年,8月28日Examplebirth.dta:theLMfortheusualregression(1)
例子birth.dta:常規(guī)回歸的LM27第二十七頁,共七十二頁,2022年,8月28日Examplebirth.dta:theLMfortheusualregression(2)
例子birth.dta:常規(guī)回歸的LM28第二十八頁,共七十二頁,2022年,8月28日Examplebirth.dta:therobustLMstatistic(1)
例子birth.dta:穩(wěn)健LM統(tǒng)計(jì)量(1)29第二十九頁,共七十二頁,2022年,8月28日Examplebirth.dta:therobustLMstatistic(2)
例子birth.dta:穩(wěn)健LM統(tǒng)計(jì)量(2)30第三十頁,共七十二頁,2022年,8月28日Examplebirth.dta:therobustLMstatistic(3)
例子birth.dta:穩(wěn)健LM統(tǒng)計(jì)量(3)31第三十一頁,共七十二頁,2022年,8月28日Examplebirth.dta:therobustLMstatistic(4)
例子birth.dta:穩(wěn)健LM統(tǒng)計(jì)量(4)32第三十二頁,共七十二頁,2022年,8月28日ChapterOutline本章提要ConsequencesofHSKofOLS OLS中異方差的影響HSK-RobustInferenceafterOLSestimation OLS估計(jì)后“異方差-穩(wěn)健”的統(tǒng)計(jì)推斷TestingforHSK 檢驗(yàn)異方差WeightedLeastSquaresEstimation 加權(quán)最小二乘估計(jì)33第三十三頁,共七十二頁,2022年,8月28日LectureOutline本課提要TestingforHSK檢驗(yàn)異方差TheBreuschnTest B-P檢驗(yàn)TheWhiteTest White檢驗(yàn)WeightedLeastsquares 加權(quán)最小二乘法WLSwhenHSKisknownuptoamultiplicativeconstant
當(dāng)在比例意義上已知異方差時(shí)的加權(quán)最小二乘法WLSwhenHSKisofunknownform:thefeasibleGLS
當(dāng)異方差具有未知形式時(shí)的加權(quán)最小二乘法:可行GLS34第三十四頁,共七十二頁,2022年,8月28日TestingforHSK
檢驗(yàn)異方差ThoughwehavemethodsofcomputingHSK-robustt,FandLMstatistics,therearestillreasonsforhavingsimpleteststhatcandetectthepresenceofheteroskedasticity.
雖然我們有辦法計(jì)算HSK-穩(wěn)健的t,F和LM統(tǒng)計(jì)量,我們?nèi)匀挥欣碛扇ふ铱梢宰R(shí)別異方差的簡(jiǎn)單檢驗(yàn)。35第三十五頁,共七十二頁,2022年,8月28日TestingforHSK
檢驗(yàn)異方差ReasonNo.1:WemayprefertoseetheusualOLSstandarderrorsandteststatisticsreportedunlessthereisevidenceofheteroskedasticity.
理由1:除非有證據(jù)顯示異方差存在,我們?nèi)詴?huì)偏好于常規(guī)OLS的標(biāo)準(zhǔn)差及檢驗(yàn)統(tǒng)計(jì)量。ReasonNo.2:Ifheteroskedasticityispresent,theOLSestimatorisnolongertheBLUE,thenitispossibletoobtainabetterestimatorthanOLS.
理由2:如果異方差存在,OLS不再是BLUE,那么就有可能得到比OLS更好的估計(jì)量。36第三十六頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差
EssentiallywewanttotestH0:Var(u|x1,x2,…,xk)=s2,whichisequivalenttoH0:E(u2|x1,x2,…,xk)=E(u2)=s2
本質(zhì)上,我們想檢驗(yàn)H0:Var(u|x1,x2,…,xk)=s2這等價(jià)于檢驗(yàn)H0:E(u2|x1,x2,…,xk)=E(u2)=s2Ifweassumetherelationshipbetweenu2andxjwillbelinear,cantestitasasetoflinearrestrictions
如果我們假設(shè)u2
和xj之間具有線性關(guān)系,則可以通過一組線性約束來完成檢驗(yàn)。So,foru2=d0+d1x1+…+dkxk+vthismeanstestingH0:d1=d2=…=dk=0
所以,對(duì)于u2=d0+d1x1+…+dkxk+v
這意味著檢驗(yàn)H0:d1=d2=…=dk=037第三十七頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差Underthenullhypothesis,itisoftenreasonabletoassumethattheerrorvisindependentofx1,…,xk.
在零假設(shè)下,通??梢约俣ㄕ`差v與x1,…,xk獨(dú)立TheneitherForLMstatisticsforoverallsignificanceoftheindependentvariablesinexplainingu2canbeusedtotestHSK.
那么,如果將u2視為被解釋變量,檢驗(yàn)全部解釋變量顯著性的F或LM統(tǒng)計(jì)量就可以用來檢驗(yàn)異方差。Theyareasymptoticallyvalidtestsinceu2isnotnormallydistributedinthesample.
由于u2在樣本中不是正態(tài)分布,這些統(tǒng)計(jì)量只在漸近的意義下適用。38第三十八頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差TheerrorcannotbeobservedbycanbeestimatedfromOLSresiduals.
不可觀測(cè)的誤差可以通過OLS殘差進(jìn)行估計(jì)。Afterregressingtheresidualssquaredonallofthex’s,canusetheR2toformanForLMtest. 將殘差平方對(duì)所有的x回歸之后,可以通過R2構(gòu)造F或LM檢驗(yàn)。39第三十九頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差40第四十頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差41第四十一頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差42第四十二頁,共七十二頁,2022年,8月28日TheBreuschnTestforHSK
用B-P檢驗(yàn)檢驗(yàn)異方差I(lǐng)fwesuspectthatHSKdependsonlyuponcertainregressors,wecanmodifytheBPtesttoregressresidualsfromstep1onthoseregressorsandcarryouttheappropriateForLMtest.
如果我們懷疑HSK僅依賴與某些特定的解釋變量,我們可以做一些調(diào)整:將第一步的殘差只對(duì)那些解釋變量回歸,并進(jìn)行適當(dāng)?shù)腇或LM檢驗(yàn)。43第四十三頁,共七十二頁,2022年,8月28日TheWhiteTestforHSK
用White檢驗(yàn)檢驗(yàn)異方差
TheBreusch-Pagantestwilldetectanylinearformsofheteroskedasticity B-P檢驗(yàn)可以識(shí)別任意線性形式的異方差TheWhitetestallowsfornonlinearitiesbyusingsquaresandcrossproductsofallthex’s White檢驗(yàn)通過加入x平方項(xiàng)和交叉項(xiàng)引入了一定的非線性。StilljustusinganForLMtotestwhetherallthexj,xj2,andxjxharejointlysignificant
仍然是用F和LM檢驗(yàn)來檢驗(yàn)xj,xj2,xjxh是否聯(lián)合顯著44第四十四頁,共七十二頁,2022年,8月28日TheWhiteTestforHSK
用White檢驗(yàn)檢驗(yàn)異方差Thiscangettobeunwieldyprettyquickly.
這個(gè)辦法很快就會(huì)顯出其笨重之處。Forexample,ifwehavethreeexplanatoryvariables,x1,x2,and
x3thentheWhitetestwillhave9restrictions:3onlevels,3onsquares,and3oncross-products.
例如,如果我們有三個(gè)解釋變量x1,x2,x3那么White檢驗(yàn)有9個(gè)約束,三個(gè)對(duì)線性項(xiàng),三個(gè)對(duì)平方項(xiàng),三個(gè)對(duì)交叉項(xiàng)。Withsmallsamples,degreesoffreedomwillsoonberunoutwithmoreregressors.
在小樣本情形,自由度將會(huì)隨著解釋變量數(shù)目增加而迅速減少。45第四十五頁,共七十二頁,2022年,8月28日AlternateformoftheWhitetest
White檢驗(yàn)的變形
ConsiderthatthefittedvaluesfromOLS,?,areafunctionofallthex’s
考慮到OLS的預(yù)測(cè)值?是所有x的函數(shù)。Thus,?2willbeafunctionofthesquaresandcrossproducts.Therefore,?and?2canproxyforallofthexj,xj2,andxjxh.
因此,?2是平方項(xiàng)和交叉項(xiàng)的函數(shù)。?
和?2可以用來替代所有的xj,xj2,xjxh46第四十六頁,共七十二頁,2022年,8月28日AlternateformoftheWhitetest
White檢驗(yàn)的變形Regresstheresidualssquaredon?and?2andusetheR2toformanForLMstatistic,
將殘差平方對(duì)?
和?2回歸,用R2來構(gòu)建F或LM統(tǒng)計(jì)量Nowweonlyneedtotest2restrictionsnow.
現(xiàn)在只需要檢驗(yàn)兩個(gè)約束47第四十七頁,共七十二頁,2022年,8月28日Examplebirth.dta:theBPtest48第四十八頁,共七十二頁,2022年,8月28日Examplebirth.dta:theBPtest(1)49第四十九頁,共七十二頁,2022年,8月28日Examplebirth.dta:theBPtest(2)TheFtestisjusttheoverallsignificancetest.SinceF(6,1184)=0.84,andprob>F=0.5382,theBPtestdoesnotrejectthenullofHMK. F檢驗(yàn)就是全局顯著性檢驗(yàn),由于F(6,1184)=0.84,且
prob>F=0.5382,B-P檢驗(yàn)不能拒絕同方差零假設(shè)。TheLMstatisticcanbegotbytyping LM統(tǒng)計(jì)量可以通過“display1190*0.0042”得到“display1190*0.0042”instata.TheLMstatisticis4.998,thecriticalvalueoftheChi-square(5%sig.Level)is12.95,doesnotrejectthenullofHMKeither. LM統(tǒng)計(jì)量為4.998,卡方分布5%的臨界值為12.95,也無法拒絕同方差零假設(shè)。50第五十頁,共七十二頁,2022年,8月28日Examplebirth.dta:theWhitetest(1)51第五十一頁,共七十二頁,2022年,8月28日Examplebirth.dta:theWhitetest(2)52第五十二頁,共七十二頁,2022年,8月28日FinalcommentsaboutHSKtests
對(duì)HSK檢驗(yàn)的最后評(píng)價(jià)ItispossiblefortheHSKtesttorejectthenullwhenimportantvariablesareomitted,eventhoughthetruthisthereisnoHSK. 即便真實(shí)的情況并無異方差,HSK檢驗(yàn)可能由于重要變量的遺漏而錯(cuò)誤的拒絕零假設(shè)。HSKcouldindicatemisspecification,therefore,whenpossible,thespecificationtestsshouldbecarriedoutearlierthantheHSKtest. HSK可能意味著模型設(shè)定錯(cuò)誤,因此,如果可能的話,應(yīng)當(dāng)在HSK檢驗(yàn)之前進(jìn)行模型設(shè)定檢驗(yàn)。53第五十三頁,共七十二頁,2022年,8月28日WeightedLeastSquares
加權(quán)最小二乘法
Whileit’salwayspossibletoestimaterobuststandarderrorsforOLSestimates,ifweknowsomethingaboutthespecificformoftheheteroskedasticity,wecantransformthemodelintoonethathashomoskedasticerrors–calledweightedleastsquares.
對(duì)OLS估計(jì)穩(wěn)健標(biāo)準(zhǔn)差總是可能辦到的,但是,如果我們知道一些關(guān)于異方差結(jié)構(gòu)的信息,我們可以將原模型轉(zhuǎn)化為具有同方差的新模型,這稱為加權(quán)最小二乘法。54第五十四頁,共七十二頁,2022年,8月28日WeightedLeastSquares
加權(quán)最小二乘法InsuchcasesweightedLeastsquaresismoreefficientestimatesthanOLS,anditproducestandFstatisticsthathavetandFdistributions. 在這些情況中,加權(quán)最小二乘法比OLS更為有效。對(duì)應(yīng)的t和F統(tǒng)計(jì)量具有t和F分布。55第五十五頁,共七十二頁,2022年,8月28日Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況
SupposetheheteroskedasticitycanbemodeledasVar(ui|xi)=s2i=s2
hi,wherehi=h(x)dependsonlyontheobservedcharacteristics,x.
假設(shè)異方差可以由模型Var(ui|xi)=s2i=s2
hi刻畫,其中hi=h(x)只依賴于可觀測(cè)特征xInsuchsituation,let’sdefineui*=ui/√hiandconsiderhowdoestheGauss-Markovassumptionsperformforthetransformedmodel.
在這種情況下,定義ui*=ui/√hi并考慮轉(zhuǎn)化后的模型是否服從Gauss-Markov假設(shè)。56第五十六頁,共七十二頁,2022年,8月28日Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況57第五十七頁,共七十二頁,2022年,8月28日Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況58第五十八頁,共七十二頁,2022年,8月28日Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況59第五十九頁,共七十二頁,2022年,8月28日Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況60第六十頁,共七十二頁,2022年,8月28日GeneralizedLeastSquares
廣義最小二乘法
EstimatingthetransformedequationbyOLSisanexampleofgeneralizedleastsquares(GLS)
通過OLS估計(jì)變換后的方程可以作為廣義最小二乘法(GLS)的一個(gè)例子GLSwillbeBLUEinthiscase GLS在這種情形下為BLUEGLSisaweightedleastsquares(WLS)procedurewhereeachsquaredresidualisweightedbytheinverseofVar(ui|xi) GLS是加權(quán)最小二乘法(WLS)在權(quán)重為Var(ui|xi)倒數(shù)時(shí)的特例。61第六十一頁,共七十二頁,2022年,8月28日WeightedLeastSquares
加權(quán)最小二乘法
WhileitisintuitivetoseewhyperformingOLSonatransformedequationisappropriate,itcanbetedioustodothetransformation
盡管對(duì)變換后的模型做OLS是直觀的,但是變換本身可能很繁瑣。Weightedleastsquaresisawayofgettingthesamething,withoutthetransformation
加權(quán)最小二乘法可以完成相同的目的,但是不需要進(jìn)行變換。Ideaistominimizetheweightedsumofsquares(weightedby1/hi)
想法是最小化加權(quán)平方和(權(quán)重為1/hi)62第六十二頁,共七十二頁,2022年,8月28日WeightedLeastSquares
加權(quán)最小二乘法63第六十三頁,共七十二頁,2022年,8月28日MoreonWLS
WLSisgreatifweknowwhatVar(ui|xi)lookslike
如果我們知道Var(ui|xi)的形式,WLS很棒Inmostcases,won’tknowformofheteroskedasticity
在大多數(shù)情況下,我們并不清楚異方差的形式64第六十四頁,共七十二頁,2022年,8月28日FeasibleGLS
可行GLS
Moretypicalisthecasewhereyoudon’tknowtheformoftheheteroskedasticity
更典型的情形是你并不知道異方差的形式Inthiscase,youneedtoestimateh(xi)
此時(shí),你需要估計(jì)h(xi)Typically,westartwiththeassumptionofafairlyflexiblemodel,suchas
我們可以從一個(gè)非常靈活的方程形式入手 Var(u|x)=s2exp(d0+d1x1+…+dkxk)Sincewedon’tknowthed,mustbeestimated 由于d未知,我們必須對(duì)它進(jìn)行估計(jì)。65第六十五頁,共七十二頁,2022年,8月28日FeasibleGLS(continued)
可行GLS
Ourassumptionimpliesthat
我們的假定意味著 u2=s2exp(d0+d1x1+…+dkxk)v, whereE(v|x)=1.ln(u2)=a0
+d1x1+…+dkxk+eWhereE(e)=1andeis
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 國(guó)有企業(yè)借款合同
- 公司股份制合同協(xié)議書
- 商務(wù)往來文書與合同樣本集
- 比賽授權(quán)協(xié)議書
- 產(chǎn)品授權(quán)經(jīng)銷協(xié)議書
- 無線接口協(xié)議書
- 轉(zhuǎn)讓帳篷酒店合同協(xié)議
- 足金擺件加工合同協(xié)議
- 獨(dú)子分家協(xié)議書
- 母嬰銷售協(xié)議書
- 初級(jí)社工師《社會(huì)工作實(shí)務(wù)》考試(重點(diǎn))題庫300題(含答案解析)
- 2024年天津市高考物理試題含答案解析
- 機(jī)器狗:技術(shù)成熟性能優(yōu)越場(chǎng)景剛需放量在即2025
- 心理創(chuàng)傷與精神障礙研究-深度研究
- 課題申報(bào)書:大學(xué)中學(xué)融通視域下拔尖創(chuàng)新人才早期培養(yǎng)評(píng)價(jià)標(biāo)準(zhǔn)體系構(gòu)建的實(shí)證研究
- 腦出血臨床管理指南2023課件
- 《東北風(fēng)情課件》課件
- 《初中數(shù)學(xué)家長(zhǎng)會(huì)》課件
- 西安市自來水有限公司招聘筆試沖刺題2025
- 大學(xué)生國(guó)家安全教育知到智慧樹章節(jié)測(cè)試課后答案2024年秋廣西科技大學(xué)
- 交通出行共享單車管理優(yōu)化策略
評(píng)論
0/150
提交評(píng)論