for !i=1 to 3
!window = 36
!step = 1
!length = @obsrange
equation eq1 
!nrolls = @round((!length-!window)/!step)
matrix(2,!nrolls) mastermat
!j=0
for !j = 1 to !length-!window+1-!step step !step
smpl @first+!j @first+!j+!window-1
equation eq1.ls(options) r!i c mrp
colplace(mastermat,eq1.@coefs,!j) 
next
next


