Rank: 384884 based on 0 downloads (last 30 days) and 0 file submitted
photo

Fuh-Cherng

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Fuh-Cherng View all
Updated File Comments Rating
11 Nov 2011 Circular Statistics Toolbox (Directional Statistics) Compute descriptive and inferential statistics for circular or directional data. Author: Philipp Berens

@Christopher: Thank you so much for your kindness and help. I really appreciate it.

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

I am new in circular statistics, so don't laugh at me... But I do have a question about the circ_median() function.

Say I have a data set that contains six angles [0.1 0.2 0.3 0.4 0.5 0.6]. when I feed these data into circ_median(), the function returns a median = 0.4

I thought that, when a data set contains an even number of observations, the median would be calculated as the average of the middle two numbers (i.e., (0.3+0.4)/2 = 0.35).

My code is listed below.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
alpha = [0.1 0.2 0.3 0.4 0.5 0.6]';
med = circ_median(alpha)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Can anyone help me with this?

Sincerely,
Fuh

Contact us