ShiftedLossFunctionDistribution

Author

rossetti

Parameters

theLossDistribution

the distribution to shift

theShift

the shift

Constructors

Link copied to clipboard
constructor(theLossDistribution: LossFunctionDistributionIfc, theShift: Double)

Functions

Link copied to clipboard
open override fun firstOrderLossFunction(x: Double): Double

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

Link copied to clipboard
open override fun secondOrderLossFunction(x: Double): Double

Computes the 2nd order loss function for the distribution function for given value of x, G2(x) = (1/2)Emax(X-x,0)*max(X-x-1,0)