Professional Documents
Culture Documents
Background
Instatistics,homogeneityisusedtodescribethestatisticalpropertiesofaparticulardataset.In essence,itstatesthatstatisticalpropertiesofanypartofanoveralldatasetarethesameasanyother part. Whatdowemeanbystatisticalproperties?Astrictwayoflookingathomogeneitywouldinvolve examiningthechangestothewholeofthemarginaldistribution,buttimeseriesanalysisonlydemands thatweconsiderthelocationstabilityovertime(versustrend)andthestabilityoflocalfluctuationover time.
Why do we care?
Theobjectiveoftimeseriesanalysisandmodelingisusuallytheconstructionofoutofsampleforecasts. Howcanwegeneratetheseforecastsusingamodelwithtimevaryingparameters?Howmuch confidencecanweputinthoseforecasts?Aretheforecastrobust?Letsfindout.
examineadvancedmodelingtechniquestocapturethedynamicsofthestatisticalpropertiesof theprocess.This,unfortunately,isoutsidethescopeofthispaper. (2) Theunderlyingprocessisnotstationary(e.g.possessestrendovertime). (3) Theunderlyingprocessisheteroskedasticwherevolatilityexhibitsclusteringandmean reversion. (4) Theunderlyingprocesshadundergonefewbutmajorstructuralchangesduetoexogenous events,suchasthepassingandenforcementofnewrelevantlawsoramajordevelopmentin theprocessitself. Example I: OzonelevelindowntownLosAngelescase(refertotheHowdoesitfitissue)
Throughoutthesampletimebetween1955and1972,thereweretwomajordevelopments: (1) Rule#76forgasolinemixandcombustionenginedesign (2) OpeningofafreewaytodiverttrafficfromdowntownLA Obviously,thoseexogenouseventsaffectthenumberofcarsindowntownLA,andconsequently theamountofOzoneemittedinthearea.Onecanarguethattheprocessafterthoseevents(1972) isnotthesameastheprocessin1960. Example II: USConsumerPriceIndexanditsderivative,theinflationrate: TheinflationrateintheUSreflectstheeffectivenessofgovernmentpublicpolicies,sothroughout thesamplehorizonbetween1913and2009,itisnosurprisethatthedatacharacteristicsbeforeand afterWorldWarIIarefundamentallydifferent.Alsoconsiderthatinthe1970s,thesuddenrisein inflationevidentinourdatareflectsafundamentalchange(orfailure)inpublicpolicy.
DataPreparationHomogeneity
SpiderFinancialCorp,2012
DataPreparationHomogeneity
SpiderFinancialCorp,2012
thepotentialforarichdiversityofalternativesolutionsthatcanhaveverydifferentpropertieswhen extrapolatedfromthesituationfromwhichthedatawasoriginallysampled.
H o : r ~ N (0,1) H1 : Thereisashift
Where r arethestandardizedratios(anobservationsvaluecomparedtotheaverage). PettittsTestdetectingashiftinvarianceNonparametrictest(i.e.noassumptionaboutthe distributionofdata). Q:Dowehaveashiftinthevariance?When? ThePettitt'stestisanadaptationoftherankbasedMannWhitneytest,whichallowsyouto identifythetimeatwhichtheshiftoccurs. TestsfordetectingashiftinthemeanNonparametrictest(i.e.noassumptionaboutthe distributionofdata). Q:Dowehaveashiftinthemean?When? Where o
H o : t c H 1 : k c
H o isthenullhypothesis,whichstatesthat xt followsoneormoredistributionsthat
havethesamemean.
DataPreparationHomogeneity
SpiderFinancialCorp,2012
H1 isthealternativehypothesis,whichstatesthatthereexistsatimekfromwhichthe
DataPreparationHomogeneity
SpiderFinancialCorp,2012