secondOrderLossFunction

Computes the 2nd order loss function for the distribution function for a given value of x: (1/2)Emax(X-x,0)*max(X-x-1,0) when X is discrete, (1/2)Emax(X-x,0)^2 when X is continuous.

Return

The 2nd order loss function value at x

Parameters

x

The value to be evaluated