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
CloudCone在月初发了个邮件,表示上新了一个系列VPS主机,采用SSD缓存磁盘,支持下单购买额外的CPU、内存和硬盘资源,最低年付17.99美元起。CloudCone成立于2017年,提供VPS和独立服务器租用,深耕洛杉矶MC机房,最初提供按小时计费随时退回,给自己弄回一大堆中国不能访问的IP,现在已经取消了随时删除了,不过他的VPS主机价格不贵,支持购买额外IP,还支持购买高防IP。下面列...
今年1月的时候Hosteons开始提供1Gbps端口KVM架构VPS,目前商家在LET发布消息,到本月30日之前,用户下单洛杉矶/纽约/达拉斯三个地区机房KVM主机可以从1Gbps免费升级到10Gbps端口,最低年付仅21美元起。Hosteons是一家成立于2018年的国外VPS主机商,主要提供VPS、Hybrid Dedicated Servers及独立服务器租用等,提供IPv4+IPv6,支持...
整理一下CloudCone商家之前推送的闪购VPS云服务器产品,数量有限,活动推出可能很快机器就售罄了,有需要美国便宜VPS云服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器提供商,国外实力大厂,自己开发的主机系统面板,CloudCone主要销售美国洛杉矶云服务器产品,优势特点是...
rewrite规则为你推荐
虚机怎么用虚拟主机?域名备案查询如何查网站备案信息国内ip代理谁给我几个北京或国内的IP代理啊,高分,能用的免费vps服务器请推荐一个免费的云服务器?云服务器租用云服务器租用费用是多少香港虚拟空间请大哥帮个忙,介绍可靠的香港虚拟主机?虚拟空间免费试用哪有免费试用的虚拟主机?重庆虚拟空间重庆有几个机场?asp网站空间ASP空间是什么?网站空间申请网站空间申请
合肥虚拟主机 域名商 kddi 便宜建站 英语简历模板word 监控宝 云图标 主机合租 e蜗牛 数字域名 hinet 免费智能解析 paypal注册教程 dnspod 百度云空间 lamp是什么意思 网页加速 国外网页代理 google搜索打不开 香港ip 更多