pierremegevand/wats​ons_u2

版本 1.2.0.0 (4.0 KB) 作者: Pierre Mégevand
Performs a permutation test based on Watson's U2 statistic for 2-sample testing of circular data.
1.0K 次下载
更新时间 2024/4/15

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 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.2.0.0

Moved source code to GitHub.

1.1.0.0

The functions that compute Watson's U2 statistic and the nonparametric permutation test using that statistic have been merged.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库