S.test conducts the S test proposed in Berger (1996)
Usage
S.test(u1, u2, alpha)
Arguments
u1
a numerical value between 0 and 1.
u2
a numerical value between 0 and 1.
alpha
a numerical variable specifying the significance level for the
test.
Value
If (u1, u2) falls in the rejection region of the S test, a 1 is
returned; otherwise a 0 is returned.
References
Berger, R.L. (1997) Likelihood ratio tests and
intersection-union tests. Advances in statistical decision theory and
applications. Birkh\"auser Boston, 225-237.