Case study · Energy and industry
SGTech: finding the signals linked to methane production
More than 10,000 measured variables, structural breaks and equipment incidents. We isolated corrupted periods and identified the signals linked to methane output.
The need
SGTech produces methane from agricultural waste. According to SGTech, its system produces nearly 30% more methane than a normal system: that is the performance of its process, which we did not measure; our part was to understand and analyse its data. The plant has a very large number of sensors. Power outages and equipment malfunctions had corrupted measurements in ways that were not visible in raw exports. The team needed to know which variables actually drive CH4 production.
The data were very noisy, and the roughly 10,000 variables were on very different scales: some sensors measured values of the order of 10⁻⁹ or even smaller, others values of the order of 10⁴, 10⁵ or more. The cleaning therefore needed a powerful outlier detector, able to give an answer for each of the 10,000 variables and to filter out the noise without losing the useful information.
An anomaly detector inherited from official statistics
The data were often very dirty. We put in place an anomaly-detection algorithm inherited from work carried out at Israel’s Central Bureau of Statistics. Building it to work across such different scales was a real challenge. The cleaning it made possible revealed links between variables that we would never have detected without it, and the cleanings were validated by the team of expert biologists.
How our detector tells an error from a real signal is told in our article on outliers, and what it does when a variable mixes several populations in our article on a column that mixes several populations.
Cleaning without deleting real behaviour
A variable that should move with CH4 flow showed a −7% correlation before cleaning. IQR bounds, Z-score screening, Isolation Forest and change-point detection isolated the corrupted periods, and each decision was checked against domain knowledge. After cleaning, the correlation rose to +71%.
How to read a correlation without finding relations that do not exist is the subject of our article on correlations.
From 10,000 variables to the ones that matter
A PCA with adapted encodings, read together with our models on the microbiome data, pointed to the microbiome families associated with higher methane generation: associations in their data, not causes, and not the work of the PCA alone. The results helped SGTech understand the biology at work and supported additional funding from the Ministry of the Environment.
The PCA was conducted rigorously, to bring out only the variables linked to the target, methane production: the axes were built from the measurements alone, then read against that production, and only the axes that carry it were kept, with the variables that build them; a selection of axes meant for prediction is made on the training data only, and judged on data it never saw. The biostatisticians suspected that certain micro-organisms had an impact on that production, but had no mathematical proof of it; the analysis brought out a clear separation, on axes 1 and 2 of the PCA, and also on axis 3, between good and bad methane production. That separation is a descriptive association in their data, not the causal proof that a micro-organism causes the overproduction. Linking the researchers’ intuition to their data was the whole point.
With sensors measuring values of the order of 10⁻⁹ next to others of the order of 10⁴ or 10⁵, a PCA on the raw values would let the units choose the axes. Our engine first standardises each variable on its observed values:
where is the value of variable j for row i, the rows where it is observed, their number, its mean and its standard deviation. A zero is treated as missing only for the variables whose sensor quality contract says that zero means “not measured”, not because a zero is missing by nature; in our engine this is a switch, on by default and applied to every variable of a call, so variables whose zero is a real measurement are passed with it off. Whatever its unit, every standardised variable then has a mean of 0 and a variance of 1 on its observed values: the differences of scale due to the units are neutralised, without guaranteeing that every variable contributes equally to the axes, since a variable’s weight then depends on its correlations with the others. The share of the total variance carried by axis k is
where is the variance carried by axis k and p the number of variables: it measures the structure of the measurements, not their units. How such axes are read against a target is shown on public data in our article on PCA.
Microbiome, laboratory reports and sensors
We helped the team on three kinds of data. On the microbiome data, the question was which micro-organism influences the overproduction of methane. On the laboratory reports and on the sensors, we detected critical days in their data and understood some of the process anomalies that followed from them. Our models made it possible to determine what influenced production. Those links are associations measured in their data: they show where to look, and a causal claim, such as a micro-organism causing the overproduction, would need an experiment or a causal design.
Limits
The published figure is an association in one example, not a causal effect or an out-of-sample forecast score. Excluded periods must match documented operational incidents. The separation on the PCA axes is likewise an association, measured in the client’s own data.
All case studies
Health claims: clean data and a new reserving method
Health insurance case: rebuilt claims data and VLSMC reserving, a variable-length semi-Markov model of each claim path, tested out of time.
Data rebuilt · VLSMC reserving tested out of time
- Data quality
- NLP
- VLSMC
- Reserving
K-means and GLMs: pricing 74 breeds that did not fit one tariff
K-means grouped 74 breeds into three risk groups, revealing nine priced below cost (107% loss ratio), then fed frequency, severity and Tweedie GLMs.
9 breeds at a 107% loss ratio, now priced as a group
- K-means
- GLM
- Tweedie
Let’s build better decisions together
Tell us about the decision you need to make.
A few lines are enough: your sector, the data you have and what you want to improve. We reply personally with a first view of the approach.
- A few lines are enough
- NDA on request
- Code and documentation handed over

