boundary.fn: boundary.fn internal function

Description Usage Arguments Details Author(s) References See Also

Description

Return a numerical 2x2 matrix with the slope and intercept of H0 and H1 acceptance regions under the null and alternative hypotheses.

Usage

1
boundary.fn(distribution = "bernoulli", type1 = 0.05, type2 = 0.2, h0, h1)

Arguments

distribution

a character string specifying the distribution. Must be one of "bernoulli" (default), "normal", "exponential" or "poisson".

type1

the type I error. A number between 0 and 1.

type2

the type II error. A number between 0 and 1.

h0

the expected value of the random variable under the null hypothesis.

h1

the expected value of the random variable under the alternative hypothesis.

Details

This function is an internal function and need not be accessed directly. Its output is available directly from SPRT under the k.boundaries name.

Author(s)

Stephane Mikael Bottine

References

Ghosh, B.K. and Sen, P.K. (1991). Handbook of Sequential Analysis, Marcel Dekker, New York. Wald, A. (1947). Sequential Analysis, Dover, New York.

See Also

SPRT


SPRT documentation built on May 2, 2019, 6:35 a.m.