I have a pseudo bootstrapping program where I wind up with a whole bunch of paths stored as matrices, then at each point we draw a number of points from the these as our results (vague I know, please forgive).
Long story short, we were pulling a bunch of quantiles into a table to organize them and it was fine. Now we want to instead store them as series, and this is where I get an issue.
Specifically,
Code: Select all
!z11=@sum(v1temp)/!zsimno
smpl {%zdatel}+!i {%zdatel}+!i
'This works to store the percentile of a reference series, generated earlier
{%zzname}_pct = !z11
' This doesn't work
{%zzname}_5d = 1 * @quantile(v{%zzname}!i, !z11+0.05)
Similarly, the structure from before, with a table called z_SERIESNAME_fin works i.e.
Code: Select all
z_{%zzname}_fin(!i+1,9) = @quantile(v{%zzname}!i, !z11-0.05)
