sourcetable

Advanced Change Point Detection

Identify critical shifts in your time series data using sophisticated statistical methods and AI-powered analysis tools


Jump to

Change point detection is like being a detective for your data—you're looking for the exact moment when something fundamental shifted. Whether it's a sudden spike in website traffic after a marketing campaign, a drop in manufacturing quality after equipment maintenance, or a shift in customer behavior during economic uncertainty, these inflection points tell crucial stories hidden within your time series data.

Traditional spreadsheet tools make change point analysis feel like searching for a needle in a haystack with a blindfold on. You're stuck manually eyeballing charts, running basic statistical tests, and hoping you don't miss the critical moments that could make or break your analysis. Sourcetable transforms this detective work into a precise, AI-powered investigation that uncovers every significant shift in your data.

Advanced Statistical Methods

Choose from multiple sophisticated approaches to identify change points with mathematical precision

CUSUM Algorithm

Cumulative sum control charts detect shifts in mean values by monitoring cumulative deviations from expected values over time

Bayesian Change Point Detection

Probabilistic methods that incorporate prior knowledge and uncertainty to identify the most likely change point locations

Structural Break Tests

Statistical hypothesis tests like Chow test and Quandt-Andrews test to detect structural changes in regression relationships

Machine Learning Approaches

Kernel change point detection and ensemble methods that adapt to complex, non-linear patterns in your data

Multiple Change Point Detection

Algorithms designed to identify several change points simultaneously, perfect for long time series with multiple regime shifts

Online Detection

Real-time change point monitoring that alerts you to shifts as they happen, ideal for live data streams and monitoring systems

Real-World Change Point Detection Examples

See how different industries apply change point detection to solve critical business problems

Financial Market Regime Changes

A quantitative trading firm monitors daily volatility in stock prices. Using CUSUM detection on the VIX index, they identify the exact day market volatility shifted from low to high regime during economic uncertainty. This allows them to automatically adjust their portfolio risk models and trading strategies before major losses occur.

Manufacturing Quality Control

An automotive parts manufacturer tracks defect rates across production lines. Bayesian change point detection reveals that defect rates doubled exactly 3 days after a maintenance procedure, pointing to a specific equipment calibration issue. Early detection saves $2M in potential recalls and customer complaints.

Customer Behavior Analytics

An e-commerce platform analyzes daily conversion rates across different customer segments. Multiple change point detection identifies three distinct periods: pre-pandemic baseline, pandemic surge, and post-pandemic normalization. Each period requires different inventory and marketing strategies.

Environmental Monitoring

A water treatment facility monitors pH levels in hourly readings. Online change point detection immediately flags when pH shifts outside normal ranges, triggering automated alerts to prevent equipment damage and ensure compliance with environmental regulations.

Healthcare Outbreak Detection

A public health department tracks daily hospital admissions for respiratory symptoms. Structural break tests identify the exact week when admission patterns changed, providing early warning of disease outbreaks before traditional epidemiological methods detect them.

Energy Consumption Analysis

A facility management company analyzes monthly energy usage across office buildings. Change point detection reveals that consumption patterns shifted permanently after HVAC system upgrades, validating energy efficiency investments and identifying buildings where upgrades didn't perform as expected.

Step-by-Step Change Point Detection Process

From data preparation to actionable insights in minutes, not hours

Data Import and Preprocessing

Upload your time series data from CSV, Excel, or connect directly to databases. Sourcetable automatically handles missing values, outliers, and data formatting to ensure clean input for analysis.

Method Selection and Configuration

Choose from CUSUM, Bayesian, structural break tests, or let AI recommend the best method based on your data characteristics. Configure sensitivity parameters and significance thresholds with guided assistance.

Automated Change Point Detection

Run sophisticated algorithms that scan your entire time series, calculating test statistics and probability distributions to identify statistically significant change points with precision timing.

Visual Results and Interpretation

View interactive charts showing detected change points, confidence intervals, and statistical significance levels. Hover over any point to see exact dates, magnitude of change, and probability scores.

Statistical Validation

Review detailed statistical output including p-values, confidence intervals, and diagnostic plots. Export comprehensive reports with all test statistics and methodological details for peer review.

Actionable Insights Generation

AI automatically generates interpretive summaries explaining what each change point means for your specific context, along with recommendations for further investigation or action.

Ready to detect critical changes in your data?

Mathematical Foundation and Implementation

CUSUM Algorithm Implementation

The Cumulative Sum (CUSUM) algorithm detects changes in the mean of a time series by monitoring the cumulative sum of deviations from a target value. For a time series X₁, X₂, ..., Xₙ, the CUSUM statistic is calculated as:

S₍ᵢ₎ = max(0, S₍ᵢ₋₁₎ + (Xᵢ - μ₀ - k))

Where μ₀ is the in-control mean, and k is the reference value (typically k = δ/2, where δ is the shift we want to detect). A change point is signaled when S₍ᵢ₎ exceeds a decision threshold h.

Bayesian Change Point Detection

