Skip to main content
edited title
Link
Stephan Kolassa
  • 130.8k
  • 22
  • 264
  • 497

Uniformity test on Detecting relationships between two sets of circular data with unequal variance

Source Link
DankMasterDan
  • 1.5k
  • 1
  • 13
  • 26

Uniformity test on data with unequal variance

I have a set of points $(x_i,y_i)$ where each x & y value is circular & can take on a value from -pi to pi. (The topology of the data is a torus, but I am not sure how relevant that is to the question). An example dataset is shown below:

dataset

My goal is to see if there is a significant relationship between x & y. My issue is that the data is sparse, any relationship would be nonlinear (my hypothesis is that it would show some kind of peak), and the data is non evenly sampled over x.

My first approach has been to bin the x data into segments, calculate the mean y value in each segment, and then run a test of uniformity on whether the average y-values are uniform or not, as can be seen below:

1st approach

However, my issue is that due to uneven sampling, some of those average y-values have a very low variance, while others have a high variance, thus leading to noise. The uniformity tests I am using (KS & Kuiper) will be deceived by that & may give artificially small P-values.

Any ideas on how to do this better?

Thanks Roman