Learning Materials

Features

Discover

# CUSUM

Dive into the fascinating world of CUSUM with this comprehensive guide. Through this detailed exploration, you will unravel the complexity behind the cumulative sum (CUSUM) – a critical quantitative method extensively used in quality control and data analysis. This guide dissects CUSUM in detail, elucidating its meaning, key aspects, practical uses, and its significance in engineering mathematics. So, whether you are an aspiring engineer or simply intrigued by data analysis principles, gain a better understanding and appreciation of the powerful analytic tool that is CUSUM.

#### Create learning materials about CUSUM with our free learning app!

• Instand access to millions of learning materials
• Flashcards, notes, mock-exams and more
• Everything you need to ace your exams

Millions of flashcards designed to help you ace your studies

## Understanding CUSUM: Explanation and Meaning

In engineering and various fields such as quality control and finance, an important statistical method you'll encounter is the **CUSUM** (CUmulative SUM). The basis of understanding it stems from its very name: **C** stands for cumulative, indicating an accumulating process, and **SUM** is the result of addition. Hence, in its simplest form, CUSUM involves the accumulation of differences between actual and expected measurements. Firstly, it's crucial to grasp that CUSUM isn't just a single calculation or an equation but represents a control chart used for monitoring change detection. This makes it an exceptionally crucial tool for professionals tackling large volumes of data or time series analysis.

CUSUM (CUmulative SUM): A statistical method used as a control chart for change detection and monitoring via accumulating differences between actual and expected measurements.

### In-depth Look at CUSUM Meaning

To truly dive into the essence of CUSUM, it's key to realise its potential applications. Not only does it lends itself to monitoring production processes for deviations from a targeted value, but it's also adept at identifying minor shifts in system behaviour. Consider a production line where the acceptable range of a measured variable lies between two values. By calculating the CUSUM, you can track the deviations of this variable from the target over time.

For example: Tracking the weight of products in a production line. If the weight should be 500g and the CUSUM rises, this illustrates that the products are consistently underweight, a significant issue that calls for inspection.

### How CUSUM works: Detailed Explanation

At the heart of CUSUM calculation lies deviation. It takes the sum of positive and negative deviations of observed values from the target value, effectively adding up these errors to indicate a trend over time. A CUSUM chart will ideally hover around zero if the system is performing as expected. Should the process start to deviate from the norm, the points in the chart will drift away from the zero line, providing a visual indication of the shift.
 CUSUM value close to zero System is operating normally CUSUM value significantly different from zero Non-random shift detected in the system
For a CUSUM to be calculated, start with a target value or process mean. Then, for each new measurement, subtract the target value from the measurement and add the result to the previous CUSUM. This can be represented with the following formula (using LaTeX): $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$
// Pseudo code for calculating CUSUM
CUSUM[0] = 0
for i = 1 to n
CUSUM[i] = CUSUM[i-1] + (measurement[i] - Target)
end for

In depth: Note that this calculating method means that even small, consistent deviations from the target value can result in a rapidly increasing or decreasing CUSUM. This makes it easier to catch small but consistent erformance shifts that might be missed with other statistical process control methods.

Understanding and using the CUSUM method offers a powerful tool for monitoring and controlling various processes. Its ability to accumulate minor process shifts over time makes it an indispensable tool in many engineering and data analysis applications.

## Key Aspects of CUSUM: Properties and Components

To further understand and appreciate the value of the CUSUM (CUmulative SUM) method in engineering applications and beyond, let's dissect its unique properties and fundamental components.

### Unique Properties of CUSUM

One distinguishing trait of CUSUM is its **sensitivity to small shifts** in the process mean. Such shifts present an unfolding problem that could spiral into a significant issue if left undetected. With other methods, such as a Shewart chart, small changes may go unnoticed. However, by continually accumulating deviations from the target value, CUSUM makes subtly emerging trends more visible. Secondly, the CUSUM method is incredibly versatile, adaptable to **both univariate and multivariate** data. Whether you're working with a single set of observations or multiple variables simultaneously, CUSUM can handle it. Finally, CUSUM is **retrospective**, meaning it can look at past data to detect shifts. This makes it perfect for monitoring ongoing processes, as well as reviewing historical data for anomalies or shifts. In a nutshell, CUSUM's unique properties encompass:
• Sensitivity to small shifts in the process mean
• Adaptability to both univariate and multivariable data
• Capability for retrospective analysis

### Building Blocks of CUSUM

At its core, CUSUM is built upon two fundamental components: **deviations** and **accumulation**. The **deviation** component involves calculating the difference between an observed value and the target or expected value. This deviation can either be a deficit (below the target) or a surplus (above the target). Every new observed value will contribute its deviation to the total sum. The **accumulation** part is where CUSUM shines. As new values are observed and their deviations calculated, these deviations are not merely listed; they are added up, accumulated over time. To compound these two components, here is the CUSUM calculation in LaTeX mathematical representation: $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$ In other words, the CUSUM at any point in time is the CUSUM of the previous point plus the current measurement's deviation from the target.

#### Visual Understanding: The CUSUM Chart

A key component of CUSUM usage is the CUSUM chart - a visualised form of your CUSUM calculations. It's here that you can spot trends over time and identify whether your operation continues to meet its expected performance. In a CUSUM chart, the x-axis represents time or sequence of measurements, and the y-axis represents the accumulated sum of deviations. A point on this chart reflects the cumulative sum of deviations until that time. Therefore, if the process is under control, the points should hover around zero. If the CUSUM starts to drift upward or downward consistently, this is a clear visual indication of a change in the process mean. This change might represent a serious issue which merits further investigation and corrections.

#### Scrutinising the CUSUM Algorithm

Understanding the CUSUM algorithm opens the gateway to optimising its application. The algorithm is straightforward: it begins by setting the initial CUSUM to zero and, for each successive measurement, it adds the deviation of that measurement from the target value to the previous CUSUM. In pseudo code, the algorithm looks like this:
// Pseudo code for CUSUM algorithm
CUSUM[0] = 0
for i = 1 to n
CUSUM[i] = CUSUM[i-1] + (measurement[i] - Target)
end for

These steps repeat for each observation, consistently updating the CUSUM. It is this continuous update of CUSUM that makes it a dynamic tool, effectively summarising the performance status of your process. Any persistent shift, whether incrementally positive or negative, will result in the CUSUM noticeably deviating from zero. By monitoring this sign, you're obtaining real-time feedback about the stability of your process, thus enabling timely interventions.

## Practical Aspects: CUSUM Analysis and Uses

In the realm of practical applications, CUSUM (CUmulative SUM) extends its reach far beyond theory, transforming real-world data into a valuable source of insights. It serves as an essential tool in fields around the globe, such as engineering, finance, or quality control, aiding with process control, change detection, and system optimisation.

### Insightful Guide to CUSUM Analysis

CUSUM analysis entails implementing the CUSUM method to a given data set. It involves a progression of steps that starts with data collection and ends with interpreting the resulting CUSUM chart. So, let's walk through how you can conduct a CUSUM analysis: First, it involves **collecting data** over time. The observed data points have to be in temporal order since it's crucial to note the time-based sequence to understand the deviations in their CUSUM values. Next, you'll decide on a **baseline or target value**. This decision depends on the context: it might be a standard value, a company's goal, or the mean of historical data, to name a few examples. Then, you'll **calculate the deviation** for each data point. This calculation involves subtracting the target value from the observed measurement. What follows is the exciting part: **cumulating the deviations**. Starting with zero, each subsequent CUSUM is the past CUSUM plus the latest calculated deviation. Lastly, you'll **plot and interpret the CUSUM chart**. Regular excursions of the CUSUM value from zero signal an unexpected shift in the process. Let's interpret this guide in LaTeX notation describing the CUSUM formula: $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$ This LaTeX equation breaks down as follows: The CUSUM at a specific time point, represented as $$CUSUM_{t}$$ is equal to the previous CUSUM ($$CUSUM_{t-1}$$) plus the deviation of the current measurement from the target.

For instance, if your production process aims to produce items weighing 100g each, a measured value of 98g would result in a deviation of -2g from the target. If the previous CUSUM was 4g, the new CUSUM would be 2g (4g - 2g = 2g).

#### Real Life Applications of CUSUM

From identifying process alteration in manufacturing to detecting climatic changes over time, CUSUM proves to be a universal tool with a variety of real-life applications. In **quality control**, for instance, CUSUM helps monitor manufacturing processes, checking for shifts from the standard quality level. It can alert managers to deviations before they escalate into a full-blown problem, allowing preventative measures to be implemented promptly. The **finance sector** too, greatly benefits from CUSUM. It can detect unanticipated shifts in market trends, alerting investors to opportunities or risks sooner. CUSUM has value in **environmental science** as well. It helps recognise changes in climate characteristics or observe fluctuations in animal populations. In **health and medicine**, CUSUM charts monitor patient outcomes, tracking healthcare quality over time. By noting steadily increasing or decreasing CUSUM points, we can recognise patterns, allowing for improved patient care.

