HaarMA(n, sd=1, order=5)
For example: the Haar MA process of order 1 is an MA process of order 2. The coefficients are 1/sqrt(2) and -1/sqrt(2). The Haar MA process of order 2 is an MA process of order 4. The coefficients are 1/2, 1/2, -1/2, -1/2 and so on. It is possible to define other processes for other wavelets as well.
Any Haar MA process is a good example of a (stationary) LSW process because it is sparsely representable by the locally-stationary wavelet machinery defined in Nason, von Sachs and Kroisandt.
Nason, G.P., von Sachs, R. and Kroisandt, G. (1998). Wavelet processes and adaptive estimation of the evolutionary wavelet spectrum. Technical Report, Department of Mathematics University of Bristol/ Fachbereich Mathematik, Kaiserslautern.
# # Generate a Haar MA process of order 1 (high frequency series) # > MyHaarMA <- HaarMA(n=151, sd=2, order=1) # # Plot it # > tsplot(MyHaarMA) # # Generate another Haar MA process of order 3 (lower frequency), but of # smaller variance # > MyHaarMA2 <- HaarMA(n=151, sd=1, order=3) # # Plot it # > tsplot(MyHaarMA2) # # Let's plot them next to each other so that you can really see the # differences. # # Plot a vertical dotted line which indicates where the processes are # joined # > tsplot(c(MyHaarMA, MyHaarMA2)) > abline(v=152, lty=2)