Dear all,
In my code I generate 5564 matrix of size (1000,1).
I was able to generate the matrix using the code with T=5564 and R=1000:
However, I am trying to create an ereturn for each matrix.
Usually I would simply write
Is there a way of doing so with a loop?
Thank you all
In my code I generate 5564 matrix of size (1000,1).
I was able to generate the matrix using the code with T=5564 and R=1000:
Code:
for(t=1;t<=T;t++){ stri = strofreal(t) ST2=1+R*(t-1) FI2=t*R st_matrix("s_ind_"+stri,s_ind[|ST2,.\FI2,.|]) }
Usually I would simply write
Code:
ereturn matrix s_ind_1=s_ind_1 ... ereturn matrix s_ind_5564=s_ind_5564
Thank you all
Comment