Test of Uniformity on the Torus
When each observation is a pair of angles, such as two dihedral angles of a protein or a wind direction and a time of day, the data lie on a torus. The test of uniformity on the torus checks whether the pairs are spread evenly, which requires both angles to be uniform and independent of each other.
관측마다 단백질의 두 이면각이나 풍향과 시각처럼 각도 두 개가 짝으로 있으면 자료는 원환면(토러스) 위에 놓입니다. 원환면 균일성 검정은 이 쌍들이 고르게 퍼져 있는지 확인하며, 이는 두 각도가 각각 균일하고 서로 독립이라는 뜻입니다.
For pairs of angles, is there any structure at all, either in each angle separately or in how the two angles go together?
각도 쌍 자료에 각 각도 자체에서든 두 각도가 함께 움직이는 방식에서든 어떤 구조가 있는지 알고 싶습니다.
Rayleigh-type components are computed for joint frequencies of the two angles up to a chosen maximum and added into an overall chi-square statistic, with a Monte Carlo p-value as a check. The statistic is split into the part due to each angle alone and the part due to their dependence, so you can see where the departure from uniformity comes from.
When to use Test of Uniformity on the Torus
- Each observation consists of two angles and you want to know whether they show any pattern.
- You want to separate non-uniform margins from dependence between the two angles.
- You need a quick screen before fitting a bivariate circular model.
When to use something else
- You want to measure the strength of association between the two angles: use Circular-Circular Correlation
- You have a single angle per observation: use Hermans-Rasson Test of Circular Uniformity
- One variable is linear: use Circular-Linear Correlation
Assumptions and requirements
- Pairs are independent
- Frequencies above the chosen maximum are not examined
What the analysis reports
- Overall statistic with df, chi-square p and Monte Carlo p
- Marginal parts for each angle and the dependence part with their p-values
- Statistic for each frequency pair
- Bar chart of the largest components
How to report it
The test of uniformity on the torus for [value] pairs (frequencies up to [value]) gave T = [value], chi2([value]), p = [value]; the dependence part was chi2([value]) = [value], p = [value].
Related methods
- Circular-Circular Correlation
- Mardia's Circular Rank Correlation
- Hermans-Rasson Test of Circular Uniformity
- Rayleigh Test of Uniformity
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 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 Test of Uniformity on the Torus on Quorant
- Data you need
- a table (CSV or Excel) with 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.