版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Hausman Chapter5.补 Presentregressionresultin Chapter1.EstimationStep1:Step2:SimpleregressionStep3:Step4:Step1:时间变Step2:Step3:SimpleregressionStep4:Step2:截面变量和时间变Step3:DescriptionStep4:模型筛选有:individualeffectcorrelatedwithX?Hausman ThecommandtoprovidesummarystatisticsinStataissummarize.IfyouStatawilldisythenumberofobservationsonthevariableY,itsmean,standarddeviation,minimumand umvalues.Ifyouwantmorethantheabovestatistics(e.g.percentiles,variance,skenwess,kurtosis),youneedtotypethedetailoption:Youcanalsoapplythesummarizecommandtoproducesummarystatisticsonmorethanjustonevariable,e.g.:summarizesummarizeYThecommandalsooffersseveraloptions,whichyoucanfindoutbytyhelpsummarizeAusefulalternativetotheaboveisthetabstatcommand.Forexample:willreportatableshowingthemeanofY.Thiscommandalsohasanumberofoptions(seehelpAusefuloptionofthetabstatcommandisthestatisticsoption,requestingadditionalstatisticsthatyoucanspecify,e.g.:bytyhelptabstatandlookingatthestatisticsoptions,youcanfindalonglistofstatisticsyoucanaskStatatoproduceonvariableY.RegressRegressYX1Multicollinearityariseswhenastronglinearrelationshipexistsbetween2ormoreexvariables(X’s)inaE.g.:IncludetotalassetsandfixedassetsasXvariablesinaregressionmodel.Fixedassetsarepartoftotalassets!Includingbothvariablesleadstomulticollinearity“regYX1X2”GenerallyVIFofmorethan10is没有固定的修正方法,例如可以:去掉一个变量(totalassetfixedasset去掉之一)具体参考其他paper中的处理方法OLSassumption→errortermhomoscedasticobservationerrorterm的ii例如:housingexpenditures e:Poorerconsumershavelittlescopeforvaryingtheirrentexpenditures→Var(εi)isWealthyconsumershavelargescopeforvaryingtheirrentexpenditures→Var(εi)is graphicalmethod是直观上的表达,但并不formal;formal的是whitetestwhitetest和Goldfeldt-Quandttest中小firmwhitetest;:用Goldfeld-Quandttestwhitetesttest——Breusch-Pagantestauxiliaryequation中的exnator,有难度。如果要formaltest,whitetest就够了,所以Breusch-Pagantestplotresidual”againstfittedvaleueofWhite'stestforWhite'stestforHo:againstHa:unrestricted Prob>chi2 Cameron& positionofIM-p4217.thesmallerthepthemorepowerfultorejectH0:→lwage=b0+b1age+b2age2+b3educ+regreglwageageage2educiffemale==1reglwageageage2educifcommand之前,不必再runoverall之后得到两个regressionRsquare——relabelthegroupasLandS,SSRL/(nL-k)>nl(ns)=noofobsinthegroupwithlarger(smaller)计算GSSRL/(nL-kSSRS/(nS-1.3(1.3columnns-row5%1.33rejectnull:equalresidualvariance→如果两组没有相同的residualvariance,即heteroscedasticityregregprofitsassetsmcontrol,Whenyoupresentyourresults,youmustclarifywhiche.s.e.youhaveused.Forexample,manytablesofresultsincludethefootnote“Whitestandarderrorsinparentheses”or“Robuststandarderrorsinparentheses.”Chapter3.TimeseriesStatic(lag:currentY和currentX:lag:currentDLARARDLtssettimetssettimenonstationary→SpuriousRegression→OLSoftenmisleadsusintobelievingYandXarerelated,evenwhentheyarenot.test要对变量进行处理(firstdifferencesOLSlnIPlnSP500dfullerlnIP,trendlags(3)regress一般准则:12inannualdata;4inquarterly准确数目:IC/AIC准则(Eview中可用AugmentedDickey-Fullertestforunit Numberof 10%MacKinnonapproximatep-valueforZ(t)=t[95%..............%→reglnSP500lnIPreglnSP500lnIPDickey-Fullertestforunit Numberof 1%Critical5%1%Critical5%Critical10%t..%→errorterm是stationaryfirstdifference即可)gendlnIP=d.lnIP先确定变量的orderofintergration(gendlnIP=d.lnIPdfullerdlnIP,lags(1)ReglnSP500lnIP或者regdlnSP500dlnIPMulticollinearityariseswhenastronglinearrelationshipexistsbetween2ormoreexvariables(X’s)inaE.g.:IncludetotalassetsandfixedassetsasXvariablesinaregressionmodel.Fixedassetsarepartoftotalassets!Includingbothvariablesleadstomulticollinearity“regYX1X2”GenerallyVIFofmorethan10is没有固定的修正方法,例如可以:去掉一个变量(totalassetfixedasset去掉之一)具体参考其他paper中的处理方法OLSassumption:cov(εt,εs0,fort≠s→若不等于→timeseriesserialcorrelation。不一定要有lagofvariable,只要(没有lagofY):DW(lagofY)BG-LMAR(1)serialcorrelation:DWAR(P)serialcorrelation:BG-但DW在某些情况下比LM更powerful,所以最好两个都用。此命令前先rundldu(k和ntest结果的括号里找到correlation 558)=注:如果落在indecisionLag此命令之前先runreg:reglnSP500lnIPl.lnSP500( neweyLnAreaLnPrice,neweyLnAreaLnPrice,LagLMtestChapter4.Paneluseuseappendusingmanuf1995.dtaappendusingmanuf1996.dtasaveasmanuf94-96.dtareshapereshapelongpoptotrateppp,i(country)““Reshape→XtsetXtsetnumberyear指年份:时间变量number:17,19,..., n year:1993,1994,..., T Delta(year)=1yearSpan(year)=11periods(number*yearuniquelyidentifieseachDistributionof 1 7据,最多的有10年的数据。number:17,19,..., n year:1993,1994,..., T Delta(year)=1yearSpan(year)=11periods(number*yearuniquelyidentifieseachDistributionof1147.... (othersum的拓展,各个变量分别在样本总体(overall、组内(between)、组间 Std.--N=-n=-T-bar=0N=.n=-T-bar=.N=.n=.-T-bar=.N=.n=-T-bar=..-N=.-n=.-T-bar=.-N=.-n=-T-bar=Overallvar=betweenvarwithinvar(解释:forlstocka,betweenvariancedominates→morethan80%oftheoverallvariationisduetodifferencesacrossfirms)period,nT-baraveragetimeeffectmodelHausmantest用来决定用REM还是FEMxtregdstockalstockasalesalsalesalcfa,reCommandexLine2:有individualeffect下的regress sd sd=eu Var(u)=chibar2(01) Prob>chibar2 P0.00→rejectH0:pooledmodel→individualeffectmodel→HausmantestFEM还是Hausmaneststorefixedhausmanfixed.............b=consistentunderHoandHa;obtainedfromxtregB=inconsistentunderHa,efficientunderHo;obtainedfromTest:Ho:differenceincoefficientsnotchi2(4)=(b-B)'[(V_b-V_B)^(-1)](b- Prob>chi2 p0→rejectHoindividualeffectXs无关(REM)→确定哪个模型之后,即可正对REMFEM的结果进行分析(两个模型的结果在筛选过程中Chapter5.E.g.industrydummygengen cedum_ind=2ifindustry=="Machinery" cedum_ind=3ifindustry=="Metals&metalrecedum_ind=4ifindustry=="Miscellaneousmanufacturing"recedum_ind=5ifindustry=="Non-metallicmineralproducts"recedum_ind=6ifindustry=="Te
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 3.5 发光发热的太阳 课件(内嵌视频) 2025-2026学年教科版科学三年级下册
- 七年级英语期末教学质量测查试卷卷面分析
- 2026年制造建设节能改造协议
- 村干部周例会工作制度
- 预约服务具体工作制度
- 领导与基层谈工作制度
- 领导干部报告工作制度
- 食品安全四员工作制度
- 麻醉科手术室工作制度
- 巴中地区南江县2025-2026学年第二学期五年级语文期末考试卷(部编版含答案)
- 知道智慧树系统思维与系统决策满分测试答案
- 养老险产品销售话术培训方案
- 采血飞针技术培训课件
- 2025年中国糖尿病肾脏病基层管理指南(全文)
- 2025年新疆高端会计人才笔试题及答案
- 营养学电子课件
- 《市域(郊)铁路设计规范》条文说明
- 中国空军发展史
- 医疗机构抗菌药物使用培训计划
- 涂料生产与涂装作业指导书
- 代耕代种合同范本
评论
0/150
提交评论