differencedrewrite规则
rewrite规则 时间:2021-01-12 阅读:(
)
Titlestata.
comarimapostestimation—PostestimationtoolsforarimaDescriptionSyntaxforpredictMenuforpredictOptionsforpredictRemarksandexamplesReferenceAlsoseeDescriptionThefollowingpostestimationcommandsareofspecialinterestafterarima:CommandDescriptionestatacplotestimateautocorrelationsandautocovariancesestatarootscheckstabilityconditionofestimatesirfcreateandanalyzeIRFspsdensityestimatethespectraldensityThefollowingstandardpostestimationcommandsarealsoavailable:CommandDescriptionestaticAkaike'sandSchwarz'sBayesianinformationcriteria(AICandBIC)estatsummarizesummarystatisticsfortheestimationsampleestatvcevariance–covariancematrixoftheestimators(VCE)estimatescatalogingestimationresultsforecastdynamicforecastsandsimulationslincompointestimates,standarderrors,testing,andinferenceforlinearcombinationsofcoefcientslrtestlikelihood-ratiotestmarginsmarginalmeans,predictivemargins,marginaleffects,andaveragemarginaleffectsmarginsplotgraphtheresultsfrommargins(proleplots,interactionplots,etc.
)nlcompointestimates,standarderrors,testing,andinferencefornonlinearcombinationsofcoefcientspredictpredictions,residuals,inuencestatistics,andotherdiagnosticmeasurespredictnlpointestimates,standarderrors,testing,andinferenceforgeneralizedpredictionstestWaldtestsofsimpleandcompositelinearhypothesestestnlWaldtestsofnonlinearhypotheses12arimapostestimation—PostestimationtoolsforarimaSyntaxforpredictpredicttypenewvarifin,statisticoptionsstatisticDescriptionMainxbpredictedvaluesformeanequation—thedifferencedseries;thedefaultstdpstandarderrorofthelinearpredictionypredictedvaluesforthemeanequationiny—theundifferencedseriesmsemeansquarederrorofthepredictedvaluesresidualsresidualsorpredictedinnovationsyresidualsresidualsorpredictedinnovationsiny,reversinganytime-seriesoperatorsThesestatisticsareavailablebothinandoutofsample;typepredict.
.
.
ife(sample).
.
.
ifwantedonlyfortheestimationsample.
PredictionsarenotavailableforconditionalARIMAmodelsttopaneldata.
optionsDescriptionOptionsdynamic(timeconstant)howtohandlethelagsofytt0(timeconstant)setstartingpointfortherecursionstotimeconstantstructuralcalculateconsideringthestructuralcomponentonlytimeconstantisa#oratimeliteral,suchastd(1jan1995)ortq(1995q1);seeConvenientlytypingSIFvaluesin[D]datetime.
MenuforpredictStatistics>Postestimation>Predictions,residuals,etc.
OptionsforpredictFivestatisticscanbecomputedusingpredictafterarima:thepredictionsfromthemodel(thedefaultalsogivenbyxb),thepredictionsafterreversinganytime-seriesoperatorsappliedtothedependentvariable(y),theMSEofxb(mse),thepredictionsofresidualsorinnovations(residual),andthepredictedresidualsorinnovationsintermsofy(yresiduals).
GiventhedynamicnatureoftheARMAcomponentandbecausethedependentvariablemightbedifferenced,thereareotherwaysofcomputingeach.
Wecanuseallthedataonthedependentvariablethatisavailablerightuptothetimeofeachprediction(thedefault,whichisoftencalledaone-stepprediction),orwecanusethedatauptoaparticulartime,afterwhichthepredictedvalueofthedependentvariableisusedrecursivelytomakelaterpredictions(dynamic()).
Eitherway,wecanconsiderorignoretheARMAdisturbancecomponent(thecomponentisconsideredbydefaultandisignoredifyouspecifystructural).
Allcalculationscanbemadeinoroutofsample.
arimapostestimation—Postestimationtoolsforarima3Mainxb,thedefault,calculatesthepredictionsfromthemodel.
IfD.
depvaristhedependentvariable,thesepredictionsareofD.
depvarandnotofdepvaritself.
stdpcalculatesthestandarderrorofthelinearpredictionxb.
stdpdoesnotincludethevariationarisingfromthedisturbanceequation;usemsetocalculatestandarderrorsandcondencebandsaroundthepredictedvalues.
yspeciesthatpredictionsofdepvarbemade,evenifthemodelwasspeciedintermsof,say,D.
depvar.
msecalculatestheMSEofthepredictions.
residualscalculatestheresiduals.
Ifnootheroptionsarespecied,thesearethepredictedinnovationst;thatis,theyincludetheARMAcomponent.
Ifstructuralisspecied,thesearetheresidualstfromthestructuralequation;seestructuralbelow.
yresidualscalculatestheresidualsintermsofdepvar,evenifthemodelwasspeciedintermsof,say,D.
depvar.
Aswithresiduals,theyresidualsarecomputedfromthemodel,includinganyARMAcomponent.
Ifstructuralisspecied,anyARMAcomponentisignored,andyresidualsaretheresidualsfromthestructuralequation;seestructuralbelow.
Optionsdynamic(timeconstant)specieshowlagsofytinthemodelaretobehandled.
Ifdynamic()isnotspecied,actualvaluesareusedeverywherethatlaggedvaluesofytappearinthemodeltoproduceone-step-aheadforecasts.
dynamic(timeconstant)producesdynamic(alsoknownasrecursive)forecasts.
timeconstantspecieswhentheforecastistoswitchfromonestepaheadtodynamic.
Indynamicforecasts,referencestoytevaluatetothepredictionofytforallperiodsatoraftertimeconstant;theyevaluatetotheactualvalueofytforallpriorperiods.
Forexample,dynamic(10)wouldcalculatepredictionsinwhichanyreferencetoytwitht00otherwisemeaningthatpredictnewvar,xbcalculatespredictionsbyusingthemetricofthedependentvariable.
Inthisexample,thedependentvariablerepresentedchangesinln(wpit),andsothepredictionsarelikewiseforchangesinthatvariable.
Ifweinsteaduse.
predicty,yStatacomputesytasyt=xbt+ln(wpit1)sothatytrepresentsthepredictedlevelsofln(wpit).
Ingeneral,predictnewvar,ywillreverseanytime-seriesoperatorsappliedtothedependentvariableduringestimation.
IfwewanttoignoretheARMAerrorcomponentswhenmakingpredictions,weusethestructuraloption,.
predictxbs,xbstructuralwhichgeneratesxbst=β0becausetherearenoregressorsinthismodel,and.
predictys,ystructuralgeneratesyst=β0+ln(wpit1)arimapostestimation—Postestimationtoolsforarima5Example1:DynamicforecastsAnattractivefeatureofthearimacommandistheabilitytomakedynamicforecasts.
Inexample4of[TS]arima,wetthemodelconsumpt=β0+β1m2t+tt=ρt1+θt1+tFirst,weretthemodelbyusingdataupthroughtherstquarterof1978,andthenwewillevaluatetheone-step-aheadanddynamicforecasts.
.
usehttp://www.
stata-press.
com/data/r13/friedman2.
keepiftimechi2=0.
0000OPGDS4.
lnm1Coef.
Std.
Err.
zP>|z|[95%Conf.
Interval]ARMAarL1.
.
3551862.
05030117.
060.
000.
2565979.
4537745L4.
-.
3275808.
0594953-5.
510.
000-.
4441895-.
210972/sigma.
0112678.
000488223.
080.
000.
0103109.
0122246Note:Thetestofthevarianceagainstzeroisonesided,andthetwo-sidedconfidenceintervalistruncatedatzero.
.
irfcreatenonseasonal,set(myirf)step(30)(filemyirf.
irfcreated)(filemyirf.
irfnowactive)(filemyirf.
irfupdated)WetthefollowingseasonalARIMAmodel(1ρ1L)(1ρ4,1L4)4lnm1t=tThecodebelowtsthisnonseasonalARIMAmodelandsavesasetofIRFresultstotheactiveIRFle,whichismyirf.
irf.
.
arimaDS4.
lnm1,ar(1)mar(1,4)noconstantnologARIMAregressionSample:1961q2-2008q2Numberofobs=189Waldchi2(2)=119.
78Loglikelihood=588.
6689Prob>chi2=0.
0000OPGDS4.
lnm1Coef.
Std.
Err.
zP>|z|[95%Conf.
Interval]ARMAarL1.
.
489277.
05380339.
090.
000.
3838245.
5947296ARMA4arL1.
-.
4688653.
0601248-7.
800.
000-.
5867076-.
3510229/sigma.
0107075.
000474722.
560.
000.
0097771.
0116379Note:Thetestofthevarianceagainstzeroisonesided,andthetwo-sidedconfidenceintervalistruncatedatzero.
.
irfcreateseasonal,step(30)(filemyirf.
irfupdated)8arimapostestimation—PostestimationtoolsforarimaWenowhavetwosetsofIRFresultsinthelemyirf.
irf.
WecangraphbothIRFfunctionssidebysidebycallingirfgraph.
.
irfgraphirfThetrajectoriesoftheIRFfunctionsaresimilar:eachgureshowsthatashocktolnm1causesatemporaryoscillationinlnm1thatdiesoutafterabout15timeperiods.
Thisbehaviorischaracteristicofshort-memoryprocesses.
See[TS]psdensityforanintroductiontoestimatingspectraldensitiesusingtheparametersestimatedbyarima.
ReferenceEnders,W.
2004.
AppliedEconometricTimeSeries.
2nded.
NewYork:Wiley.
Alsosee[TS]arima—ARIMA,ARMAX,andotherdynamicregressionmodels[TS]estatacplot—Plotparametricautocorrelationandautocovariancefunctions[TS]estataroots—CheckthestabilityconditionofARIMAestimates[TS]irf—CreateandanalyzeIRFs,dynamic-multiplierfunctions,andFEVDs[TS]psdensity—Parametricspectraldensityestimationafterarima,arma,anducm[U]20Estimationandpostestimationcommands
Justg是一家俄罗斯VPS云服务器提供商,主要提供南非地区的VPS服务器产品,CN2高质量线路网络,100Mbps带宽,自带一个IPv4和8个IPv6,线路质量还不错,主要是用户较少,带宽使用率不高,比较空闲,不拥挤,比较适合面向非洲、欧美的用户业务需求,也适合追求速度快又需要冷门的朋友。justg的俄罗斯VPS云服务器位于莫斯科机房,到美国和中国速度都非常不错,到欧洲的平均延迟时间为40毫秒,...
ttcloud怎么样?ttcloud是一家海外服务器厂商,运营服务器已经有10年时间,公司注册地址在香港地区,业务范围包括服务器托管,机柜托管,独立服务器等在内的多种服务。我们后台工单支持英文和中文服务。TTcloud最近推出了新上架的日本独立服务器促销活动,价格 $70/月起,季付送10Mbps带宽。也可以跟进客户的需求进行各种DIY定制。点击进入:ttcloud官方网站地址TTcloud拥有自...
zji怎么样?zji是一家老牌国人主机商家,公司开办在香港,这个平台主要销售独立服务器业务,和hostkvm是同一样,两个平台销售的产品类别不一平,商家的技术非常不错,机器非常稳定。昨天收到商家的优惠推送,目前针对香港邦联四型推出了65折优惠BGP线路服务器,性价比非常不错,有需要香港独立服务器的朋友可以入手,非常适合做站。zji优惠码:月付/年付优惠码:zji 物理服务器/VDS/虚拟主机空间订...
rewrite规则为你推荐
海外虚拟主机国内访问速度较快的海外虚拟主机有哪些呀已备案域名查询怎样知道一个网站是不是真的已经备案?代理主机主机做成代理服务器,其他局域网内的电脑必须通过我的这个网络出去便宜的虚拟主机哪里有便宜的国内虚拟主机?国外主机空间2个国外主机空间,都放了BLOG,看看哪个更快?网站域名空间网站域名和空间虚拟空间免费试用哪有免费试用的虚拟主机?重庆虚拟空间重庆合川宝龙城市广场有前途么下载虚拟主机虚拟机怎么使用和下载深圳虚拟主机深圳鼎峰网络科技 虚拟主机空间怎么样
域名论坛 希网动态域名 香港主机 56折 iis安装教程 realvnc xfce win8升级win10正式版 cpanel空间 ftp教程 怎么测试下载速度 工作站服务器 135邮箱 电信虚拟主机 hktv 爱奇艺会员免费试用 web服务器是什么 宏讯 主机管理系统 lamp怎么读 更多