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

Kernel issue #17

Open
AylenM opened this issue May 7, 2023 · 1 comment
Open

Kernel issue #17

AylenM opened this issue May 7, 2023 · 1 comment

Comments

@AylenM
Copy link

AylenM commented May 7, 2023

Hi!
I'm trying NMDS scores in rKIN (following a paper idea) and I have found 95% and 75% kernel levels area in group B (not the other one) being exactly the same:
-Method Group ConfInt ShapeArea
1 Kernel A 50 0.02000903
2 Kernel A 75 0.05167157
3 Kernel A 95 0.07948332
11 Kernel B 50 0.00819259
21 Kernel B 75 0.03357224
31 Kernel B 95 0.03357224
(Also, Why do the rows always have this numbering?)

Trying ellipses method resulted ok:
Method Group ConfInt ShapeArea
1 Ellipse A 50 0.01877666
2 Ellipse A 75 0.03755332
3 Ellipse A 95 0.08115138
4 Ellipse B 50 0.01742192
5 Ellipse B 75 0.03484385
6 Ellipse B 95 0.07529630

For my understanding, my kernel results are incorrect and maybe the NMDS scores (with a lot of negative and near-to-zero values) are affecting the model performance.

Any help/suggestion/advice will be welcome!
Thank you in advance!

@salbeke
Copy link
Owner

salbeke commented May 11, 2023

Hi Aylen, I don't think the function is broken, but probably more of a response to your small sample sizes (if I am recalling correctly). In reality for a 2D Kernel, we would have a minimum of 19 samples, but I believe you are well below that number. Thus there may just not be enough samples to provide a measurable difference between the two confidence intervals. Tough to tell without actually having your data though.

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

2 participants