|
CUMULATIVE MINIMUMName:
where <x> is a response variable; <y> is a variable where the computed cumulative minimums are stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET Y2 = CUMULATIVE MINIMUM Y1 SUBSET Y1 > 0
let y = norm rand numb for i = 1 1 10 . let y1 = cumulative sum y let y2 = cumulative mean y let y3 = cumulative mini y let y4 = cumulative maxi y . set write decimals 3 print y y1 y2 y3 y4The following output is generated --------------------------------------------------------------------------- Y Y1 Y2 Y3 Y4 --------------------------------------------------------------------------- -1.073 -1.073 -1.073 -1.073 -1.073 0.573 -0.499 -0.249 -1.073 0.573 -0.873 -1.373 -0.457 -1.073 0.573 0.233 -1.139 -0.284 -1.073 0.573 -0.455 -1.594 -0.318 -1.073 0.573 -0.525 -2.120 -0.353 -1.073 0.573 -0.705 -2.825 -0.403 -1.073 0.573 0.032 -2.793 -0.349 -1.073 0.573 1.190 -1.602 -0.178 -1.073 1.190 0.269 -1.332 -0.133 -1.073 1.190
Date created: 01/07/2013 |