The R function „brw” is related to the article

Reiczigel J, Zakariás I, Rózsa L, A bootstrap test of stochastic equality of two populations,
The American Statistician, 59(2), 156-161 (2005).

The function performs a bootstrap test for

H0: P(X < Y) = P(X > Y)


H1: P(X < Y) ¹ P(X > Y)

based on two independent samples for X and Y, respectively. The function uses the library „boot” by Davison and Hinkley.


For further details see the readme file.

To download the function click here.


This analysis is also offered in the latest version of Quantitative Parasitology.