最近研究这个系统性风险很火,CoVAR最早是用分位数进行计算的,所以称它为条件VaR。而后它扩展到copula族模型,通过链接函数来计算条件var。通过DCC-garch中的动态相关系数,扩展到时变的covar。感觉有点意思,金融建模真是花样百出。========================================================================
clear all
warning off all
clc
close all
[data]=xlsread('Data_RMC.xls');
index = data(:,1); % Returns of the market (system)