Shifted Loss Function Distribution
class ShiftedLossFunctionDistribution(theLossDistribution: LossFunctionDistributionIfc, theShift: Double) : ShiftedDistribution, LossFunctionDistributionIfc, ThirdOrderLossFunctionIfc(source)
Author
rossetti
Parameters
the Loss Distribution
the distribution to shift
the Shift
the shift
Functions
Link copied to clipboard
Computes the first order loss function for the function for given value of x, G1(x) = Emax(X-x,0)
Link copied to clipboard
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.
Link copied to clipboard
The third order loss function of the shifted distribution.