For the linear increment function this is $$\kappa\, g'(x)\, (F(x) - \alpha),$$ the quantity whose root gives the unconstrained optimal allocation.
Arguments
- g
a non-decreasing increment function, supplied either as a function or as a string in the variable
xsuch as"log(x)".- dg
derivative of
g; ifNULLorNAit is derived fromg.- 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.