Skip to content

Defined in: packages/hypothesis-test/src/wilcoxon-signed-rank-test.ts:12

readonly optional alternative?: "two-sided" | "less" | "greater"

Defined in: packages/hypothesis-test/src/hypothesis-test-result.ts:17

Defaults to two-sided.

HypothesisTestAlternativeOptions.alternative


readonly optional method?: HypothesisTestMethodOption

Defined in: packages/hypothesis-test/src/wilcoxon-signed-rank-test.ts:17

Defaults to auto: exact without zero or tied differences up to 50 differences, else asymptotic. SciPy’s auto runs a permutation test for tied or zero differences up to 13 values; this function uses asymptotic.


readonly optional continuityCorrection?: boolean

Defined in: packages/hypothesis-test/src/wilcoxon-signed-rank-test.ts:19

Move the normal approximation half a rank toward the mean. Defaults to false, as in SciPy.