Gordon Scott has been an active investor and technical analyst or 20+ years. He is a Chartered Market Technician (CMT). Cumulative return represents the total gain or loss of an investment over a ...
Simple cumulative sums are easy to compute using SAS sum statements. The following statements show how to compute the running sum of variable X in data set A, adding XSUM to the data set. Like ...