Simulate, as in Example 2.2, 100 values of the three series that follow an ARMA model. For
Question:
Simulate, as in Example 2.2, 100 values of the three series that follow an ARMA model. For instance, an AR(2) or ARMA(1,1). Introduce in the three series an outlier of size 3 and compare the results of univariate detection using the programs tso, arima.rob and outlierLasso with multivariate detection using the program outliers.hdts. Verify that the the multivariate detection is more powerful than the univariate detection.
Example 2.2:
The R command arima.sim generates stationary ARMA processes. Some time series are simulated following low orders ARMA models and their sample ACFs are computed.
Figure 2.12 shows some simulated time series and Figure 2.13 the corresponding sample ACFs. Note that an AR(2) model with complex roots generates pseudo-cyclical behavior.
Step by Step Answer:
Statistical Learning For Big Dependent Data
ISBN: 9781119417385
1st Edition
Authors: Daniel Peña, Ruey S. Tsay