Mardia's Circular Rank Correlation
Mardia's circular rank correlation measures association between two angles using only their ranks around the circle. The ranks are turned into equally spaced uniform scores, and the coefficient shows how closely one angle follows the other by a constant rotation (positive association) or by a reflection (negative association).
마디아 원형 순위상관은 두 각도 변수의 연관을 원 둘레의 순위만으로 측정합니다. 순위를 같은 간격의 균일 점수로 바꾼 뒤, 한 각도가 다른 각도를 일정한 회전으로 따라가는지(양의 연관) 또는 반사로 따라가는지(음의 연관)를 나타냅니다.
Two angular variables, such as the wind direction on two days, seem related, but both have odd distributions and outliers; is there an association that does not depend on their shapes?
두 날의 풍향처럼 두 각도 변수가 관련 있어 보이지만 둘 다 분포가 특이하고 이상값이 있습니다. 분포 모양에 좌우되지 않는 연관이 있는지 알고 싶습니다.
Uniform scores are computed for both angles, and r+ and r- measure positive and negative rotational association; the larger of the two is Mardia's coefficient. A permutation test gives the main p-value, and a large-sample p-value from the exponential limit is shown with it.
When to use Mardia's Circular Rank Correlation
- You want to correlate two circular variables without assuming von Mises or other distributions.
- The data contain outliers or clusters that would distort a moment-based circular correlation.
- You want to know whether the association is a rotation or a reflection.
When to use something else
- Both angles are roughly von Mises and you want a parametric coefficient: use Circular-Circular Correlation
- One variable is linear rather than circular: use Circular-Linear Correlation
- You want to predict one angle from the other: use Circular Regression
Assumptions and requirements
- Pairs of angles are independent of other pairs
- Ties are handled by average ranks; many ties weaken the asymptotic p-value
What the analysis reports
- r+ and r- and Mardia's coefficient r_M with the direction of association
- Permutation p-value and asymptotic p-value
- Scatter plot of the uniform scores
How to report it
Mardia's circular rank correlation between [value] and [value] (n = [value]) was r_M = [value] (positive association), permutation p = [value].
Related methods
- Circular-Circular Correlation
- Circular-Linear Correlation
- Circular Regression
- Test of Uniformity on the Torus
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Mardia's Circular Rank Correlation on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- 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.