




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
多元回歸分析異方差演示文稿1目前一頁\總數(shù)七十四頁\編于十七點2多元回歸分析異方差目前二頁\總數(shù)七十四頁\編于十七點ChapterOutline本章提要ConsequencesofHSKofOLSOLS中異方差的影響HSK-RobustInferenceafterOLSestimationOLS估計后“對異方差穩(wěn)健”的統(tǒng)計推斷TestingforHSK檢驗異方差WeightedLeastSquaresEstimation加權(quán)最小二乘估計目前三頁\總數(shù)七十四頁\編于十七點LectureOutline本課提要WhatisHSK什么是異方差ConsequencesofHSK異方差的影響HSK-RobustInferenceafterOLSestimationOLS估計后的“對異方差穩(wěn)健”統(tǒng)計推斷HSK-robuststandarderror HSK-異方差穩(wěn)健標(biāo)準(zhǔn)差HSK-robustt,F,LMstatistics HSK-異方差穩(wěn)健t,F,LM統(tǒng)計量目前四頁\總數(shù)七十四頁\編于十七點WhatisHeteroskedasticity(HSK)
什么是異方差
Recalltheassumptionofhomoskedasticityimpliedthatconditionalontheexplanatoryvariables,thevarianceoftheunobservederror,u,wasconstant
同方差假定意味著條件于解釋變量,不可觀測誤差的方差為常數(shù)Ifthisisnottrue,thatisifthevarianceofuisdifferentfordifferentvaluesofthex’s,thentheerrorsareheteroskedastic
如果u的方差隨x變化,那么誤差是異方差的。Example:estimatingreturnstoeducationandabilityisunobservable,andthinkthevarianceinabilitydiffersbyeducationalattainment
例子:估計教育回報并且能力不可觀測,認(rèn)為能力的方差隨教育水平變化。目前五頁\總數(shù)七十四頁\編于十七點.Educationlevelprimarysecondaryf(y|x)IllustrationofHeteroskedasticity異方差圖示college..E(y|x)=b0+b1xwage目前六頁\總數(shù)七十四頁\編于十七點Aspecificexample:histogramsofwageratesforeacheducationdegree,fromonlyeducated1yearto18years.
一個具體例子:每一個教育年限(1-18年)對應(yīng)人群的工資直方圖目前七頁\總數(shù)七十四頁\編于十七點CheckingtheExistenceofHSK:plottingtheresidualsagainstthefittedvalues目前八頁\總數(shù)七十四頁\編于十七點Whenthereisheteroskedasticity…
當(dāng)存在異方差時…
OLSisstillunbiasedandconsistent. OLS無偏且一致R-squaredoradjustedR-squaredarestillfinegoodness-of-fitmeasures. R平方和調(diào)整后的R平方仍可以很好地度量擬合優(yōu)度。TheyareestimatesofthepopulationR-squared,1
–[Var(u)/Var(y)],wherethevariancesaretheunconditionalvariancesinthepopulation.
它們是對總體R平方1
–[Var(u)/Var(y)]的估計,其中的方差是總體中的“非條件”方差。TheyconsistentlyestimatethepopulationR-squared,whetherornotVar(u|x)
=Var(y|x)dependsonx.
無論Var(u|x)
=Var(y|x)是否依賴于x,它們都可以一致地估計總體R平方。目前九頁\總數(shù)七十四頁\編于十七點Whydowecare?
為何關(guān)心異方差?Thestandarderrorsoftheestimatesarebiasedifwehaveheteroskedasticity.
如果存在異方差,那么估計值的標(biāo)準(zhǔn)差是有偏的。Ifthestandarderrorsarebiased,wecannotusetheusualtstatisticsorFstatisticsorLMstatisticsfordrawinginferences. 如果標(biāo)準(zhǔn)差有偏,我們就不能應(yīng)用通常的t統(tǒng)計量或F統(tǒng)計量來進(jìn)行統(tǒng)計推斷。目前十頁\總數(shù)七十四頁\編于十七點Whattodo?
怎么辦?Econometricianshavelearnedhowtoadjuststandarderrors,t,F,andLMstatisticssothattheyarevalidinthepresenceofheteroskedasticityofunknownform.
計量經(jīng)濟(jì)學(xué)家已經(jīng)知道如何調(diào)整標(biāo)準(zhǔn)差,t,F(xiàn),LM量,使得它們當(dāng)未知形式的異方差存在時仍然有效。White(1980)showsthatthevariances,,canbeestimatedinthepresenceofheteroskedasticity.
White(1980)指出,在存在異方差時,方差也是可以估計的。目前十一頁\總數(shù)七十四頁\編于十七點VariancewithHeteroskedasticity
異方差存在時的方差目前十二頁\總數(shù)七十四頁\編于十七點VariancewithHeteroskedasticity
異方差存在時的方差目前十三頁\總數(shù)七十四頁\編于十七點VariancewithHeteroskedasticity
異方差存在時的方差目前十四頁\總數(shù)七十四頁\編于十七點VariancewithHeteroskedasticity
異方差存在時的方差Thesquarerootofiscalled:
開平方被稱為Heteroskedasticity-robuststandarderror,or
對異方差穩(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)差目前十五頁\總數(shù)七十四頁\編于十七點RobustStandardErrors
穩(wěn)健標(biāo)準(zhǔn)差
Nowtherobuststandarderrorscanbeusedforinference
穩(wěn)健標(biāo)準(zhǔn)差可以用來進(jìn)行推斷。Sometimestheestimatedvarianceiscorrectedfordegreesoffreedombymultiplyingbyn/(n–k–1)
有時可以將估計的方差乘以n/(n–k–1)來修正自由度Asn→∞it’sallthesame,though.
當(dāng)n→∞時,沒有區(qū)別。目前十六頁\總數(shù)七十四頁\編于十七點Example:robustseversususualse
例子:穩(wěn)健標(biāo)準(zhǔn)差與常規(guī)標(biāo)準(zhǔn)差目前十七頁\總數(shù)七十四頁\編于十七點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.
但是實證中常常發(fā)現(xiàn)穩(wěn)健標(biāo)準(zhǔn)差要大些。Ifthedifferencesbetweenthesetwoerrorsarelarge,thentheconclusionsforstatisticalinferencecanbeverydifferent.
如果這兩種標(biāo)準(zhǔn)差的差異很大,那么統(tǒng)計推斷的結(jié)論可能有很大差異。目前十八頁\總數(shù)七十四頁\編于十七點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)差的適用性依賴于大樣本。目前十九頁\總數(shù)七十四頁\編于十七點RobustStandardErrors
穩(wěn)健標(biāo)準(zhǔn)差Whenthesamplesizeissmallandthehomoskedasticyassumptionactuallyholds,theusualtstatisticshaveexacttdistribution,butthiswillnotbethecaseforrobuststandarderrors,henceinferencesmaynotbecorrect
如果是小樣本同方差情形,那么常規(guī)的t統(tǒng)計量精確地服從t
分布,但是這并不適用于穩(wěn)健標(biāo)準(zhǔn)差,因此,在這種情況下使用穩(wěn)健標(biāo)準(zhǔn)差就可能導(dǎo)致推斷錯誤。
Whenthesamplesizeislarge,reportingrobuststandarderrors(ortogetherwiththeusualstandarderrors)arerecommended,esp.inusingcross-sectionaldata.
在大樣本情形下,特別是應(yīng)用截面數(shù)據(jù)的時候,我們推薦報告穩(wěn)健標(biāo)準(zhǔn)差(或同時報告常規(guī)的標(biāo)準(zhǔn)差)。目前二十頁\總數(shù)七十四頁\編于十七點Heteroskedasticy(HSK)-robustInferenceafterOLSestimation
OLS估計后的HSK-穩(wěn)健推斷LetrsedenoteHSK-robuststandarderrors
trse=(estimate-hypothesizedvalue)/(rse)
記rse為對異方差穩(wěn)健的標(biāo)準(zhǔn)差
trse=(估計值-假設(shè)值)/(異方差穩(wěn)健的標(biāo)準(zhǔn)差)TheHSK-RobustFstatistic對異方差穩(wěn)健F統(tǒng)計量WithHSKtheusualFstatisticisnolongerFdistributed.
在異方差下,常規(guī)F統(tǒng)計量不再服從F分布。TheHSK-RobustFstatisticisalsocalledWaldstatistic HSK-穩(wěn)健F統(tǒng)計量也稱為Wald統(tǒng)計量Stataautomaticallycalculateitafterrobustregression Stata在穩(wěn)健回歸后自動計算目前二十一頁\總數(shù)七十四頁\編于十七點
Example:usebirth.dta,comparetheusualandrobustregressions:theusualregressions
例子:比較常規(guī)回歸和穩(wěn)健回歸:常規(guī)回歸目前二十二頁\總數(shù)七十四頁\編于十七點
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)目前二十三頁\總數(shù)七十四頁\編于十七點Example:usebirth.dta,comparetheusualandrobustregressions:therobustregressions
例子:比較常規(guī)回歸和穩(wěn)健回歸:穩(wěn)健回歸目前二十四頁\總數(shù)七十四頁\編于十七點Example:usebirth.dta,Fstatisticfortheusualregression
例子:應(yīng)用birth.dta,常規(guī)回歸的F統(tǒng)計量目前二十五頁\總數(shù)七十四頁\編于十七點Example:usebirth.dta,Fstatisticfortherobustregression
例子:應(yīng)用birth.dta,穩(wěn)健回歸的F統(tǒng)計量目前二十六頁\總數(shù)七十四頁\編于十七點ARobustLMStatistic
穩(wěn)健的LM統(tǒng)計量
RunOLSontherestrictedmodelandsavetheresiduals?
在有限制模型下進(jìn)行OLS,保存殘差?Regresseachoftheexcludedvariablesonalloftheincludedvariables(qdifferentregressions)andsaveeachsetofresiduals?1,?2,…,?q
將每一個排除變量對全部未排除變量進(jìn)行回歸(q個回歸)并將每一組殘差?1,?2,…,?q保存Regressavariabledefinedtobe=1
on?1?,?2?,…,?q?,withnointercept
將1向量對?1?,?2?,…,?q?進(jìn)行無截矩回歸。TheLMstatisticisn
–SSR1,whereSSR1isthesumofsquaredresidualsfromthisfinalregression LM定義為n
–SSR1其中SSR1
為最后一次回歸的殘差平方和。目前二十七頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theLMfortheusualregression(1)
例子birth.dta:常規(guī)回歸的LM目前二十八頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theLMfortheusualregression(2)
例子birth.dta:常規(guī)回歸的LM目前二十九頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:therobustLMstatistic(1)
例子birth.dta:穩(wěn)健LM統(tǒng)計量(1)目前三十頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:therobustLMstatistic(2)
例子birth.dta:穩(wěn)健LM統(tǒng)計量(2)目前三十一頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:therobustLMstatistic(3)
例子birth.dta:穩(wěn)健LM統(tǒng)計量(3)目前三十二頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:therobustLMstatistic(4)
例子birth.dta:穩(wěn)健LM統(tǒng)計量(4)目前三十三頁\總數(shù)七十四頁\編于十七點ChapterOutline本章提要ConsequencesofHSKofOLS OLS中異方差的影響HSK-RobustInferenceafterOLSestimation OLS估計后“異方差-穩(wěn)健”的統(tǒng)計推斷TestingforHSK 檢驗異方差WeightedLeastSquaresEstimation 加權(quán)最小二乘估計目前三十四頁\總數(shù)七十四頁\編于十七點LectureOutline本課提要TestingforHSK檢驗異方差TheBreuschnTest B-P檢驗TheWhiteTest White檢驗WeightedLeastsquares 加權(quán)最小二乘法WLSwhenHSKisknownuptoamultiplicativeconstant
當(dāng)在比例意義上已知異方差時的加權(quán)最小二乘法WLSwhenHSKisofunknownform:thefeasibleGLS
當(dāng)異方差具有未知形式時的加權(quán)最小二乘法:可行GLS目前三十五頁\總數(shù)七十四頁\編于十七點TestingforHSK
檢驗異方差ThoughwehavemethodsofcomputingHSK-robustt,FandLMstatistics,therearestillreasonsforhavingsimpleteststhatcandetectthepresenceofheteroskedasticity.
雖然我們有辦法計算HSK-穩(wěn)健的t,F和LM統(tǒng)計量,我們?nèi)匀挥欣碛扇ふ铱梢宰R別異方差的簡單檢驗。目前三十六頁\總數(shù)七十四頁\編于十七點TestingforHSK
檢驗異方差ReasonNo.1:WemayprefertoseetheusualOLSstandarderrorsandteststatisticsreportedunlessthereisevidenceofheteroskedasticity.
理由1:除非有證據(jù)顯示異方差存在,我們?nèi)詴糜诔R?guī)OLS的標(biāo)準(zhǔn)差及檢驗統(tǒng)計量。ReasonNo.2:Ifheteroskedasticityispresent,theOLSestimatorisnolongertheBLUE,thenitispossibletoobtainabetterestimatorthanOLS.
理由2:如果異方差存在,OLS不再是BLUE,那么就有可能得到比OLS更好的估計量。目前三十七頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差
EssentiallywewanttotestH0:Var(u|x1,x2,…,xk)=s2,whichisequivalenttoH0:E(u2|x1,x2,…,xk)=E(u2)=s2
本質(zhì)上,我們想檢驗H0:Var(u|x1,x2,…,xk)=s2這等價于檢驗H0:E(u2|x1,x2,…,xk)=E(u2)=s2Ifweassumetherelationshipbetweenu2andxjwillbelinear,cantestitasasetoflinearrestrictions
如果我們假設(shè)u2
和xj之間具有線性關(guān)系,則可以通過一組線性約束來完成檢驗。So,foru2=d0+d1x1+…+dkxk+vthismeanstestingH0:d1=d2=…=dk=0
所以,對于u2=d0+d1x1+…+dkxk+v
這意味著檢驗H0:d1=d2=…=dk=0目前三十八頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差Underthenullhypothesis,itisoftenreasonabletoassumethattheerrorvisindependentofx1,…,xk.
在零假設(shè)下,通??梢约俣ㄕ`差v與x1,…,xk獨(dú)立TheneitherForLMstatisticsforoverallsignificanceoftheindependentvariablesinexplainingu2canbeusedtotestHSK.
那么,如果將u2視為被解釋變量,檢驗全部解釋變量顯著性的F或LM統(tǒng)計量就可以用來檢驗異方差。Theyareasymptoticallyvalidtestsinceu2isnotnormallydistributedinthesample.
由于u2在樣本中不是正態(tài)分布,這些統(tǒng)計量只在漸近的意義下適用。目前三十九頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差TheerrorcannotbeobservedbycanbeestimatedfromOLSresiduals.
不可觀測的誤差可以通過OLS殘差進(jìn)行估計。Afterregressingtheresidualssquaredonallofthex’s,canusetheR2toformanForLMtest. 將殘差平方對所有的x回歸之后,可以通過R2構(gòu)造F或LM檢驗。目前四十頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差目前四十一頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差目前四十二頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差目前四十三頁\總數(shù)七十四頁\編于十七點TheBreuschnTestforHSK
用B-P檢驗檢驗異方差I(lǐng)fwesuspectthatHSKdependsonlyuponcertainregressors,wecanmodifytheBPtesttoregressresidualsfromstep1onthoseregressorsandcarryouttheappropriateForLMtest.
如果我們懷疑HSK僅依賴與某些特定的解釋變量,我們可以做一些調(diào)整:將第一步的殘差只對那些解釋變量回歸,并進(jìn)行適當(dāng)?shù)腇或LM檢驗。目前四十四頁\總數(shù)七十四頁\編于十七點TheWhiteTestforHSK
用White檢驗檢驗異方差
TheBreusch-Pagantestwilldetectanylinearformsofheteroskedasticity B-P檢驗可以識別任意線性形式的異方差TheWhitetestallowsfornonlinearitiesbyusingsquaresandcrossproductsofallthex’s White檢驗通過加入x平方項和交叉項引入了一定的非線性。StilljustusinganForLMtotestwhetherallthexj,xj2,andxjxharejointlysignificant
仍然是用F和LM檢驗來檢驗xj,xj2,xjxh是否聯(lián)合顯著目前四十五頁\總數(shù)七十四頁\編于十七點TheWhiteTestforHSK
用White檢驗檢驗異方差Thiscangettobeunwieldyprettyquickly.
這個辦法很快就會顯出其笨重之處。Forexample,ifwehavethreeexplanatoryvariables,x1,x2,and
x3thentheWhitetestwillhave9restrictions:3onlevels,3onsquares,and3oncross-products.
例如,如果我們有三個解釋變量x1,x2,x3那么White檢驗有9個約束,三個對線性項,三個對平方項,三個對交叉項。Withsmallsamples,degreesoffreedomwillsoonberunoutwithmoreregressors.
在小樣本情形,自由度將會隨著解釋變量數(shù)目增加而迅速減少。目前四十六頁\總數(shù)七十四頁\編于十七點AlternateformoftheWhitetest
White檢驗的變形
ConsiderthatthefittedvaluesfromOLS,?,areafunctionofallthex’s
考慮到OLS的預(yù)測值?是所有x的函數(shù)。Thus,?2willbeafunctionofthesquaresandcrossproducts.Therefore,?and?2canproxyforallofthexj,xj2,andxjxh.
因此,?2是平方項和交叉項的函數(shù)。?
和?2可以用來替代所有的xj,xj2,xjxh目前四十七頁\總數(shù)七十四頁\編于十七點AlternateformoftheWhitetest
White檢驗的變形Regresstheresidualssquaredon?and?2andusetheR2toformanForLMstatistic,
將殘差平方對?
和?2回歸,用R2來構(gòu)建F或LM統(tǒng)計量Nowweonlyneedtotest2restrictionsnow.
現(xiàn)在只需要檢驗兩個約束目前四十八頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theBPtest目前四十九頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theBPtest(1)目前五十頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theBPtest(2)TheFtestisjusttheoverallsignificancetest.SinceF(6,1184)=0.84,andprob>F=0.5382,theBPtestdoesnotrejectthenullofHMK. F檢驗就是全局顯著性檢驗,由于F(6,1184)=0.84,且
prob>F=0.5382,B-P檢驗不能拒絕同方差零假設(shè)。TheLMstatisticcanbegotbytyping LM統(tǒng)計量可以通過“display1190*0.0042”得到“display1190*0.0042”instata.TheLMstatisticis4.998,thecriticalvalueoftheChi-square(5%sig.Level)is12.95,doesnotrejectthenullofHMKeither. LM統(tǒng)計量為4.998,卡方分布5%的臨界值為12.95,也無法拒絕同方差零假設(shè)。目前五十一頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theWhitetest(1)目前五十二頁\總數(shù)七十四頁\編于十七點Examplebirth.dta:theWhitetest(2)目前五十三頁\總數(shù)七十四頁\編于十七點FinalcommentsaboutHSKtests
對HSK檢驗的最后評價ItispossiblefortheHSKtesttorejectthenullwhenimportantvariablesareomitted,eventhoughthetruthisthereisnoHSK. 即便真實的情況并無異方差,HSK檢驗可能由于重要變量的遺漏而錯誤的拒絕零假設(shè)。HSKcouldindicatemisspecification,therefore,whenpossible,thespecificationtestsshouldbecarriedoutearlierthantheHSKtest. HSK可能意味著模型設(shè)定錯誤,因此,如果可能的話,應(yīng)當(dāng)在HSK檢驗之前進(jìn)行模型設(shè)定檢驗。目前五十四頁\總數(shù)七十四頁\編于十七點WeightedLeastSquares
加權(quán)最小二乘法
Whileit’salwayspossibletoestimaterobuststandarderrorsforOLSestimates,ifweknowsomethingaboutthespecificformoftheheteroskedasticity,wecantransformthemodelintoonethathashomoskedasticerrors–calledweightedleastsquares.
對OLS估計穩(wěn)健標(biāo)準(zhǔn)差總是可能辦到的,但是,如果我們知道一些關(guān)于異方差結(jié)構(gòu)的信息,我們可以將原模型轉(zhuǎn)化為具有同方差的新模型,這稱為加權(quán)最小二乘法。目前五十五頁\總數(shù)七十四頁\編于十七點WeightedLeastSquares
加權(quán)最小二乘法InsuchcasesweightedLeastsquaresismoreefficientestimatesthanOLS,anditproducestandFstatisticsthathavetandFdistributions. 在這些情況中,加權(quán)最小二乘法比OLS更為有效。對應(yīng)的t和F統(tǒng)計量具有t和F分布。目前五十六頁\總數(shù)七十四頁\編于十七點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)只依賴于可觀測特征xInsuchsituation,let’sdefineui*=ui/√hiandconsiderhowdoestheGauss-Markovassumptionsperformforthetransformedmodel.
在這種情況下,定義ui*=ui/√hi并考慮轉(zhuǎn)化后的模型是否服從Gauss-Markov假設(shè)。目前五十七頁\總數(shù)七十四頁\編于十七點Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況目前五十八頁\總數(shù)七十四頁\編于十七點Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況目前五十九頁\總數(shù)七十四頁\編于十七點Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況目前六十頁\總數(shù)七十四頁\編于十七點Caseofformbeingknownuptoamultiplicativeconstant
異方差結(jié)構(gòu)在比例意義上已知的情況目前六十一頁\總數(shù)七十四頁\編于十七點GeneralizedLeastSquares
廣義最小二乘法
EstimatingthetransformedequationbyOLSisanexampleofgeneralizedleastsquares(GLS)
通過OLS估計變換后的方程可以作為廣義最小二乘法(GLS)的一個例子GLSwillbeBLUEinthiscase GLS在這種情形下為BLUEGLSisaweightedleastsquares(WLS)procedurewhereeachsquaredresidualisweightedbytheinverseofVar(ui|xi) GLS是加權(quán)最小二乘法(WLS)在權(quán)重為Var(ui|xi)倒數(shù)時的特例。目前六十二頁\總數(shù)七十四頁\編于十七點WeightedLeastSquares
加權(quán)最小二乘法
WhileitisintuitivetoseewhyperformingOLSonatransformedequationisappropriate,itcanbetedioustodothetransformation
盡管對變換后的模型做OLS是直觀的,但是變換本身可能很繁瑣。Weightedleastsquaresisawayofgettingthesamething,withoutthetransformation
加權(quán)最小二乘法可以完成相同的目的,但是不需要進(jìn)行變換。Ideaistominimizetheweightedsumofsquares(weightedby1/hi)
想法是最小化加權(quán)平方和(權(quán)重為1/hi)目前六十三頁\總數(shù)七十四頁\編于十七點WeightedLeastSquares
加權(quán)最小二乘法目前六十四頁\總數(shù)七十四頁\編于十七點MoreonWLS
WLSisgreatifweknowwhatVar(ui|xi)lookslike
如果我們知道Var(ui|xi)的形式,WLS很棒Inmostcases,won’tknowformofheteroskedasticity
在大多數(shù)情況下,我們并不清楚異方差的形式目前六十五頁\總數(shù)七十四頁\編于十七點FeasibleGLS
可行GLS
Moretypicalisthecasewhereyoudon’tknowtheformoftheheteroskedasticity
更典型的情形是你并不知道異方差的形式Inthiscase,youneedtoestimateh(xi)
此時,你需要估計h(xi)Typically,westartwiththeassumptionofafairlyflexiblemodel,suchas
我們可以從一個非常靈活的方程形式入手 Var(u|x)=s2exp(d0+d1x1+…+dkxk)Sincewedon’tknowthed,mustbeestimated 由于d未知,我們必須對它進(jìn)行估計。目前六十六頁\總數(shù)七十四頁\編于十七點FeasibleGLS(continued)
可行GLS
Ourassumptionimpliesthat
我們的假定意味著 u2=s2exp(d0+d1x1+…+dkxk)v, whereE(v|x)=1.ln(u2)=a0
+d1x1+…+dkxk+eWhereE(e)=1andeisindependentofx
其中E(e)=1且e
獨(dú)立于xNow,weknowthat?isanestimateofu,sowecanestimatethisbyOLS
現(xiàn)在,我們知道?
是u的一個估計,所以我們可以通過OLS對其進(jìn)行估計。目前六十七頁\總數(shù)七十四頁\編于十七點FeasibleGLS(continued)
可行GLS
Now,anestimateofhisobtainedas?=exp(?),andtheinv
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 主管的自我約束與職業(yè)操守計劃
- 戰(zhàn)略規(guī)劃與執(zhí)行框架計劃
- 九下必考名著《簡愛》考點匯編及中考真題
- 會計職業(yè)認(rèn)證與持續(xù)教育計劃
- 足浴店客戶服務(wù)的語言藝術(shù)與禮儀
- 零售店面裝飾趨勢與消費(fèi)者購物體驗
- 跨境電商的物流模式創(chuàng)新與實踐
- 高海拔地區(qū)的特殊營養(yǎng)餐策略
- 非課改地區(qū)專用2024-2025版高中政治第二單元周練過關(guān)五新人教版必修1
- 浙江國企招聘2025金華市數(shù)字紅人文化傳媒有限公司招聘2人筆試參考題庫附帶答案詳解
- 學(xué)前比較教育(學(xué)前教育專業(yè))第3版全套教學(xué)課件
- 企業(yè)人力資源內(nèi)部審核檢查表
- 《素描》課件-第一章 素描入門
- GB/T 42828.1-2023鹽堿地改良通用技術(shù)第1部分:鐵尾砂改良
- 工資條(標(biāo)準(zhǔn)模版)
- 第四講 搜索引擎檢索
- 法語的發(fā)音規(guī)則及法語單詞分類記憶
- 衛(wèi)生和微生物基礎(chǔ)知識培訓(xùn)-
- ICU輪轉(zhuǎn)護(hù)士培訓(xùn)計劃和手冊
- GB/T 9787-1988熱軋等邊角鋼尺寸、外形、重量及允許偏差
- GB/T 17614.1-2015工業(yè)過程控制系統(tǒng)用變送器第1部分:性能評定方法
評論
0/150
提交評論