pierremegevand/watsons_u2
The 2 functions provided perform a nonparametric permutation test based on Watson's U2 statistic for 2-sample testing of circular data (angles).
Watsons_U2 computes Watson's U2 statistic for 2 samples of circular data. The code is derived from the equations of Zar JH, Biostatistical Analysis, 4th ed. (1999) and has been verified against the numerical examples provided therein.
Watsons_U2_perm_test computes the probability that, according to the null hypothesis, 2 samples of circular data come from the same population, or from 2 populations that have the same direction. The p values thus obtained have also been verified against the numerical examples provided in Zar (1999).
As an alternative to the permutation test, significance tables for critical values of Watson's U2 have been published (e.g. in Zar, 1999).
Please do not hesitate to contact me for any suggestion or to report a problem about this function.
인용 양식
Pierre Mégevand (2024). pierremegevand/watsons_u2 (https://github.com/pierremegevand/watsons_u2), GitHub. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- AI and Statistics > Statistics and Machine Learning Toolbox > Hypothesis Tests >
- Sciences > Biological and Health Sciences > Biostatistics >
태그
도움
도움 받은 파일: Circular Statistics Toolbox (Directional Statistics)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!