Bayesian methods treat change point locations as random variables and use prior distributions to incorporate domain knowledge. The posterior probability of a change point at time t is calculated using Bayes' theorem:

P(τ = t | X₁:ₙ) ∝ P(X₁:ₙ | τ = t) × P(τ = t)

This approach naturally handles uncertainty and provides probability distributions for change point locations rather than point estimates, making it particularly valuable for decision-making under uncertainty.

Performance Optimization

Sourcetable implements computationally efficient algorithms including dynamic programming approaches for exact solutions and approximate methods for large datasets. The platform automatically selects the optimal algorithm based on your data size and computational requirements.

Choosing the Right Detection Method

Each statistical approach has specific strengths for different types of data and change patterns

CUSUM: Best for Mean Shifts

Optimal for detecting shifts in mean values with known direction. Fast computation and well-established statistical properties make it ideal for quality control and process monitoring applications.

Bayesian: Handles Uncertainty

Incorporates prior knowledge and provides probability distributions for change points. Best when you have domain expertise or need to quantify uncertainty in change point locations.

Structural Breaks: Regression Changes

Designed for detecting changes in regression relationships between variables. Perfect for economic data, marketing attribution analysis, and any situation where relationships between variables may shift.


Frequently Asked Questions

How many data points do I need for reliable change point detection?

The minimum depends on your method and expected change magnitude. CUSUM typically needs 50+ points for reliable detection, while Bayesian methods can work with fewer data points if you have informative priors. For multiple change point detection, we recommend at least 100 data points to avoid over-segmentation.

Can I detect multiple change points in the same time series?

Yes, Sourcetable includes specialized algorithms for multiple change point detection including dynamic programming and pruned exact linear time (PELT) methods. These automatically determine the optimal number of change points and their locations while controlling for false discovery rates.

How do I choose between different detection methods?

Consider your data characteristics and goals. Use CUSUM for detecting mean shifts in process monitoring, Bayesian methods when you have prior knowledge or need uncertainty quantification, and structural break tests for regression relationships. Sourcetable's AI assistant can recommend the best method based on your data.

What's the difference between online and offline change point detection?

Offline detection analyzes complete historical datasets to find all change points retrospectively. Online detection monitors data streams in real-time, signaling change points as they occur. Use offline for historical analysis and online for monitoring systems that need immediate alerts.

How do I avoid false positives in change point detection?

Control false discovery rates by adjusting significance thresholds, using methods designed for multiple testing (like the Bonferroni correction), and validating detected change points with domain knowledge. Sourcetable automatically applies appropriate corrections based on your chosen method and data characteristics.

Can change point detection work with non-normal data?

Yes, many methods handle non-normal distributions. Non-parametric approaches like kernel change point detection work with any distribution. For specific distributions (Poisson, exponential, etc.), specialized methods provide optimal performance. Sourcetable automatically detects your data distribution and suggests appropriate methods.



Frequently Asked Questions

If you question is not covered here, you can contact our team.

Contact Us
How do I analyze data?
To analyze spreadsheet data, just upload a file and start asking questions. Sourcetable's AI can answer questions and do work for you. You can also take manual control, leveraging all the formulas and features you expect from Excel, Google Sheets or Python.
What data sources are supported?
We currently support a variety of data file formats including spreadsheets (.xls, .xlsx, .csv), tabular data (.tsv), JSON, and database data (MySQL, PostgreSQL, MongoDB). We also support application data, and most plain text data.
What data science tools are available?
Sourcetable's AI analyzes and cleans data without you having to write code. Use Python, SQL, NumPy, Pandas, SciPy, Scikit-learn, StatsModels, Matplotlib, Plotly, and Seaborn.
Can I analyze spreadsheets with multiple tabs?
Yes! Sourcetable's AI makes intelligent decisions on what spreadsheet data is being referred to in the chat. This is helpful for tasks like cross-tab VLOOKUPs. If you prefer more control, you can also refer to specific tabs by name.
Can I generate data visualizations?
Yes! It's very easy to generate clean-looking data visualizations using Sourcetable. Simply prompt the AI to create a chart or graph. All visualizations are downloadable and can be exported as interactive embeds.
What is the maximum file size?
Sourcetable supports files up to 10GB in size. Larger file limits are available upon request. For best AI performance on large datasets, make use of pivots and summaries.
Is this free?
Yes! Sourcetable's spreadsheet is free to use, just like Google Sheets. AI features have a daily usage limit. Users can upgrade to the pro plan for more credits.
Is there a discount for students, professors, or teachers?
Currently, Sourcetable is free for students and faculty, courtesy of free credits from OpenAI and Anthropic. Once those are exhausted, we will skip to a 50% discount plan.
Is Sourcetable programmable?
Yes. Regular spreadsheet users have full A1 formula-style referencing at their disposal. Advanced users can make use of Sourcetable's SQL editor and GUI, or ask our AI to write code for you.




Sourcetable Logo

Ready to detect critical changes in your data?

Transform your statistical analysis workflow with advanced change point detection methods and AI-powered insights

Drop CSV