Compute sample size to test the hypothesis that two samples come from
the same population against that *Y*'s tend to be larger than *X*'s.

1 2 | ```
sampleSizeWilcoxTwoSample(a = 0.05, b = 0.2, c = 0.5,
pxy = 0.75, two.sided = TRUE)
``` |

`a` |
Significance level of test. |

`b` |
Desired power of test. |

`c` |
Proportion of observations in group 1: |

`pxy` |
A value for the probability |

`two.sided` |
If |

Given two independent samples *X_1, ..., X_m* and *Y_1, ..., Y_n*,
we want to test the hypothesis that the two samples come from the same population against that
*Y*'s tend to be larger than *X*'s.

`m` |
Sample size of the first group. |

`n` |
Sample size of the second group. |

Kaspar Rufibach

kaspar.rufibach@gmail.com

Nother, G.E. (1987).
Sample Size Determination for Some Common Nonparametric Tests
*JASA*, **82**, 644–647.

1 2 3 4 5 6 7 8 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.