Matlab in finance (log returns)

5 vues (au cours des 30 derniers jours)
Stanislaw Konopka
Stanislaw Konopka le 29 Déc 2020
Modifié(e) : Cris LaPierre le 29 Déc 2020
Hey guys, is there anyone who could help me or give me a hint on how to do this exercise? Any kind of help will be much appreciated :)
Consider the following autoregressive distributed lag model (ARMAX model): rt = 0.1 + 0.2rt−1 + 0.4r ∗ t−1 + 0.3r ∗ t−2 + at, where rt denotes the log return from the ABC stock index and r ∗ t denotes the return from the DJ index (both given in percentages). What is the impact of a rise in a DJ index by a 1 p.p. in time t on the ABC index in time t, t + 1, t + 2, t + 3 and what is its long-term impact (t → ∞)? Derive this impact analytically and plot it with Matlab. Derive both, impulse-response function and the cumulative impulse-response function.

Réponse acceptée

Cris LaPierre
Cris LaPierre le 29 Déc 2020
Modifié(e) : Cris LaPierre le 29 Déc 2020
There are a couple examples in the documentation you could try to follow. Here's the first one I found:
This uses the armax function (in the Systems Identification Toolbox)

Plus de réponses (0)

Catégories

En savoir plus sur Financial Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by