Description Usage Arguments Details Value Author(s) References Examples

View source: R/sampleSizeWilcoxTwoSample.R

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

[email protected]

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

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.