Detection Pipeline

Data processing pipeline

Data Ingestion

Price and volume series are loaded at daily or higher frequency. We require complete histories without interpolated gaps. Each series is tagged with asset class, region, and market structure metadata for later stratification.

Loop Detection

The structural model is fit to each series. Parameters are recovered by simulated method of moments. We then search the parameter space for configurations that produce explosive price paths from small initial shocks.

Time series analysis screen

Model Calibration

How parameters are recovered from observed price paths

The model contains parameters governing trader behavior, feedback strength, and noise intensity. These are not set by assumption. They are estimated by generating thousands of simulated paths and adjusting parameters until simulated moments match observed moments. The estimation is repeated on rolling windows to detect parameter drift. Standard errors are computed by block bootstrap.
Read more

Validation Protocol

Lock the model

Before testing, all parameters and thresholds are frozen. No adjustments are permitted after seeing the test data. This prevents data snooping and overfitting.

Run the test

The locked model is applied to a holdout period that was excluded from estimation. Every alert generated during this period is recorded with timestamp and confidence score.

Locked model document

Score outcomes

Alerts are compared against subsequent price paths. A true positive requires the alert to precede a sustained deviation by at least one month. False positives are alerts without subsequent deviation.

Validation report screen
Request the full validation report for any model version. We provide estimation windows, parameter tables, and out-of-sample test results.

Detection Steps

Bubble detection is not a single test. It is a sequence of operations that moves from raw data to actionable alerts. Each step has explicit criteria for success and failure.

What analysts learn

  • State space representation: Prices and beliefs are represented as vectors evolving through time. This formalism lets us apply tools from dynamical systems theory to financial markets.
  • Moment matching estimation: Parameters are chosen to minimize the distance between simulated and observed statistical moments. This avoids strong assumptions about error distributions.
  • Explosiveness testing: We test whether the estimated system can produce explosive paths from bounded shocks. This is the mathematical signature of a feedback loop capable of generating bubbles.
  • Regime probability filtering: Raw scores are filtered through historical distributions to produce calibrated probabilities. An uncalibrated score is worse than useless because it invites false confidence.

Learning goals

Analysts who complete the pipeline review understand how to prepare data for structural estimation, interpret parameter estimates, distinguish explosive from stable dynamics, and calibrate alerts against historical baselines. They also learn to document each step so that results can be replicated by independent reviewers. Replication is not optional. It is the standard by which we judge whether a detection claim is credible.

What makes this rigorous

Every parameter is estimated, not assumed. Every threshold is set before testing, not after. Every alert is logged with version and timestamp. We do not claim to eliminate false positives. We claim to measure and report them honestly.

What the Detection Pipeline Delivers

Reproducible alert generation

Every alert can be traced back to a specific model version, parameter set, and data window. There are no black boxes. Analysts can regenerate any historical alert from published inputs.

Cycle-aware timing estimates

Alerts include an estimate of where in the feedback loop cycle the market currently sits. Early-cycle and late-cycle alerts warrant different responses from risk teams.

Pipeline Components

Six functional modules that transform raw price data into structured alerts. Each module has defined inputs, outputs, and failure criteria. The pipeline halts if any module fails its quality check.

Data quality engine

Checks for missing observations, suspicious jumps, and structural breaks. Flags problematic series before they enter estimation.

Parameter estimator

Recovers model parameters by matching simulated and observed moments. Reports convergence diagnostics and standard errors.

Loop scanner

Searches the estimated parameter space for explosive configurations. Computes the probability of feedback-driven dynamics.

Score calibrator

Normalizes raw scores against historical distributions within asset classes. Produces calibrated regime probabilities.

Alert generator

Issues alerts when calibrated scores exceed thresholds. Includes confidence intervals, cycle maturity, and dominant channel.

Report compiler

Assembles validation records, parameter tables, and test results into a single document for independent review.

Algorithm code screen

Code Access

Model implementations are available for independent review and modification

We publish core estimation routines in documented code. Users can replicate our published results, modify assumptions, and test alternative specifications. The code is not a product. It is a transparency mechanism.

Contact us