#### Navigating the CUSUM Formula

Steering the CUSUM formula involves a proper understanding of its components and how they operate. The formula itself is simple: $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$ Let's dissect it: - $$CUSUM_{t}$$: This is the current CUSUM, the accumulated difference for the measurement at time $$t$$. - $$CUSUM_{t-1}$$: This represents the previous CUSUM, the accumulated difference up to the measurement just before time $$t$$. - $$measurement_{t}$$: This is the actual measured value at time $$t$$. - $$Target$$: Signifies the pre-established value, the target against which the measured values are compared. The process of using the formula involves first setting $$CUSUM_{0}$$ to 0. Then, for each successive measurement, subtract the target from the measurement and add the result to the previous CUSUM. The algorithm can be depicted with pseudo code as follows:
// Pseudo code for CUSUM calculation
CUSUM[0] = 0
for i = 1 to n
CUSUM[i] = CUSUM[i-1] + (measurement[i] - Target)
end for

Going by this guide, you can master the CUSUM formula calculation, enhancing your proficiency in data analysis and change detection.

## Breakdown of CUSUM Examples: Learning Through Case Studies

The beauty of the CUSUM methodology can be best appreciated through concrete examples. By examining real-world case studies, you can grasp how CUSUM adapts to varied data sets, highlighting its practical value and versatility.

### Exhibit of Real-World CUSUM Examples

The dynamism and utility of CUSUM extend across numerous fields - from disrupting financial markets to revolutionising quality control. Here are several real-world examples to underscore the broad applicability of the CUSUM method. **Financial Markets:** Applying CUSUM aids in spotting micro-changes affecting capital markets. When analysed against market data, CUSUM charts can alert to shifts in portfolio performance, guiding key investment decisions.

For example, say an investment firm shifts its focus from growth-centric companies to value-based companies. A CUSUM chart could detect this subtle investing strategy shift by considering portfolio performance over time. An upward drift in the CUSUM values would suggest the new strategy is positively impacting the portfolio.

**Quality Control:** In the sphere of manufacturing, CUSUM serves as a sentinel to production quality. Regular monitoring via CUSUM can prompt preventative action against faulty production, minimising the risk of large-scale, costly downtime.

Suppose a food processing facility aims at a standard weight of 500g per package. If the overall weight starts increasing over time, a CUSUM chart will indicate this shift as a rising curve, even if individual measurements remain within acceptable ranges.

**Environmental Science:** Climate change, a pressing global issue, can be better tracked using CUSUM. It helps scientists verify whether changes in temperatures or CO2 levels are random fluctuations or proof of a changing trend.

For instance, using CUSUM analysis, scientists can track global average temperatures over multiple decades. Any consistent rising trend in CUSUM would indicate an abnormality, possibly signifying climate change.

**Healthcare:** Tracking surgical or treatment outcomes via CUSUM charts can enable swift healthcare adjustments, contributing to improved patient outcomes.

A surgical team, for instance, aims to keep surgical site infections below a particular level. The CUSUM chart would keep track of the team's infection rate over time, immediately signifying any unwarranted increase.

### Step by Step Analysis of CUSUM Examples

A step-by-step breakdown of CUSUM analysis can be a goldmine of understanding for you. Using an elementary example, we'll step through each stage of the CUSUM analysis, making it clear how this method progresses. Imagine a manufacturing plant that aims to produce bolts with a standard weight of 60g each. Over eight days, the daily averages were 59, 60, 59, 58, 59, 61, 62, and 63 grams. Define each stage: **Stage One: Setting the Target** The target value in this case is 60g. **Stage Two: Calculating Deviations** Next, calculate the deviation of each measurement from the target weight.
• Day 1 deviation: 59 - 60 = -1
• Day 2 deviation: 60 - 60 = 0
• Day 3 deviation: 59 - 60 = -1
• Day 4 deviation: 58 - 60 = -2
• Day 5 deviation: 59 - 60 = -1
• Day 6 deviation: 61 - 60 = 1
• Day 7 deviation: 62 - 60 = 2
• Day 8 deviation: 63 - 60 = 3
**Stage Three: Computing CUSUM values** Starting with a CUSUM of zero, for each day, add the previous CUSUM to the current deviation. Here is the CUSUM formula in LaTeX representation: $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$ Following this formula, we get:
• Day 1 CUSUM: 0 - 1 = -1
• Day 2 CUSUM: -1 + 0 = -1
• Day 3 CUSUM: -1 -1 = -2
• Day 4 CUSUM: -2 - 2 = -4
• Day 5 CUSUM: -4 - 1 = -5
• Day 6 CUSUM: -5 + 1 = -4
• Day 7 CUSUM: -4 + 2 = -2
• Day 8 CUSUM: -2 + 3 = 1
**Stage Four: Drawing and Interpreting the CUSUM chart** Having obtained the CUSUM values, plot them on a CUSUM chart, and then study the resulting pattern. In this case, the curve initially decreases, then slowly rises towards the end, demonstrating a progressive positive shift in the process over time - a scenario warranting investigation.

