-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
enhancementNew feature or requestNew feature or requestneeds triageIssue requires triageIssue requires triage
Description
Describe the workflow you want to enable
Avoid p-values to be zero be adding an additional argument to PermutationTestDistanceBased callback.
Describe your proposed solution
Add a boolean argument named conservative to PermutationTestDistanceBased callback. If true, p-values are computed using (b+1)/(m+1) formula which avoids zero value , otherwise p-values are computed using current formula b/m that can produce zero values.
Describe alternatives you've considered, if relevant
Another more advanced option would be to use equation (2) from Permutation P-values Should Never Be Zero:
Calculating Exact P-values When Permutations Are Randomly Drawn.
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds triageIssue requires triageIssue requires triage