Example: Function call: meanabs_risk_nd(matrix_7,matrix_11_s).
matrix_7:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
1 |
4 |
8 |
3 |
-2 |
The matrix_7 is in file matrix_7.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
matrix_11_s:
x1 |
x2 |
x3 |
x4 |
scenario_benchmark |
8.93784 -0.25271 -1.27649 -0.77983 -0.3662 |
-0.25271 9.64713 -1.60709 -0.15443 3.7164 |
-1.27649 -1.60709 4.91926 -2.73949 -0.4274 |
-0.77983 -0.15443 -2.73949 7.44517 -0.39033 |
-0.3662 3.7164 -0.4274 -0.39033 9.26 |
The matrix_11_s is in file matrix_11_s.txt in PSG Matrix format (see, PSG Matrix in General (Text) Format).
Mean Absolute Risk for Loss Normal Dependent is calculated at point_1:
component_name |
value |
x1 x2 x3 x4 |
1 1 1 1 |
The point point_1 is in file point_1.txt (see PSG Point).
To calculate meanabs_risk_nd at point_1 run problem in file problem_meanabs_risk_nd.txt (see, Calculate Problem):
calculate
point: point_1
value:
meanabs_risk_nd(matrix_7,matrix_11_s)
Value of meanabs_risk_nd(matrix_7,matrix_11_s) at point_1 equals -14.2983
Files problem_meanabs_risk_nd.txt, matrix_7.txt, matrix_11_s.txt and point_1.txt are in folder .\Aorda\PSG\Examples\Functions\meanabs_risk_nd_test.