版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
PAGE
PAGE
6
StochasticandDeterministicTrendModels
Inthissection,weconsidermodelsofnonstationarytimeseries,i.e.,series{yt}whosefirstandsecondmoments(meansandcovariances)arefunctionsoftime.Theseincludeallserieswithatrend.Trends,whichcanbeeitherdeterministic(likeatimetrend)orstochastic,willobviouslyproducenonstationarities.Classicalestimationmethods,however,arevalidforstationaryseries.Therefore,trendsmustberemovedfromnonstationaryseries(thusmakingthemstationary)beforeapplyingthemethodsofBoxandJenkins.Removal,however,dependsonidentifyingthetypeoftrendfirst.Generally,stationarityisachievedthroughdifferencingtheseries{D.yt}–differencestationary–orthroughremovalofadeterministictrendbyfirstestimatingthattrendinaseparateregression–trendstationarity.Wewilllookatbothmethods.First,however,let’sconsiderwhatnonstationaritymeans.
RandomWalk
SomeStatacodewasprovidedinthenotesondifferenceequationsandtheirsolutionsthatsimulatedrandomwalks.Youshouldrunthatprogramseveraltimestogetafeelforwhatarandomwalklookslike.Basically,arandomwalkisatimeserieswhosechangeisrandom.Specifically,thechangeiswhitenoise,viz.,
yt=yt-1+tinlevelsor
yt=twheret~N(0,1).
Solvingtheequationinlevelsbackwards(therearetperiods)
yt=y0+iwherethesummationisfromi=1,…,tforstartingvaluey0.
Whatarethestatisticalpropertiesofarandomwalk?Theunconditionalmeanistheexpectedvalue:
Eyt=y0+E(i)=y0.Theunconditionalvarianceis
E(i2)=t2whichisafunctionoftime.Let’snowconstructthe“forecastfunction”forarandomwalk.
Etyt+1=Et[yt+t+1]=ytThisistheconditionalmean.Noticealsothatthes-periodaheadforecastisthesame:
Etyt+s=Et[yt+s-1+t+s]=yt.(Substitutesuccessivelyforyt+s-1).Basically,theconditionalforecast(conditionaloninformationattimet)isthelastrealization.Thisshouldmakesensehoweverbecausechangesinyarewhitenoise.
Howaboutthevarianceofyt+s?(Thisisthesameasthevarianceforyt-s).Weknow
Var(yt)=Var(t+t-1+…+1)=t2.Similarly,
Var(yt-s)=Var(t-s+t-s-1+…+1)=(t-s)2.Alsoafunctionoftime.Ingeneral,wecanconcludethenthatthestandarddeviation(usedtoconstructconfidenceintervalsforforecasts)is2t.
Covariances?Theunconditionalmeanisy0.Thus,
E[(yt-y0)(yt-s-y0)]=(t-s)andsincey0isaconstant,
E[(t+t-1+…+1)(t-s+t-s-1+…+1)]=(t-s)2.
Thecorrelationcoefficientisthisnumberdividedbytheproductofthestandarddeviations:
s=(t-s)2/(t2(t-s)2)½=[(t-s)/t]½.Alsoafunctionoftime.Forlarget,onecaneasilyobservethepatternovers.Thepointhereisthatcorrelationsdonotgotozeroastheywouldinastationaryseries.Thereasonisthattheimpactofashockonfuturevaluesofyispermanent.Youcanreadilyseethatbylookingatthedifferencesolution,ytisreallyjusttheaccumulatedsumofpastshocks.Thus,ihaspermanenteffectsandiconstituteapermanentrandomchangeintheconditionalmean.
Thusythasastochastictrend.
RandomWalkplusDrift
yt=yt-1+a0+twherea0istheconstant“drift”.Solvingthedifferenceequation–
yt=y0+a0t+iwhere,again,thesummationisovert.Thetermsa0t+iarebothnonstationary.Now,wehaveadeterministicplusastochastictrend.Bytheway,
yt-yt-1=yt=a0+tisstationary.
TheunconditionalexpectationisEt(yt+s)=y0+a0(t+s).Theforecastfunction(whichisconditionalonpastyt)is:
Andthishasexpectedvalueequaltoyt+a0s.Youshouldconvinceyourselfthatthisisindeedtrue.
RandomWalkplusNoise
yt=t+t t~N(0,2)andE(tt-s)=0.
t=t-1+t.
Soytisarandomwalkt-1+tplusnoiset.Thisisaseriesthathasastochastictrendplusanoisecomponent.Therandomwalkcomponentisafirstorderdifferenceequationthatcanbesolvedas:
t=0+iwhere,again,thesummationisovert.Therefore:
yt=0+i+t.
Now,att0,solvey0=0+0implyingthat0=y0-0.Substituting,
yt=(y0-0)+i+t.
Theunconditionalmeanis
E(yt)=E(yt+s)=y0-0whichisconstant.Shocks,however,haveapermanenteffect.Noticethatnoiseistransitory,i.e.,ithasatemporaryeffectonytbutnotonyt+s.Furthermore,Var(yt+s)=t2+2which,naturally,includesthenoisecomponent.
Thenoisecomponentwillreducethecorrelationcoefficientbetweenytandyt-srelativetotherandomwalkimplyingthatthecorrelogramwillhavesomewhatfasterdecay(dependingonthenoise).
Howabouttheforecastfunction?
Thishasexpectedvalue(conditionalmean)yt-t.Noticethetransitorynatureofthenoise.Moreover,differencingyields
yt=yt-1+t+t-t-1.(thislookslikeanARMA(1,1)doesn’tit?)
NoiseandDrift
Wecancombinenoiseanddrifteasilyenough.
t=t-1+a0+t.
t=0+a0t+iwhere,again,thesummationisovert.Therefore:
yt=0+a0t+{i+t}.
Deterministictrend Stochastictrend
Bothtrendsarepermanent.TheStochastictrendincludesatransitorynoisecomponentaswell.
Imposingtheinitialconditiony0=0+0again,
yt=(y0-0)+a0t+i+t.Summationovert.
yt+s=(yt-t)+a0s+i+t.Summationovers.
LocalLinearTrendModel
Finally,weconsiderageneralformforwhichalloftheabovearespecialcases.
yt=t+t
t=t-1+at+t randomwalkplusdrift(thetrend)
at=at-1+t randomwalk
If{at}=0,thenwehavetherandomwalkplusnoise.Witht=0foralltime,thenit’sjustarandomwalk.If,ontheotherhand,Var()=0,thenitmustbethattheatareequalforalltime.Thus,ifatisnonzero,thetrendisarandomwalkplusdriftandytisanoisyrandomwalkplusdrift.
Wecansolvethesedifferenceequationstogettheparticularsolution:
at=a0+i.
t=t-1+a0+i+t
=0+i+t(a0+1)+(t-1)2+(t-2)3+…+1.Sincey0=0+0,then
yt=y0+(t-0)+i+t(a0+1)+(t-1)2+(t-2)3+…+1
irregular stochas tic notentirelydeterministic
term trend
Youcanupdatethistosolvefortheforecastfunction:
Etyt+s=(yt-t)+s(a0+1+2+…+t).
Thefirsttermistransitoryandthesecondtermisthetrend.
Removingthetrend
Theforegoingwasmeanttoillustratesomeofthepropertiesofnonstationaryseries.Inordertoestimatethese,wemustmakethemstationaryandthatisachievedbyremovingthetrend.Todothiscorrectly,wemustfirstknowwhetherthetrendisdeterministic(trendstationaryafterthetrendisremoved)orstochastic(differencestationaryafterthetrendisremoved).Thatisn’teasy.NelsonandPlosserwroteaninterestingseminalpaperin1992onthistopicandarguedthatmostmacroeconomicseriesaredifferencestationary(meaningtheyhavestochastictrendsandremovalusingtheestimatedtimetrendwouldhaveresultedinseriousandspuriousspecification).
So,whatdowemeanbytrendstationarity.Ifaserieshasadeterministictimetrend,thenwesimplyregressytonaninterceptandatimetrend(t=1,…,T)andsavetheresiduals.Theresidualsarethedetrendedseries.But,iftheseriesythasastochasticinsteadofdeterministictrendthenwedon’tnecessarilygetastationaryseries.Considertherandomwalkagain.Theresidualsfromthistimetrendregressionassumethatytgrowsataconstantrate.Itdoesnot.Rather,itgrowsatastochasticrate.Thus,theincorrectlydetrendedseriesmaydisplayspuriousbehavior,i.e.,itmaystillbenonstationary.Canyouprovideasimulatedexampleofthis?
Ifthetrendisstochastic,thendifferencing
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 平面直角坐标系的概念课件2025-2026学年人教版七年级数学下册
- 职业病危害申报登记制度
- 服务满意度调查实施方案
- 苹果树轮纹病综合预防技术规范
- 雨水管网排污拦截管理规程
- 电力设备新能源行业市场前景及投资研究报告:全球能源锂电机遇
- AI智能汽车行业投资策略分析报告:小鹏吉利Robotaxi提速看好智能化
- 医学本科人体解剖学试题及解析
- 水肥一体化首部设备安装规范
- 蔗飞虱应急防治技术操作规范
- 管道施工扬尘防控科学措施
- 2025年机械安全操作规范考试试题集和答案
- 2026年社工初级综合能力真题及答案
- 2026湖北神农架林区公安局招聘辅警22人考试备考试题及答案解析
- 2025年江西省公安厅招聘警务辅助人员笔试真题(附答案)
- 人教版六年级数学下册全册教学设计及教学反思
- 浙商银行2026校园招聘无领导面试仿真题
- 2026浙江杭州市萧山区人民法院招聘14人笔试备考试题及答案解析
- 2026中国农业大学烟台研究院非事业编学生管理岗招聘3人考试模拟试题及答案解析
- 河北廊坊安全员考试试题及答案
- 全民国家安全教育日知识普及课件
评论
0/150
提交评论