\( \newcommand{\bm}[1]{\boldsymbol{#1}} \newcommand{\textm}[1]{\textsf{#1}} \def\T{{\mkern-2mu\raise-1mu\mathsf{T}}} \newcommand{\R}{\mathbb{R}} % real numbers \newcommand{\E}{{\rm I\kern-.2em E}} \newcommand{\w}{\bm{w}} % bold w \newcommand{\bmu}{\bm{\mu}} % bold mu \newcommand{\bSigma}{\bm{\Sigma}} % bold mu \newcommand{\bigO}{O} %\mathcal{O} \renewcommand{\d}[1]{\operatorname{d}\!{#1}} \)

Exercises

Choose one or several assets (e.g., stocks or cryptocurrencies) for the following exercises.

Mean modeling

Exercise 4.1 (Autocorrelation function of returns) Choose one asset and plot the autocorrelation function of the log-returns at different frequencies.

Exercise 4.2 (MA modeling) Choose one asset and try the MA\((q)\) modeling on the log-returns and log-prices for different values of the lookback \(q\). Compute the forecasting mean squared error.

Exercise 4.3 (EWMA modeling) Choose one asset and try the EWMA modeling on the log-returns and log-prices for different values of the memory \(\alpha\). Compute the forecasting mean squared error.

Exercise 4.4 (ARMA modeling) Choose one asset and experiment with ARMA\((p,q)\) models with different values of \(p\) and \(q\). Compute the forecasting mean squared error.

Exercise 4.5 (Kalman for mean modeling) Choose one asset and experiment with different state space models together with Kalman filtering. Compute the forecasting mean squared error.

Exercise 4.6 (Kalman for ARMA modeling) Choose one asset and compare the results of a direct ARMA model with the corresponding state space model via Kalman filtering.

Exercise 4.7 (VARMA modeling) Choose several assets and compare the results of asset-by-asset ARMA modeling and VARMA modeling. Discuss the results.

Exercise 4.8 (Kalman for multivariate mean modeling) Choose several assets and compare the results of asset-by-asset Kalman modeling and vector Kalman modeling. Discuss the results.

Volatility envelope modeling

Exercise 4.9 (Autocorrelation function of absolute returns) Choose one asset and plot the autocorrelation function of the absolute value of the log-returns at different frequencies.

Exercise 4.10 (MA volatility modeling) Choose one asset and try the MA\((q)\) modeling on the squared log-returns for different values of the lookback \(q\). Plot the volatility envelope.

Exercise 4.11 (EWMA volatility modeling) Choose one asset and try the EWMA modeling on the squared log-returns for different values of the memory \(\alpha\). Plot the volatility envelope.

Exercise 4.12 (ARCH volatility modeling) Choose one asset and experiment with ARCH\((q)\) models with different values of \(q\). Plot the volatility envelope.

Exercise 4.13 (GARCH volatility modeling) Choose one asset and experiment with GARCH\((p,q)\) models with different values of \(p\) and \(q\). Plot the volatility envelope.

Exercise 4.14 (SV modeling) Choose one asset and experiment with the SV model. Plot the volatility envelope and compare with the GARCH modeling.

Exercise 4.15 (Kalman SV modeling) Choose one asset and experiment with the SV model via Kalman. Try the AR(1) model and the random walk model. In addition, compare the models under the Gaussian distribution and the heavy-tailed \(t\) distribution.

Exercise 4.16 (Multivariate GARCH modeling) Choose several assets and compare the results of asset-by-asset GARCH modeling and multivariate GARCH modeling via the constant conditional correlation model. Discuss the results.

Exercise 4.17 (Kalman for multivariate SV modeling) Choose several assets and compare the results of asset-by-asset Kalman SV modeling and vector Kalman SV modeling (including correlation among assets). Discuss the results.