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

[Bug]: Bootstrapping on Classic Network Anaysis Fails on Windows #2863

Open
3 tasks done
sitnok67155 opened this issue Aug 5, 2024 · 3 comments
Open
3 tasks done
Assignees
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Module: jaspNetwork

Comments

@sitnok67155
Copy link

JASP Version

0.19.0

Commit ID

No response

JASP Module

Network

What analysis are you seeing the problem on?

Classic Network Analysis

What OS are you seeing the problem on?

Windows 11

Bug Description

When attempting to use boostrapping (at any type and at any number of bootstraps), I receive this error:

image

Another person ran into this problem and reported it on May 6th but I do not believe it has been resolved.

Expected Behaviour

The network should have been bootstrapped

Steps to Reproduce

1.classical network analysis
2. added the variables
3. ticked all plots and tables
4. ticked boostrap network, tried 10/100/1000 number of bootstraps, and tried nonparametric and case bootstrap types.
...

Real Final Data.csv

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@tomtomme
Copy link
Member

tomtomme commented Sep 6, 2024

confirmed with 0.19 flatpak and also 10000 bootstraps and also with a subset of the variables.
was also present in 0.18.3 according to #2704

Parametric bootstraps etc. works.
Only nonparametric and case type are affected with this data set.
Data from our library works with every option.

jasp file:
Real.Final.Data.jasp.zip

@tomtomme
Copy link
Member

tomtomme commented Sep 19, 2024

We now have multiple reports since JASP 0.16.4 with this error over multiple datasets on win10, win11, MacOS Silicon and flatpak, all confirmed.
#2917
#2863 (this one)
#2704 (2 independent reports)
#2453
#2088
#2063
#1902

The last contained a fix that should display a better error message, but it might have added it only for the correlation matrix error not for this non-parametric bootstrap related error... which seem very similar to me at least :D

@vandenman, you wrote in #2088:

Thanks for reporting the issue! What goes wrong internally is that the correlation matrix for the second group (Who 5 days == 2) is not positive definite. If you change the correlation method to Cor or the method for Missing values to Exclude listwise then the error disappears and you do get output. I'll adjust the code so you receive a more informative error message in the future.

And this was the pull that tried to fix it:
jasp-stats/jaspNetwork#86

@tomtomme tomtomme added Bug: Critical Bugs that are breaking functionality, and must be fixed. and removed Bug: Medium Bugs that don't influence the basic function of the app, but it's better to fix them at some point. labels Sep 19, 2024
@tomtomme tomtomme added Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. and removed Bug: Critical Bugs that are breaking functionality, and must be fixed. labels Dec 5, 2024
@tomtomme
Copy link
Member

We seem to have another user affected by this bug here:
#3125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Module: jaspNetwork
Projects
None yet
Development

No branches or pull requests

3 participants