Skip to content

Methods · Probability & information theory · Information theory

Compression-Based Complexity Estimation

Compression-based complexity estimates how much new information a sequence contains by how well it can be described compactly. Lempel-Ziv complexity counts the distinct patterns needed to build the sequence from left to right, and a general-purpose compressor gives a practical upper bound on the bits per symbol; both are computable stand-ins for the uncomputable Kolmogorov complexity.

압축 기반 복잡도는 수열을 얼마나 짧게 기술할 수 있는지로 그 수열에 담긴 새로운 정보의 양을 추정합니다. 렘펠-지브 복잡도는 수열을 왼쪽부터 만들어 가는 데 필요한 서로 다른 패턴의 수를 세고, 범용 압축기는 기호 하나당 비트 수의 실용적인 상한을 줍니다. 둘 다 계산할 수 없는 콜모고로프 복잡도를 대신하는 계산 가능한 척도입니다.

Is this sequence of states or readings more regular than a random arrangement of the same values, and how many bits of new information does each step carry?

이 상태나 측정값의 수열은 같은 값을 무작위로 섞은 것보다 규칙적일까요? 한 단계마다 새 정보가 몇 비트씩 담겨 있을까요?

The sequence is turned into symbols (as is, or by median or quantile binning). Its Lempel-Ziv (1976) complexity, the normalised complexity, the Lempel-Ziv entropy-rate estimate and the size after zlib, bz2 or lzma compression are computed and compared with random shuffles that keep the symbol frequencies but destroy the order.

When to use Compression-Based Complexity Estimation

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The sequence of [value] symbols had Lempel-Ziv complexity c = [value] (normalised [value]; entropy-rate estimate [value] bits per symbol) and compressed to [value] bits per symbol with zlib; compared with [value] random shuffles, p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Compression-Based Complexity Estimation on Quorant

Data you need
a table (CSV or Excel) with an outcome variable
Price
400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q19009 · Reviewed 2026-10-25