# How to Calculate CUSUM ••• http://josephhall.org/images/bp_csm.jpg

CUSUM is short for "cumulative sum." It is a formula used to determine the gradual change in a series of quantities over time. CUSUM is used in many different professions, including, but not limited to, those found in the medical and financial fields. For example, it can be used by a doctor to monitor the change in a diabetic's glucose levels, or it can be used by a financial analyst to analyze specific trends in the marketplace.

Write down the quantities for which you want to calculate the CUSUM.

Add all of the quantities together.

Divide the sum of all the quantities by the number of quantities that there are. This will give you the average or the mean of the quantities.

Go back to your original list of quantities written down in Step 1 of the previous section.

Take the number representing the mean that was calculated in Step 3 of the previous section and subtract it from the first quantity on the list. If the quantity is greater than the mean, you will get a positive number; if the quantity is less than the mean, you will get a negative number. Write this number down.

Move on to the second quantity on the list and again subtract the mean from it. Write this number down beside the one written down in the previous step.

Continue in this manner until you have the difference between the mean and each individual quantity. These numbers should now comprise a new list of quantities that represent the difference between the original quantities and the mean.

Add all of the numbers from this new list together. The sum of these numbers is the CUSUM.

#### Tips

• By charting the numbers calculated in Section 2, you can generate a graph that displays the general trends that took place for the quantities that you are analyzing.

#### Warnings

• Some methods for calculating cumulative sum involve using a "target" number in place of the mean. The variations in quantity are then calculated in relation to this ideal quantity rather than the actual average.

Dont Go!

We Have More Great Sciencing Articles!