Skip to content

Methods · Time series · Time series representation

Symbolic Aggregate Approximation (SAX)

Symbolic aggregate approximation turns a numeric time series into a short word. The series is standardised, averaged over a fixed number of equal segments, and each segment mean is replaced by a letter according to cut points that make every letter equally likely under a normal distribution. The words can be compared with a distance that never exceeds the true Euclidean distance, which makes searching, clustering and motif finding fast.

기호 집계 근사(SAX)는 수치 시계열을 짧은 단어로 바꿉니다. 시계열을 표준화한 뒤 같은 길이의 구간 몇 개로 평균을 내고, 정규분포에서 각 글자가 같은 확률을 갖도록 정한 절단점에 따라 구간 평균을 글자로 바꿉니다. 단어끼리는 실제 유클리드 거리를 넘지 않는 거리로 비교할 수 있어 검색, 군집, 모티프 탐색이 빨라집니다.

What is a compact symbolic summary of the shape of these series, and which series or windows look alike?

이 시계열들의 모양을 간결한 기호로 요약하면 어떻게 되며, 어떤 시계열이나 구간이 서로 비슷합니까?

The method returns the SAX word of each series or sliding window, the segment means and cut points, word frequencies, and for several series the pairwise MINDIST with the Euclidean distance it bounds.

When to use Symbolic Aggregate Approximation (SAX)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

SAX with [value] segments and an alphabet of [value] letters coded [value] series into [value] distinct words; MINDIST reached on average [value]% of the Euclidean distance.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with NumPy, SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.

    독립 계산. NumPy·SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).

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 Symbolic Aggregate Approximation (SAX) on Quorant

Data you need
a table (CSV or Excel) with a time variable and an outcome variable
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 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 Q53160 · Reviewed 2026-10-25