CommencerCommencer gratuitement

Testing FX returns for normality

So far, the exercises in this chapter have examined the normality of equity index returns and individual equity returns.

To reinforce these ideas, you will apply similar ideas to exchange-rate log-returns. The dataset fx_d contains daily log-returns of the EUR/USD, GBP/USD and JPY/USD exchange rates for the period 2001-2015, and the dataset fx_m contains the corresponding monthly log-returns. Both are multivariate; they are loaded into your workspace.

Which of the monthly log-return series appears the most normal?

Cet exercice fait partie du cours

Quantitative Risk Management in R

Afficher le cours

Instructions

  • Plot the daily exchange-rate log-return series in fx_d with the appropriate plotting function.
  • Use apply() to conduct the Jarque-Bera test on each of the series in fx_d.
  • Plot the monthly log-return series in fx_m with the same plotting function and parameter type = "h".
  • Use apply() to conduct the Jarque-Bera test on each of series in fx_m.
  • Fill in apply() to fit a Student t distribution to each of the series in fx_m and obtain the parameter estimates.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Plot the daily log-return series in fx_d
___(___)

# Apply the Jarque-Bera test to each of the series in fx_d
___(___)

# Plot the monthly log-return series in fx_m
___(___)

# Apply the Jarque-Bera test to each of the series in fx_m
___(___)

# Fit a Student t distribution to each of the series in fx_m
apply(___, ___, function(v){fit.st(v)$par.ests})
Modifier et exécuter le code