Partial Moment Two Deviation for Gain (pm2_dev_g)

Partial Moment Two Deviation for Gain. Expected  squared access of  (-(Loss ) + (Average Loss )) over some fixed threshold.

Syntax

pm2_dev_g(w,matrix)

short call

pm2_dev_g_name(w,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.

 

is a threshold value.

 

Mathematical Definition

Partial Moment Two Deviation for Gain function is calculated as follows

,

where:

is Partial Moment Two Penalty for Loss function,

,

is Loss Function (See section Loss and Gain Functions),

is an argument of function.

 

Example

Calculation in Run-File Environment
Calculation in MATLAB Environment

 

See also

Partial Moment Group, Partial Moment Two Deviation for Loss.