(solution) Let y be the first 512 components in the sunspots data from package datasets. (a) Use the mra…

(solution) Let y be the first 512 components in the sunspots data from package datasets. (a) Use the mra…

Let y be the first 512 components in the sunspots data from package datasets. (a) Use the mra command to plot f4, f5 and f6 using the Haar wavelet. Describe the different characteristics of each of these three smooth approximations. For example, use J=5 and either [[6]] or $S5 to find f4. (b) Repeat the above problem using the wavelet basis indexed by wf=”la8″. This wavelet is from the family of “least asymmetric” wavelets (Vidakovic (1999)). Describe the differences between the smooth approximations using the different wavelet bases.