(完整版)EViews面板数据模型估计教程.docx
《(完整版)EViews面板数据模型估计教程.docx》由会员分享,可在线阅读,更多相关《(完整版)EViews面板数据模型估计教程.docx(29页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、EViews6.0beta在面板数据模型估计中的应用 来自免费的minixi1、进入工作目录cdd:nklx3,在指定的路径下工作是一个良好的习惯2、建立面板数据工作文件workfile(1)最好不要选择EViews默认的blanacedpanel类型Moren_panel(2)按照要求建立简单的满足时期周期和长度要求的时期型工作文件Viewprocl Object /aJpmtNameFreezeEdit+上Order+/-|srnpl+/-Format | TitleEstimate | DefinePoolGEr|s5. 65EstimateMake ResidualsMake Grou
2、p.Make Period Stats series.Make ModelMake System.Update Coefs from PoolLNY?| LNK?LNDH?B5.6519985.0006768.1!B5.7830025.28142383i b5.9815075.43502183B6.1646065.6846398.4;_B6.2489145.7038898.5:BGenerate Pool series., Delete Pool series.6.3896005.7148758.6IB6.5395055.96798886B6.7320796.35246086BStore Po
3、ol series (DB).Fetch Pool series (DB).Import Pool data (ASCII,XLS,WK?).Export Pool data (ASCIIXLS/WK?)6.94706867073698.7IB7.2089377.0477068.7IB7.3847916.9501428.7IB7.4947247.05069487BEIJING-1998BEIJING-19987.5983067.17685286B 日 JING1999B 日 JING-19997.6726877.2620738.61BEIJING-2000BEIJING-20007.79641
4、37.2490708.7I二JBEIJING-2001|,-1! x|混合模型的设置混合模型的结果D 即 endentVariable:LNY?MethodPooledLeastSquaresDate:05/24/07Time:20:30Sampled 9862005 lncludedobservations:20Cross-sectionsincluded:29Totalpool(balanced)observations:580VariableVariableCoefficientt-Std.Error o.StatisticProb.C LNK? LNDH? LNXH? LNNE1? L
5、NCE1?-0.8602430.8291890.2613960.237727-0.1452770.0901580.1213960.0130590.0120050.0556280.0638190.056143-7.08627763.495921.77394.27347-2.2763741.605870.0000.0000.0000.0000.0230.108-2Q-2QR-squaredAdjustedR-squaredFnfronroAQinn0.986459Meandependentvar7.0861380.9863411.240231n 1AAOAinfnrrit&rinn-1 nidRn
6、a9、建立变系数模型这里只建立一次变一个变量且在截面维的变系数模型。当然也可是在时间维的变系数。而且可以一次不止变一个变量的系数。变系数模型的设置变系数模型的估计结果DependentVariable:LNY?Method:PooledLeastSquaresDate:05/24/07Time:20:37Sampled 9862005 lncludedobservations:20Cross-sectionsincluded:29Totalpool(balanced)observations:580VariableCoefficient Std.Error t-Statistic Prob.C
7、LNDH?LNXH?LNNE1?LNCE1?BEIJING-LNKBEIJINGTIANJIN-LNKTIANJINHEBEI-LNKHEBEISHANXI_D-LNKSHANXI_DNEIMENG-LNKNEIMENGLIAONING-LNKLIAONINGJILIN-LNKJILINHLJIANG-LNKHLJIANG-1.0909600.3031280.191757-0.2482310.6448430.7414960.7727700.7493170.7416180.7436640.7869310.7658240.7833390.215765-5.0562320.00000.0260931
8、1.617090.00000.1201801.5955750.1110.075168-3.3023300.00100.0814977.9124580.00000.02224433.334790.0000.02240234.496290.00000.01875839.947250.00000.02142234.619030.0000.02129534.921500.00000.01974639.852630.00000.02165935.358240.00000.02071837.808940.00010、建立截距维的固定效应模型,并检验模型的冗余性(是否比混合模型优?) 截面维固定效应模型的设
9、置截面维固定效应模型的估计结果D 即 endentVariable:LNY?MethodPooledLeastSquaresDate:05/24/07Time:20:42Sampled 9862005 lncludedobservations:20Cross-sectionsincluded:29Totalpool(balanced)observations:580Variable Coefficient Std.Error t-Statistic Prob.CLNK?LNDH?LNXH?LNNE1?LNCE1?FixedEffects(Cross)BEIJING-CTIANJIN-CHEBE
10、I-CSHANXI_D-CNEIMENG-CLIAONING-C-0.7852040.6907670.1038981.349762-0.1652170.352876-0.614424-0.4369070.113717-0.207641-0.2093320.0956550.2676490.0200640.0385400.1780520.0726970.082821-2.93370834.427312.6958287.580724-2.2726614.2606880.0030.0000.0070.0000.0230.000截面维固定效应模型的冗余性检验,首先在pool模型的view中选择似然比的检
11、验 菜单选项 PookFAZHANMOXIWorkfile:SHSH02:yongxufazhanmoxi-|n冈v!Proc Object|Print|Name|FreezeEstimate Define|PoolGenr|SheetCrossSectionidentifiersRepresentationsEstimationOutputResiduals匚 oef 匚 ovarianceMatrix匚 oefficientTestsRedundantFixedEffects-LikelihoodRatioCorrelatedRandomEffects-HausmanTestJ40.267
12、649-2.9337080.003370.02006434.427310.000980.0385402.6958280.00732-0.1780527.5807240.0000.1652170.0.072697-2.2726610.0233528760.0828214.2606880.000Fixed/RandomEffectsTestingSpreadsheet(stackeddata).DescriptiveStatistics.UnitRootTest.CointegrationTest.LabelLNNE1?LNCE1?Fi ver i Ff f ert* ;f U rcM/似然比检验
13、的结果,零假设固定效应模型是冗余的,小概率事件发生,拒绝冗 余,于是摒弃混合模型:RedundantFixedEffectsTestsPookFAZHANMOXIT estcross-sectionfixedeffectsEffectsTestStatisticd.f.Prob.Cross-sectionF18.205856(28,546)0.0000Cross-sectionChi-square382.452544280.0000Cross-sectionfixedeffectstestequation:D 即 endentVariable:LNY?MethodPanelLeastSquar
14、esDate:05/24/07Time:20:47Sampled 9862005lncludedobservations:20Cross-sectionsincluded:29Totalpool(balanced)observations:580Coefficient Std. Error t-Statistic Prob.C-0.8602430.121396-7.0862770.0000LNK?0.8291890.01305963.49591 q.OOOO11、建立截距维的随机效应模型,并进行Hausman检验,确定是选择随机效应亦或是固定效应模型,零假设:随机效应模型成立。截面维随机效应模
15、型的设置截面维随机效应模型的估计结果D 即 endentVariable:LNY?Method:PooledEGLS(Cross-sectionrandomeffects) Date :05/24/07Time:20:56Sampled 9862005lncludedobservations:20Cross-sectionsincluded:29Totalpool(balanced)observations:580SwamyandAroraestimatorofcomponentvariancesVariableCoefficientStd.Errort-StatisticProb.LNK?L
16、NDH?LNXH?LNNE1?LNCE1?RandomEffects(Cross)BEIJING-CTIANNCHEBEI-CSHANXI_D-CNEIMENG-C-1.2662660.7567330.2780840.488510-0.1295320.390160-0.243423-0.042283-0.043812-0.113288-0.0735890.1990890.0163140.0200820.0988490.0670900.07114646.386313.84714.942005.483910.00000.00000.00000.00000.05400.0000截面维随机效应模型的H
17、ausman检验菜单项的选择JhPooI:FAZHANMOXI Workfile:SHSH02:yongxufazhanmoxiPiew!IProdObjectIPintINameFeeze | EstimateDefinePoolGenrSheet lCrossSectionldentifiersRepresentationsEstimationOu tputResidualsA匚 oefCovarianceMatrix匚 oefficientTests| |Fixed/RandomEffectsT estingSpreadsheet(stackeddata).DescriptiveStat
18、istics.UnitRootTest.CointegrationTest.Labelactionrandomeffects)n: -AAO,RedundantEixedEffects-LikelihoodRatioC crralatQrlRanrlcmFffarts-Hai ismanTavt*ntStd.Errort-StatisticProb.截面维随机效应模型Hausman检验的结果:Hausman检验的零假设是应当选择随机效应模型,小概率事件发生拒绝零假设选 择固定效应模型CorrelatedRandomEffects-HausmanTestPookFAZHANMOXI T estc
19、ross-sectionrandomeffectsTestSummaryTestSummaryChi-Sq.Statistic Chi-Sq.d.f. Prob.Cross-sectionrandom53.3940040.000Cross-sectionrandomeffectstestcomparisons:VariableFixed Random Var(Diff.) Prob.LNK?LNDH?LNXH?LNNE1?LNCE1?0.6907670.1038981.349762-0.1652170.3528760.7567330.2780840.488510-0.1295320.39016
20、00.0001360.0010820.0219310.0007840.0017980.0000.0000.0000.2020.37912、13在时间维重复10、和11、的 工作,确定数据适合采用何种模14、建立截面变截距模型,分析没有观察的截面单元因素的影响截面变截距模型的设置Workfile Create-Workfile structure type|Dated - regular frequency |Date specificationFrequency Annual |Irregular Dated and Panel workfiles may be made from Unstr
21、uctured workfiles by later specifying date and/or other identifier series.Start date: 1986End date: (2005OKCancel-Names (optional)- WF: |doctor_01|Page:3、建立pool对象 (1)新建对象2)选择新建对象类型并命名(3)为新建pool对象设置截面单元的表示名称,在此提示下 _(CrossSectionidentifiers: (Enteridentifiersbelowthisline)输入截面单元名称。,建议采用汉语拼音,例如29个省市区的汉
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 完整版 EViews 面板 数据模型 估计 教程
限制150内