poissonLF1

fun poissonLF1(x: Double, mean: Double, recursive: Boolean = true): Double

Computes the first order loss function for the distribution function for given value of x, G1(x) = Emax(X-x,0)

Return

The loss function value, Emax(X-x,0)

Parameters

x

The value to be evaluated

mean

of the distribution

recursive

true indicates that the recursive logarithmic algorithm should be used