Hi,
this might be somewhat off topic, but here's my problem:
I attempt to loop over a list and numbers at the same time to store matrices identified by the list in a predefined matrix.
So far I tried
Code: Select all
%LIST = " Austria Belgium Cyprus Denmark Finland France Germany Greece Iceland Ireland Italy Luxembourg Malta Netherlands Norway Portugal Spain Sweden Switzerland Turkey United_Kingdom Canada United_States Japan South_Korea "
'store test results in matrix
FOR %IDC {%LIST}
matrix(125,2) M_BP
for !i=1 to 120 step 5
matplace(M_BP, m_{%IDC}, {!i}, 1)
next
NEXT
, where m_{%IDC} are the 5,2-matrices, which I want to store in the 125,2 matrix (beginning with the results for austria in row one, then belgium in row 6 and so forth). Obviously I can't loop around the list as it isn't assigned to the numbers at all (in the end it will store the values for south_korea in columns 1, 6 ...). Is there any way I can solve this problem in this context?
I am using Eviews 8
Thank you very much!
Palli