Maximum Deviation for Gain. Maximum of (-(Linear Loss ) + (Average over Linear Loss scenarios)) scenarios.
Syntax
max_dev_g(matrix) |
short call |
max_dev_g_name(matrix) |
call with optional name |
Parameters
matrix is a Matrix of Scenarios:
where the header row contains names of variables (except scenario_probability, and scenario_benchmark). Other rows contain numerical data. The scenario_probability, and scenario_benchmark columns are optional.
Mathematical Definition
Maximum Deviation for Gain function is calculated as follows
,
where:
is Maximum Deviation for Loss (max_dev) function,
is Maximum Risk for Loss (max_risk) function,
,
is Loss Function (See section Loss and Gain Functions)
is an argument of Maximum Deviation for Gain function.
Example
See also
Maximum, Maximum for Gain, Maximum Deviation, Maximum CVaR , Maximum CVaR for Gain, Maximum CVaR Deviation, Maximum CVaR Deviation for Gain, Maximum VaR , Maximum VaR for Gain, Maximum VaR Deviation, Maximum VaR Deviation for Gain