GARCHMVDCCGIBBS—DCC GARCH Model with Metropolis-Hastings

Use this forum for posting example programs or short bits of sample code.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

GARCHMVDCCGIBBS—DCC GARCH Model with Metropolis-Hastings

Unread post by TomDoan »

GARCHMVDCCGIBBS.RPF uses Independence Chain Metropolis to analyze the conditional correlations generated by a DCC model. The conditional correlations are a complicated function of the data and parameters so getting an estimate of their precision (and not just point estimates) isn't simple. This uses M-H to sample from the posterior of the model, saves the histories of the conditional correlations and generates graphs of upper and lower bounds. Over half the program is for dealing with the rather complicated structure required for saving and analyzing many draws of several complete (and long) time series.

Detailed Description

g10xrate.xls
Data file (included in RATS v8 distribution)
(1.2 MiB) Downloaded 1210 times
miska
Posts: 1
Joined: Mon Nov 13, 2017 4:16 am

Re: DCC GARCH Model with Metropolis-Hastings

Unread post by miska »

Hello,

I run the graph, but unfortunately, I cannot see any confidence bands in the graph.Thank you for the help.
Attachments
graph.png
graph.png (145.23 KiB) Viewed 9699 times
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: DCC GARCH Model with Metropolis-Hastings

Unread post by TomDoan »

From the comments:

* Generate the median and 90% confidence band for the DCC correlations.
* For this data set, the period to period movement is large enough
* relative to the spread that the three lines basically end up on top of
* each other. If you graph over a shorter period, you can see at least
* some spread between the upper and lower bounds.


Last bumped by TomDoan on Tue Aug 13, 2024 9:29 am.
Post Reply