VaR Group of functions defined on Loss and Gain includes the following functions:

 

Full Name

Brief Name

Short Description

VaR

var_risk

Value-at-Risk for Linear Loss  scenarios, i.e., α%  percentile of Linear Loss scenarios.  

VaR for Gain

var_risk_g

Value-at-Risk for -(Linear Loss ) scenarios, i.e., α%  percentile of -(Linear Loss) scenarios.

VaR Normal Independent

var_risk_ni

Special case of the VaR  when all coefficients in Linear Loss function are independent normally distributed random values.

VaR for Gain Normal Independent

var_risk_ni_g

Special case of the VaR for Gain  when all coefficients in Linear Loss function are independent normally distributed random values.

VaR  Normal Dependent

var_risk_nd

Special case of the VaR when all coefficients in Linear Loss function are mutually dependent  normally distributed random values. 

VaR for Gain Normal Dependent

var_risk_nd_g

Special case of the VaR for Gain when all coefficients in Linear Loss function are mutually dependent  normally distributed random values.

VaR Deviation

var_dev

Value-at-Risk for (Linear Loss ) - (Average over Linear Loss scenarios) , i.e., α%  percentile of (Linear Loss) - (Average over Linear Loss scenarios) scenarios.  

VaR Deviation for Gain

var_dev_g

Value-at-Risk for -(Linear Loss ) + (Average over Linear Loss scenarios) , i.e.,  α%  percentile of  -(Linear Loss) + (Average over Linear Loss scenarios) scenarios.  

VaR Deviation Normal Independent

var_ni_dev

Special case of the VaR Deviation when all coefficients in Linear Loss function are independent normally distributed random values.

VaR Deviation for Gain Normal Independent

var_ni_dev_g

Special case of the VaR Deviation for Gain when all coefficients in -(Linear Loss ) function are independent normally distributed random values

VaR Deviation Normal Dependent

var_nd_dev

Special case of the VaR Deviation when all coefficients in Linear Loss function are mutually dependent normally distributed random values

VaR Deviation for Gain Normal Dependent

var_nd_dev_g

Special case of the VaR Deviation for Gain when all coefficients in -(Linear Loss ) function are mutually dependent normally distributed random values

VaR for Mixture of Normal Independent

avg_var_risk_ni

Consider a mixture of (random) Linear Loss functions with positive weights summing up to one. Coefficients in all  Linear Loss functions are independent normally distributed random values. avg_var_risk_ni is the VaR of the mixture of Normally Independent random values.

VaR for Gain for Mixture of Normal Independent

avg_var_risk_ni_g

Consider a mixture of (random) Linear Loss functions with positive weights summing up to one. Coefficients in all  Linear Loss functions are independent normally distributed random values. avg_var_risk_ni_g is the VaR of the mixture of Normally Independent random values.

VaR Deviation for Mixture of Normal Independent

avg_var_ni_dev

Consider a mixture of (random) Linear Loss functions with positive weights summing up to one. Coefficients in all  Linear Loss functions are independent normally distributed random values. avg_var_ni_dev is the VaR of the mixture of Normally Independent random values.

VaR Deviation for Gain for Mixture of Normal Independent

avg_var_ni_dev_g

Consider a mixture of (random) Linear Loss functions with positive weights summing up to one. Coefficients in all  Linear Loss functions are independent normally distributed random values. avg_var_ni_dev_g is the VaR of the mixture of Normally Independent random values.

VaR  Recourse

var_risk(recourse(.))

VaR of Recourse scenarios. Recourse scenarios are obtained by solving LP at the second stage of two-stage stochastic programming problem for every scenario.

VaR for Gain Recourse

var_risk_g(recourse(.))

VaR of -(Recourse) scenarios.  Recourse  scenarios are obtained by solving LP at the second stage of two-stage stochastic programming problem for every scenario.

VaR Deviation Recourse

var_dev(recourse(.))

VaR of (Deviation Recourse) = (Recourse-(Expected Recourse)) scenarios.  Recourse  scenarios are obtained by solving LP at the second stage of two-stage stochastic programming problem for every scenario.

VaR Deviation for Gain Recourse

var_dev_g(recourse(.))

VaR of -(Deviation Recourse) = (-Recourse+(Expected Recourse)) scenarios.  Recourse  scenarios are obtained by solving LP at the second stage of two-stage stochastic programming problem for every scenario.

 

Remarks

1.The confidence level, α, satisfies the following condition: .
2.Functions from the VaR group are calculated with double precision.
3.Any function from this group may be called by its "brief name" or by "brief name" with "optional name"
The optional name of any function from this group may contain up to 128 symbols.
Optional names of these functions may include only alphabetic characters, numbers, and the underscore sign, "_".
Optional names of these functions are "insensitive" to the case, i.e. there is no difference between low case and upper case in these names.