This is the per-target contribution to the objective minimized by
allocate().
Arguments
- dg
derivative of the increment function
g.- F
predictive cdf of the outcome.
- kappa
scale factor.
- alpha
normalized loss when the outcome
yexceeds the allocationx. Exactly one ofalphaandUmust be supplied.- O
cost incurred when the allocation
xexceeds the outcomey; equalskappa * (1 - alpha).- U
cost incurred when the outcome
yexceeds the allocationx; equalskappa * alpha.- offset
a constant added to the expected loss. Unlike
gpl_loss_fun(), a function-valuedoffsetis not supported here, since its expectation would itself require integration.