Looping over two sets of series
Posted: Thu Feb 06, 2020 8:00 am
Hi all - long time reader first time questioner. Lol.
Let's say I have two sets of conformal series: A1 A2 A3....AT and B1 B2 ... BT
T i s a large number, so I don't want to repeat the same bit of instructions for all T
I want to perform an instruction - let's say its an RREG command, with A1 on the lhs and B1 on the rhs, save some results (specifically, i want the conditional distribution of B_i on A_i) and then go to A_i+1 to B_i+1, through to AT on BT. I would use two DOFOR loops, but I don't want to loop trhough all of B1, B2, through BT ontn A1, just so A_i is equal to B_i.
Can anyone suggest some code, please. Thanks.
Let's say I have two sets of conformal series: A1 A2 A3....AT and B1 B2 ... BT
T i s a large number, so I don't want to repeat the same bit of instructions for all T
I want to perform an instruction - let's say its an RREG command, with A1 on the lhs and B1 on the rhs, save some results (specifically, i want the conditional distribution of B_i on A_i) and then go to A_i+1 to B_i+1, through to AT on BT. I would use two DOFOR loops, but I don't want to loop trhough all of B1, B2, through BT ontn A1, just so A_i is equal to B_i.
Can anyone suggest some code, please. Thanks.