Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ties detected in circ_median (line 58) #10

Open
russgport opened this issue Nov 27, 2017 · 0 comments
Open

Ties detected in circ_median (line 58) #10

russgport opened this issue Nov 27, 2017 · 0 comments

Comments

@russgport
Copy link

I have a quick question about a warning that appears when using your CircStat toolbox. In short, sometimes (though somewhat frequently) when I use the median function (or related functions - i.e. testing group differences based on median values), I get a warning:

"Warning: Ties detected.

In circ_median (line 58)
In phase_differece_thresholded_by_significant_and_cir_test (line 62)"

From what I can tell, the error arises because there are two entries (at least) which have the minimum value for the difference of phases. Then the code goes on to subsequently compute a mean value of the beta angles that had the same minimum value for the differences of phases. As such, since the mean is taken after the tie is found, does this mean I can acknowledge the warning, but still proceed with the outputted value, or should I discard the resulting values because of the warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant