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.

## Calculate the Mean for the Quantities

### Step 1

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

### Step 2

Add all of the quantities together.

### Step 3

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.

## Calculate the CUSUM

### Step 1

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

### Step 2

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.

### Step 3

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.

### Step 4

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.

### Step 5

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