Regression and Correlation of Wind Direction (circular) Data

조회 수: 14 (최근 30일)
Federico
Federico 2015년 3월 13일
댓글: Adam Danz 2019년 10월 15일
Kind all,
I'm currently facing a problem which I thought simpler in the beginning. Basically I have outputs of wind direction from a model and observed wind direction from my sensors (both are in degrees from 0 to 359). What I would like to do is the equivalent of linear regression and correlation coefficient computation that it's used when comparing linear data.
What I would accomplish with a simple usage of polyfit and polyval cannot be done on circular data (in case of wind direction 0 is actually closer to 359 than to 20) and the r2 values obtained with the regular expression 1-(sum of squares of the residues / total sum of squares) are completely off.
Is there any MATLAB function for working on circular-circular correlation and regression?
I am already aware of the Circular Statistics Toolbox, but while it gives some way of computing correlations there's nothing for regression.
Thanks!
  댓글 수: 4
Adam Danz
Adam Danz 2019년 10월 15일
circ_corrcc() from the circular statistics toolbox computes the circular correlation coeficient between two circular data.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by