Rank: 464 based on 304 downloads (last 30 days) and 2 files submitted
photo

Philipp Berens

E-mail
Company/University
MPI for Biological Cybernetics

Personal Profile:

http://www.kyb.mpg.de/~berens


 

Watch this Author's files

 

Files Posted by Philipp Berens View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
08 Jun 2012 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens statistics, probability, circular statistic, rayleigh, angular, circular 278 86
  • 4.42857
4.4 | 39 ratings
09 Jul 2008 Sampling from multivariate correlated binary and poisson random variables These Matlab functions can be used to generate multivariate correlated binary variables, and correl Author: Philipp Berens 26 4
  • 4.0
4.0 | 2 ratings
Comments and Ratings by Philipp Berens View all
Updated File Comments Rating
18 Sep 2012 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Ryan, the average is in the dot product w'*exp(...) which in the simplest case is a vector of ones - so this is the sum operation. exp(i*angle) decomposes the angle into its sine and cosine components. Finally, angle is atan2. Compare the results of your and my code - they should be identical with my code likely running a bit fast due to matrix style computations.

Bst
Philipp

18 Jul 2012 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Hi Francesco, if you have orientations, multiply all orientations by 2 to obtain directions. If you want to obtain the mean resultant vector, devide its orientation by 2 again.

24 Apr 2012 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Thanks for the recent feedback and bugreports. I was away for a while and will start taking care of them soon.

28 Sep 2011 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Thanks for the comments.

@Christopher: The ~ has been introduced as a placeholder in the latest MATLAB versions for output arguments that are not needed. I will go back to some dummy variable with the next upload.

@Heida: I don't see an easy way of doing what you suggest with the functions implemented.

@Omzaz: The multi-sample tests assume independent samples. I don't know about repeated-measures ANOVA etc. for circular data. If you find anything let me know.

The option to ignore NaNs... I think this is a tricky thing, because you always make a specific choice how NaNs are treated and each user might have different preferences. I will think about it though.

15 Dec 2010 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

Hi Christopher, thanks for your feedback. I will update circ_plot with the next upload.

Comments and Ratings on Philipp Berens' Files View all
Updated File Comment by Comments Rating
04 Nov 2014 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens Dave

This is a great toolbox. However, I have an issue with circ_corrcl, or perhaps I'm misunderstanding its proper use. When I feed it perfectly correlated data, I do not get rho=1:

circ_corrcl(linspace(-pi,pi,1000),linspace(0,10,1000))
ans = .7785

I noticed this while trying to see if I could get a sign for the rho value (which is always positive by the definition in the function). Unfortunately, I don't have a copy of the Zar text available.

07 Oct 2014 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens W. Owen Brimijoin

indispensable

22 Sep 2014 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens Ch. Lat.

you meant "circ_rtest Rayleigh's test for nonuniformity " this is not what you look for ?

22 Sep 2014 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens Ch. Lat.

@ Wasim Malik. I believe the toolbox fieldtrip has it, but their implementation is a bit more bothersome.

01 Jun 2014 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens Wasim Malik

On a quick look, the Moore-Rayleigh test for uniformity of vector data (B.R. Moore, Biometrika, 1980) does not seem to be available in this toolbox. Philipp, do you have any plans to implement it? Alternatively, does anyone know if a Matlab implementation of that test is available elsewhere? Thanks.

Contact us