Help with error in Systemic Risk code by Tommaso Belluzzo

Hi all, Am running the Matlab codes provided on Systemic risk by Tommaso Belluzzo with R2018b free trail version using the dataset example provided but having the following error:
Error using distcomp.remoteparfor/getCompleteIntervals (line 246) Index exceeds the number of array elements (0).
Error in calculate_adjacency_matrix>calculate_adjacency_matrix_internal (line 36) parfor j = ij_seq
Error in calculate_adjacency_matrix (line 23) adjm = calculate_adjacency_matrix_internal(res.data,res.sst,res.rob);
Error in main_net>main_net_internal (line 66) adjm = calculate_adjacency_matrix(win_i,data.SST,data.Rob);
Error in main_net (line 30) main_net_internal(res.data,res.res,res.sst,res.rob,res.anl);
Error in run (line 24) main_net(data,fullfile(path_base,path_rnet),0.05,true,true);
Please does anyone have the same errors or knows how to correct it as I really need some of these estimations (CoVaR, ΔCoVaR, MES and Network Measures)for my dissertation.
Thank you in advance.

Answers (0)

This question is closed.

Asked:

on 6 Nov 2018

Closed:

on 7 Nov 2018

Community Treasure Hunt

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

Start Hunting!