<div dir="ltr">Hi,<div><br></div><div>I'm trying to use tloop like this:</div><div><br><div>'set t 1 last'<br>'d tloop(var1 - var1(t-1)) '<br></div></div><div><br></div><div>The problem I get (I think) is that the first value isn't calculated because t=1 and therefore t-1 does not exist.</div><div><br></div><div>Can anyone tell me how to deal with this and plot the first value as well as the following ones? <br></div><div><br></div><div>Thanks</div><div><br></div><div>Brian </div></div>