Learn R Programming

SPRT (version 1.0)

D.fn: D.fn internal function

Description

Return a component of the log-likelood ratio (LLR).

Usage

D.fn(distribution, h)

Arguments

distribution
a character string specifying the distribution. Must be one of "bernoulli" (default), "normal", "exponential" or "poisson".
h
an instance of either h0 or h1.

Details

This function is an internal function and need not be accessed directly.

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.