## An in-depth look at CUSUM Applications in Engineering Mathematics

Engineering mathematics utilises a variety of operations research techniques and statistical tools to solve complex real-world problems. Among them, the CUSUM (Cumulative Sum) control chart stands out. It serves as an invaluable statistical tool employed for detecting and monitoring change detection, making it indispensable in a multitude of sectors within the engineering field. Situated at the heart of quality control and system optimisation, CUSUM finds significant use in sectors such as mechanical, civil, chemical, and even software engineering.

### How and Where CUSUM is Applied in Engineering

The CUSUM technique is predominantly used for quality and process control in various engineering fields. Known for its competence in handling numerous data points over time, it is ideal for signalling even the slightest alterations in a process, making it an invaluable tool for engineers. Being sensitive to minor shifts in data patterns, it is extensively used in **mechanical engineering**. For instance, it can monitor machine performance over time, helping engineers check if the output remains within the predefined quality limit or if there's any notable shift in performance. A shift in the CUSUM chart might indicate a potential mechanical failure, prompting prompt inspection and maintenance. Additionally, CUSUM is used in the realm of **civil engineering**, managing large-scale infrastructure projects. Projects of such magnitude require continuous monitoring to ensure conformance to set standards and guidelines. By applying CUSUM method, civil engineers can detect any deviations from the desired quality standards early on, allowing for timely correction and mitigation of issues. Moreover, the **chemical engineering** industry benefits greatly from the application of CUSUM. A chemical process that deviates from equilibrium may result in ineffective reactions or produce hazardous materials. A CUSUM technique, in this case, could facilitate early detection of such deviations, ensuring product quality and safety. Finally, in **software engineering**, CUSUM aids in the detection of anomalies during software development and testing. For instance, you can track code errors made over time, taking necessary actions when a persistent increase or decrease in errors is detected.

#### Decoding the CUSUM Algorithm in Real World Applications

The key to appreciating the utility of CUSUM lies in understanding its essential algorithm. This algorithm scans collected data over time and detects a shift from its predetermined base value. The basis of the CUSUM algorithm is portrayed through a simple LaTeX equation: $CUSUM_{t} = CUSUM_{t-1} + (measurement_{t} - Target)$ In this equation, - $$CUSUM_{t}$$ represents the cumulative sum at time $$t$$. - $$CUSUM_{t-1}$$ is the cumulative sum just before time $$t$$. - $$measurement_{t}$$ is the observed value at time $$t$$, and - $$Target$$ is the established standard value. Embodying this formula, the algorithm's pseudo code might look as follows:
// Pseudo code for CUSUM calculation
CUSUM[0] = 0
for i = 1 to n
CUSUM[i] = CUSUM[i-1] + (measurement[i] - Target)
end for

The algorithm begins by setting the initial CUSUM as zero. It then iterates through each measurement, subtracts the target value from it, and adds the result to the prior CUSUM value. The CUSUM points are monitored over time, any significant deviations or shifts from the base value signify an alarming change in the process.

#### Practical Examples of CUSUM Applications in Engineering Mathematics

To build a vivid comprehension of CUSUM application, let's consider a few practical examples: Mechanical Engineering: Let's say a machine is expected to produce metal parts weighing 10 kg each. The weights over eight production cycles might be 9.8 kg, 10 kg, 9.9 kg, 9.7 kg, 9.8 kg, 10.1 kg, 10.2 kg, and 10.3 kg. Applying the aforementioned CUSUM formula, any ongoing shift from the 10 kg target will be mapped over time. Continual rising or falling CUSUM points depict an abnormality in the machine operation. Chemical Engineering: Suppose a chemical reaction is expected to maintain a pH level of 7. If the pH levels over several hours were 7.1, 6.9, 7.0, 7.2, 7.3, 7.4, a CUSUM analysis would demonstrate a steady rise in pH levels, indicating the need for operational adjustments. In each example, the concept remains the same: CUSUM is a measure of accumulated deviation of actual performance from an expected target. The power of CUSUM charts lies in their ability to detect minor but continual changes, offering engineers an early alert to potential quality or operational concerns. This statistical tool, therefore, contributes to maintaining optimal quality control, system efficiency, and process optimisation.

