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

circ_otest #9

Open
AoibhinnR opened this issue Apr 11, 2017 · 0 comments
Open

circ_otest #9

AoibhinnR opened this issue Apr 11, 2017 · 0 comments

Comments

@AoibhinnR
Copy link

I am experiencing difficulties with the circ_otest function from the MATLAB toolbox CircStat.
When I plot my data in rose plots (using circ_plot), some distributions are clearly not uniformly distributed, yet the p-values returned indicate otherwise. In some cases I even receive negative p-values.

The data sets I am using are vectors with elements valued between 0 and 2pi. Is this kind of data compatible with circ_otest?

I have received negative p-values for data sets of varying lengths, from a couple hundred to 3000 elements.
An example of a data set that returned a negative p-value is a 1x130 vector containing:
6.01451654768891
4.32403712099260
5.21684837515172
4.18070819501972
5.03670475395513
5.31324003434995
3.94030265026515
1.82488379464338
3.73334747195356
1.47279329066251
3.94874492084448
2.37507150358792
4.29377574608655
2.81218293845612
2.32287456810880
2.65738387762363
4.48403532935285
1.12588869666223
0.926206599066319
2.40313063541529
3.99091337667184
5.41131042292540
4.49678948455011
1.95904975851212
4.45157751480363
3.34575660941502
0.526499599839838
6.12110830011562
3.92184254060663
1.69617461894012
3.93113175633738
1.94783856959759
3.68606721438283
3.10085153848559
5.21033594276923
2.12629648474751
5.68551646088690
3.94525589055462
0.607266621183555
5.63099183692555
2.87335247043234
1.45754141922038
0.980314495919515
2.68372705761203
3.09033123499978
0.0750842350667540
3.55284948656919
4.46751198647365
1.12285060622600
3.89609523706065
3.36728178100282
0.0806915921298241
0.826375458878943
3.56664088580288
6.13839389318758
1.33371542013185
5.72890559881921
0.158721580059478
2.85698844106946
4.83827161284569
0.582398638098653
4.61883057847524
4.97061752226273
3.49730105109427
1.41024754968538
5.02138486798737
5.38558740615395
3.66466939651053
3.83841207675448
4.81214115722014
6.14149605841737
4.35200963374200
1.52028067156880
2.93953003268518
1.76546766644037
1.51339180986884
5.99094413010153
6.05127006002465
4.50097934450639
3.80192741517237
2.48868405891653
0.215341461403796
3.16312679973021
4.08670240086167
3.01592894744613
3.44117752004024
5.15771783591924
0.616986132368311
2.70088827332665
2.13486650533810
1.49211079651013
0.909901090372159
4.71426120485046
3.30018266735272
4.52987193234890
3.33591797236863
6.27920608912575
4.14068572363613
4.02050870091534
1.94335699404758
2.85496475242201
0.949022780771998
2.32587253233214
1.73763441360882
1.34459444611480
3.02561637756151
5.04496800723041
0.777743210537892
2.10406898277370
1.07897458033654
2.74756238856321
0.643234104147268
1.76643082925807
0.647622667935139
1.51702823736900
3.33362154439601
0.442310970712924
3.05131700262450
1.19314842941230
2.76212037022947
1.57488339442762
4.74329910488336
4.57985304031126
2.58682728420581
5.66167781744503
3.72296470851120
2.22314276415568
2.81276250466340
5.01968762484398
1.51289246219926

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