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
中秋节快到了,spinservers针对中国用户准备了几款圣何塞机房特别独立服务器,大家知道这家服务器都是高配,这次推出的机器除了配置高以外,默认1Gbps不限制流量,解除了常规机器10TB/月的流量限制,价格每月179美元起,机器自动化上架,一般30分钟内,有基本自助管理功能,带IPMI,支持安装Windows或者Linux操作系统。配置一 $179/月CPU:Dual Intel Xeon E...
imidc对日本独立服务器在搞特别促销,原价159美元的机器现在只需要88美元,而且给13个独立IPv4,30Mbps直连带宽,不限制流量。注意,本次促销只有一个链接,有2个不同的优惠码,你用不同的优惠码就对应着不同的配置,价格也不一样。88美元的机器,下单后默认不管就给512G SSD,要指定用HDD那就发工单,如果需要多加一个/28(13个)IPv4,每个月32美元...官方网站:https:...
hostsailor怎么样?hostsailor成立多年,是一家罗马尼亚主机商家,机房就设在罗马尼亚,具说商家对内容管理的还是比较宽松的,商家提供虚拟主机、VPS及独立服务器,今天收到商家推送的八月优惠,针对所有的产品都有相应的优惠,商家的VPS产品分为KVM和OpenVZ两种架构,OVZ的比较便宜,有这方面需要的朋友可以看看。点击进入:hostsailor商家官方网站HostSailor优惠活动...
rewrite规则为你推荐
云主机租用我想租用云主机,请问下该如何操作?美国虚拟主机空间请经验丰富的高手给指导一下,我想选择适合个人网站应用的美国虚拟主机(空间),都是哪些服务商比较好?linux主机linux主机有什么区别?求答案域名代理域名代理能转到钱吗,如何赚钱啊?能够成为国外的域名代理商吗?info域名注册百度还收录新注册的info域名吗?域名注册服务万网域名注册服务怎么样?域名服务商请问那些域名服务商是怎么捣鼓这么多域名的? 它们为什么可以做这个免费vps服务器免费VPS服务器。和免费的好用虚拟主机成都虚拟空间成都市规划信息技术中心如何?100m网站空间做网站100M的空间够用吗?
最新代理服务器地址 网站域名备案 主机测评 ipage 唯品秀 火车票抢票攻略 好看的桌面背景大图 远程登陆工具 福建天翼加速 网站卫士 中国电信测速器 沈阳主机托管 东莞服务器托管 photobucket 买空间网 cx域名 优惠服务器 时间同步服务器 免费php空间申请 电脑显示屏不亮但是主机已开机 更多