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

Permutation max = 0 at stringent t-thresholds #122

Open
victoris93 opened this issue Jul 5, 2023 · 0 comments
Open

Permutation max = 0 at stringent t-thresholds #122

victoris93 opened this issue Jul 5, 2023 · 0 comments

Comments

@victoris93
Copy link
Contributor

In nbs_bct permutation max appears to always return 0 with the following args:
pvals, adj, null_dist = nbs_bct(scz, controls, thresh=20, tail='both', k = 100, verbose = True, seed = None)
The output is the following:

max component size is 8404
estimating null distribution with 100 permutations
permutation 1 of 100.  Permutation max is 0.0.  Observed max is 8404.0.  P-val estimate is 0.000
permutation 2 of 100.  Permutation max is 0.0.  Observed max is 8404.0.  P-val estimate is 0.000
permutation 3 of 100.  Permutation max is 0.0.  Observed max is 8404.0.  P-val estimate is 0.000

Is the behaviour expected? The connectivity matrix is 1000x1000 (Schaefer 2018).

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

No branches or pull requests

2 participants