llr.fn: LLR internal function

Description Usage Arguments Details Author(s) References See Also

Description

The log-likelihood ratio can be expressed as a function of k and n. This internal function returns a numeric vector with the coefficients of k and n.

Usage

1

Arguments

distribution

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

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 llr.coefficients 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.