Skip to content

Methods · Hypothesis testing · Randomness tests

Bartels Rank Test of Randomness

The Bartels test is the rank version of the von Neumann ratio: the series is replaced by its ranks and the sum of squared differences between successive ranks is divided by the total squared deviation of the ranks. Under randomness the ratio has mean 2; small values point to a trend or positive serial dependence, large values to regular alternation.

바텔스 검정은 폰 노이만 비의 순위판입니다. 계열을 순위로 바꾸고 이웃한 순위 차이의 제곱합을 순위 편차 제곱합으로 나눕니다. 무작위이면 평균이 2이고, 작으면 추세나 양의 자기상관, 크면 규칙적인 교대를 뜻합니다.

Is the order of these observations random, or do they show a trend or serial dependence?

이 관측들의 순서가 무작위인가요, 아니면 추세나 자기상관이 있나요?

The method reports the rank von Neumann ratio, its z score, p-values from the normal and beta approximations and, for short series, the exact permutation p-value.

When to use Bartels Rank Test of Randomness

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A Bartels rank test indicated non-randomness, RVN = [value], z = [value], p = [value].

Related methods

How this method is validated

이 방법의 검증 근거

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

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 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 Bartels Rank Test of Randomness on Quorant

Data you need
a table (CSV or Excel) with 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 Q11177 · Reviewed 2026-10-25