Circular-Circular Regression (Trigonometric Polynomial)
Circular-circular regression predicts the mean direction of one angle from another angle. The cosine and sine of the response are each modelled as a trigonometric polynomial of the predictor angle, and the predicted direction is the angle of the fitted pair.
원-원 회귀는 한 각도를 다른 각도로 설명하여 평균 방향을 예측합니다. 반응 각도의 코사인과 사인을 각각 설명 각도의 삼각다항식으로 모형화하고, 적합된 두 값이 이루는 각을 예측 방향으로 씁니다.
How does the direction of one angle depend on another angle, for example wind direction at two times or two sites?
두 시점이나 두 지점의 풍향처럼 한 각도의 방향이 다른 각도에 따라 어떻게 달라지는지 알고 싶습니다.
Both equations are fitted by least squares with a common set of cosine and sine terms. The polynomial order is chosen by testing whether higher harmonics add anything, a joint Wald test checks for any association, and the fitted mean-direction curve is drawn.
When to use Circular-Circular Regression (Trigonometric Polynomial)
- Both the response and the predictor are angles.
- The relation may wrap around or bend, which a single slope cannot describe.
- You want predicted mean directions with a test of association.
When to use something else
- The predictor is linear and the response an angle: use Circular Regression
- You only need the strength of association: use Circular-Circular Correlation
- The response is linear and the predictor an angle: use Circular-Linear Correlation
Assumptions and requirements
- Pairs are independent
- Residual covariance of the cosine and sine equations does not depend on the predictor
- The relation is smooth enough for a low-order polynomial
What the analysis reports
- Coefficients with standard errors for both equations
- Chosen order and the order-selection tests
- Joint Wald test of association
- R2 of each equation, pooled R2 and mean cosine of angular residuals
- Fitted mean-direction curve
How to report it
A circular-circular regression of [value] on [value] ([value] pairs) with trigonometric polynomials of order [value] gave a joint Wald test of association chi2([value]) = [value], p < .001; the mean cosine of the angular residuals was [value].
Related methods
- Circular Regression
- Circular-Circular Correlation
- Bivariate von Mises (Sine Model) Fit for Toroidal Data
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 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 Circular-Circular Regression (Trigonometric Polynomial) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- 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.