## CUSUM - Key takeaways

• CUSUM (CUmulative SUM) method is highly sensitive to small shifts in the process mean, making it effective in tracking and detecting even subtle shifts in data trends.
• CUSUM is versatile adaptable to both univariate and multivariate data
• Retrospective analysis is a unique feature of CUSUM, enabling it to scan past data to uncover shifts.
• The CUSUM method hinges on two elemental components – deviations and accumulation. The deviation aspect measures the difference between the observed and target value, and the accumulation part sums up these deviations over time.
• The CUSUM chart provides a visual representation of cumulative calculations, enabling easier detection of performance patterns and trends over time.
• The CUSUM algorithm initiates by setting the initial CUSUM to zero and subsequently adding the deviation from each successive measurement to the previous CUSUM.
• CUSUM is actively implemented in a myriad of spheres such as engineering, finance, environmental science, and healthcare.
• In CUSUM analysis, the stages include data collection, choosing a baseline or target value, calculating the deviation for each data point, accumulating the deviations, and finally plotting and interpreting the CUSUM chart.
• The basic CUSUM formula is represented as CUSUM[t] = CUSUM[t-1] + (measurement[t] - Target), where the CUSUM at any point in time is the sum of the CUSUM of the previous point and the current measurement's deviation from the target.
• CUSUM finds application in quality control (monitoring manufacturing processes), finance (detecting shifts in market trends), environmental science (tracking changes in climate or animal populations), and healthcare (monitoring patient outcomes).

#### Flashcards in CUSUM 15

###### Learn with 15 CUSUM flashcards in the free StudySmarter app

We have 14,000 flashcards about Dynamic Landscapes.

What is a CUSUM chart? Please write in UK English.
A CUSUM chart, or Cumulative Sum Control Chart, is an analytical tool in quality control that graphically represents the cumulative sum of deviations from a target in a process. It's used to detect small and sustained changes from the standard.
How does one perform CUSUM?
To perform CUSUM (Cumulative Sum Control Chart), start by determining the target value and acceptable range. For each data point, subtract the target and add the result to the previous sum. If the total is outside the standard range, investigate for potential quality issues. Continue this for all data points.
What is a CUSUM used for?
A CUSUM (Cumulative Sum Control Chart) is used in engineering for quality control and monitoring changes in a process. It identifies small and sustained changes from the target of a process, helping in the detection of faults or deviations.
What is CUSUM analysis? Please write in UK English.
CUSUM analysis (Cumulative Sum) is a statistical technique used in engineering to monitor change detection and deviation from standard performance. It analyses the cumulative sum of differences between data points and a reference value, identifying trends in data over time.
How do you plot a CUSUM chart?
To plot a CUSUM chart, you first need to calculate the cumulative sum of deviations of a particular variable from its target value. Then, plot the data points on a graph over time. A horizontal line represents the target value, with plotted points above or below indicating deviations. Software like Excel, MATLAB, or R can be used.

## Test your knowledge with multiple choice flashcards

How does the CUSUM algorithm work?

What are the two fundamental components upon which the CUSUM method is built?

What is the purpose of the CUSUM method when applied to financial markets analysis?

StudySmarter is a globally recognized educational technology company, offering a holistic learning platform designed for students of all ages and educational levels. Our platform provides learning support for a wide range of subjects, including STEM, Social Sciences, and Languages and also helps students to successfully master various tests and exams worldwide, such as GCSE, A Level, SAT, ACT, Abitur, and more. We offer an extensive library of learning materials, including interactive flashcards, comprehensive textbook solutions, and detailed explanations. The cutting-edge technology and tools we provide help students create their own learning materials. StudySmarter’s content is not only expert-verified but also regularly updated to ensure accuracy and relevance.

##### StudySmarter Editorial Team

Team Engineering Teachers

• 19 minutes reading time
• Checked by StudySmarter Editorial Team

## Study anywhere. Anytime.Across all devices.

Sign up to highlight and take notes. It’s 100% free.

## Join over 22 million students in learning with our StudySmarter App

The first learning app that truly has everything you need to ace your exams in one place

• Flashcards & Quizzes
• AI Study Assistant
• Study Planner
• Mock-Exams
• Smart Note-Taking