版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
MultipleRegressionAnalysis
y=b0+b1x1+b2x2+...bkxk+u6.Heteroskedasticity1Economics20-Prof.AndersonWhatisHeteroskedasticity
Recalltheassumptionofhomoskedasticityimpliedthatconditionalontheexplanatoryvariables,thevarianceoftheunobservederror,u,wasconstantIfthisisnottrue,thatisifthevarianceofuisdifferentfordifferentvaluesofthex’s,thentheerrorsareheteroskedasticExample:estimatingreturnstoeducationandabilityisunobservable,andthinkthevarianceinabilitydiffersbyeducationalattainment2Economics20-Prof.Anderson.x
x1x2yf(y|x)ExampleofHeteroskedasticityx3..E(y|x)=b0+b1x3Economics20-Prof.AndersonWhyWorryAboutHeteroskedasticity?
OLSisstillunbiasedandconsistent,evenifwedonotassumehomoskedasticityThestandarderrorsoftheestimatesarebiasedifwehaveheteroskedasticityIfthestandarderrorsarebiased,wecannotusetheusualtstatisticsorFstatisticsorLMstatisticsfordrawinginferences4Economics20-Prof.AndersonVariancewithHeteroskedasticity5Economics20-Prof.AndersonVariancewithHeteroskedasticity6Economics20-Prof.AndersonRobustStandardErrors
Nowthatwehaveaconsistentestimateofthevariance,thesquarerootcanbeusedasastandarderrorforinferenceTypicallycalltheserobuststandarderrorsSometimestheestimatedvarianceiscorrectedfordegreesoffreedombymultiplyingbyn/(n–k–1)Asn→∞it’sallthesame,though7Economics20-Prof.AndersonRobustStandardErrors(cont)
Importanttorememberthattheserobuststandarderrorsonlyhaveasymptoticjustification–withsmallsamplesizeststatisticsformedwithrobuststandarderrorswillnothaveadistributionclosetothet,andinferenceswillnotbecorrectInStata,robuststandarderrorsareeasilyobtainedusingtherobustoptionofreg8Economics20-Prof.AndersonARobustLMStatistic
RunOLSontherestrictedmodelandsavetheresiduals?Regresseachoftheexcludedvariablesonalloftheincludedvariables(qdifferentregressions)andsaveeachsetofresiduals?1,?2,…,?qRegressavariabledefinedtobe=1
on?1?,?2?,…,?q
?,withnointerceptTheLMstatisticisn–SSR1,whereSSR1isthesumofsquaredresidualsfromthisfinalregression9Economics20-Prof.AndersonTestingforHeteroskedasticity
EssentiallywanttotestH0:Var(u|x1,x2,…,xk)=s2,whichisequivalenttoH0:E(u2|x1,x2,…,xk)=E(u2)=s2Ifassumetherelationshipbetweenu2andxjwillbelinear,cantestasalinearrestrictionSo,foru2=d0+d1x1+…+dk
xk+v)thismeanstestingH0:d1=d2=…=dk=010Economics20-Prof.AndersonTheBreusch-PaganTest
Don’tobservetheerror,butcanestimateitwiththeresidualsfromtheOLSregressionAfterregressingtheresidualssquaredonallofthex’s,canusetheR2toformanForLMtestTheFstatisticisjustthereportedFstatisticforoverallsignificanceoftheregression,F=[R2/k]/[(1–
R2)/(n–k–1)],whichisdistributedFk,n–k-1TheLMstatisticisLM=nR2,whichisdistributedc2k11Economics20-Prof.AndersonTheWhiteTest
TheBreusch-PagantestwilldetectanylinearformsofheteroskedasticityTheWhitetestallowsfornonlinearitiesbyusingsquaresandcrossproductsofallthex’sStilljustusinganForLMtotestwhetherallthexj,xj2,andxjxharejointlysignificantThiscangettobeunwieldyprettyquickly12Economics20-Prof.AndersonAlternateformoftheWhitetest
ConsiderthatthefittedvaluesfromOLS,?,areafunctionofallthex’sThus,?2willbeafunctionofthesquaresandcrossproductsand?and?2canproxyforallofthexj,xj2,andxjxh,soRegresstheresidualssquaredon?and?2andusetheR2toformanForLMstatisticNoteonlytestingfor2restrictionsnow13Economics20-Prof.AndersonWeightedLeastSquares
Whileit’salwayspossibletoestimaterobuststandarderrorsforOLSestimates,ifweknowsomethingaboutthespecificformoftheheteroskedasticity,wecanobtainmoreefficientestimatesthanOLSThebasicideaisgoingtobetotransformthemodelintoonethathashomoskedasticerrors–calledweightedleastsquares14Economics20-Prof.AndersonCaseofformbeingknownuptoamultiplicativeconstant
SupposetheheteroskedasticitycanbemodeledasVar(u|x)=s2h(x),wherethetrickistofigureoutwhath(x)≡
hilookslikeE(ui/√hi|x)=0,becausehiisonlyafunctionofx,andVar(ui/√hi|x)=s2,becauseweknowVar(u|x)=s2hiSo,ifwedividedourwholeequationby√hiwewouldhaveamodelwheretheerrorishomoskedastic
15Economics20-Prof.AndersonGeneralizedLeastSquares
EstimatingthetransformedequationbyOLSisanexampleofgeneralizedleastsquares(GLS)GLSwillbeBLUEinthiscaseGLSisaweightedleastsquares(WLS)procedurewhereeachsquaredresidualisweightedbytheinverseofVar(ui|xi)16Economics20-Prof.AndersonWeightedLeastSquares
WhileitisintuitivetoseewhyperformingOLSonatransformedequationisappropriate,itcanbetedioustodothetransformationWeightedleastsquaresisawayofgettingthesamething,withoutthetransformationIdeaistominimizetheweightedsumofsquares(weightedby1/hi)17Economics20-Prof.AndersonMoreonWLS
WLSisgreatifweknowwhatVar(ui|xi)lookslikeInmostcases,won’tknowformofheteroskedasticityExamplewheredoisifdataisaggregated,butmodelisindividuallevelWanttoweighteachaggregateobservationbytheinverseofthenumberofindividuals18Economics20-Prof.AndersonFeasibleGLS
Moretypicalisthecasewhereyoudon’tknowtheformoftheheteroskedasticityInthiscase,youneedtoestimateh(xi)Typically,westartwiththeassumptionofafairlyflexiblemodel,suchas
Var(u|x)=s2exp(d0+d1x1+…+dkxk)Sincewedon’tknowthed,mustestimate19Economics20-Prof.AndersonFeasibleGLS(continued)
Ourassumptionimpliesthatu2=s2exp(d0+d1x1+…+dkxk)vWhereE(v|x)=1,thenifE(v)=1ln(u2)=a0
+d1x1+…+dkxk+eWhereE(e)=1andeisindependentofxNow,weknowthat?isanestimateofu,sowecanestimatethisbyOLS20Economics20-Prof.AndersonFeasibleGLS(continued)
Now,anestimateofhisobtainedas?
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(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)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年度farmhouse木門安裝服務(wù)合同
- 深圳購房合同樣本
- 住宅房屋購買合同簡單版
- 2024年《軟件許可合同中不可抗力事件的處理》
- 廣告公司授權(quán)合同模板
- 2024年范文承包土地協(xié)議書
- 2024年發(fā)光字合同
- 跨境客運(yùn)線路租賃合同
- 共建文明施工項(xiàng)目協(xié)議書
- 親子園與醫(yī)療機(jī)構(gòu)合作協(xié)議書
- 國開2024年《中國法律史》平時(shí)作業(yè)1-3答案
- 鋼結(jié)構(gòu)策劃書(范本)
- 急性腎衰竭與crrt治
- 焦化廠生產(chǎn)工序及工藝流程圖
- 嘔吐(急性胃腸炎)診療指南(制訂)編制說明排版
- 江堤道路工程施工方案#江蘇
- (外研版)初中英語語法匯總[新版]
- 李燕璇植樹問題卡通版5
- 有砟軌道鋪設(shè)的施工講解
- 煙草專賣食堂燃?xì)庑孤都盎馂?zāi)事故現(xiàn)場應(yīng)急處置方案
- 國家電網(wǎng)公司十八項(xiàng)反措
評論
0/150
提交評論