Hi,
I'm trying to implement a gvar model with 70 countries (it's maybe too much ?) and I'm receiving this message when I try to run the program. When it try to calculate the weight matrix.
Index exceeds matrix dimensions.
Error in build_wmat (line 72)
trd = alltrd(:,dslct);
Error in gvar (line 664)
build_wmat(intfname,fixedweights_flag,trade_tmp,n_trdyears,trade_dates,firstobs,lastobs,min_trdyear,...
Can you help me please ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to implement a gvar model with 70 countries (it's maybe too much ?) and I'm receiving this message when I try to run the program. When it try to calculate the weight matrix.
Index exceeds matrix dimensions.
Error in build_wmat (line 72)
trd = alltrd(:,dslct);
Error in gvar (line 664)
build_wmat(intfname,fixedweights_flag,trade_tmp,n_trdyears,trade_dates,firstobs,lastobs,min_trdyear,...
Can you help me please ?
For these type of questions please email the gvar helpdesk. Thanks.