Static and mixed approach with SD fees while increasing the barrier

With this exercise VAs with GMAB and GMDB riders are priced by means of the static amd mixed approaches. The caracteristics of the contracts are the following:

We are going to progressively increase the barrier with the formula (1 + k) * G where k varies from -0.5 to 0 with step 0.1

With regards to the simulation:

In the mixed approach, the regression is done only when the GMAB guarantee is in the money

##          [,1]     [,2]     [,3]     [,4]     [,5]     [,6]      [,7]
## [1,] 114.7068 114.6340 114.3617 113.1871 110.5154 107.1139  99.51823
## [2,] 114.7072 114.6537 114.3073 113.2378 110.5023 107.1221 100.39202

In the graph the dashed line corresponds to the constant fee case.