Skip to content
Prev 2069 / 15274 Next

Does R have a formal test for long vs short memory process?

If it were my problem, I would start by writing probability models 
for long and short memory processes.  I would cast them in a Bayesian 
framework with plausible priors over the unknown parameters;  with 
multiple series, it should be easy enough to get plausible priors.  Then 
I would test one vs. the other using a likelihood ratio of simple 
hypothesis (i.e., the marginal with all the parameters integrated out 
using the posterior distribution) vs. simple alternative.  I could do 
that with Markov Chain Monte Carlo if I didn't feel comfortable with any 
other approximation. 

      The Neyman-Pearson lemma says that the most powerful test of 
simple vs. simple is the likelihood ratio.  I could get p-values by 
Monte Carlo if by nothing else. 

      I'd start with a literature search.  The references I know about 
that are in Tsay (2005) Analysis of Financial Time Series, 2nd ed. 
(Wiley):  Section 2.11 discusses long-memory models, and section 3.13 
describes long-memory stochastic volatility models.  The data sets 
described in that book are all available in the 'FinTS' package, and 
'scripts\ch02.R' includes R code to recreate the figures in chapter 2 
(including Figure 2.22 pertaining to section 2.11). 

      Hope this helps. 
      Spencer Graves
tom soyer wrote: