S.test: S test of Berger (1996)

Description Usage Arguments Value Author(s) References Examples

View source: R/S.test.R

Description

S.test conducts the S test proposed in Berger (1996)

Usage

1
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.

Author(s)

Kai Wang <kai-wang@uiowa.edu>

References

Berger, R.L. (1997) Likelihood ratio tests and intersection-union tests. Advances in statistical decision theory and applications. Birkh\"auser Boston, 225-237.

Examples

1
S.test(0.1, 0.4, 0.05)

iMediate documentation built on May 2, 2019, 4:32 a.m.