circStat - Toolbox for Statistics on Circular Data

These matlab toolbox contains some functions to compute circular statistics. These must be used in the case of circular data, where normal statistical tests and measures fail. One important application is circular correlation analysis. In neuroscience this could be for example the correlation between two angluar tuning functions.

For references on the topic see:
Statistical analysis of circular data, N.I. Fisher
Topics in circular statistics, S.R. Jammalamadaka et al.

Contents:

circMean - circular mean direction
circVar - circular variance, measure of dispersion
circResLength - resulting vector length, measure of concentration
circTestR - rayleigh's test for nonuniformity
circCorr - correlation coefficient between circular data
rad2ang - converts radians to angles
ang2rad - converts angles to radians

All funtions take arguments in radians (all but ang2rad, that is).

Note that this toolbox is far from complete. But hopefully some may find these bits of code useful. The implementation was inspired by the implementation of the R package circStats .

If you want to use the code for your scientific publication, feel free to do so. Note first that I do not take any liability for possible bugs still contained in my code (although I am pretty sure of it) or errors you may produce while applying it. If you could refer to this homepage, this would be nice.

[download]

email - homepage
distributed under GPL with no liability
http://www.gnu.org/copyleft/gpl.html

Philipp Berens - 3/21/2006 11:42AM

Impressum