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

The default number of trials in rewire() should be proportional to the edge count #775

Closed
szhorvat opened this issue May 14, 2024 · 0 comments · Fixed by #787
Closed

The default number of trials in rewire() should be proportional to the edge count #775

szhorvat opened this issue May 14, 2024 · 0 comments · Fixed by #787

Comments

@szhorvat
Copy link
Member

The default number of edge switching trials in rewire() should be proportional to the edge count. Currently this is fixed at 1000.

This is important, since we're trying to lead inexperienced users on the right track.

It led to a major misunderstanding in this recent preprint, see footnote * in Table 2. I just emailed the authors.

As a start I suggest using 10 times the edge count until we get arguments for a better factor than 10. The preprint I linked mentions Milo et al recommending 100, but I wouldn't put much weight on that: it's very old and ultimately it's a response to a criticism of their original biased randomization method, not actually focusing on edge switching methods.

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

Successfully merging a pull request may close this issue.

1 participant