Residual histograms

In the following example we’re going to price a VA contract with GMAB and GMDB riders:

With regards to the simulations and LSMC algorithm:

For each decision time, the histogram of the standardized residuals from the state-dependent case will be plotted next to the one from constant fee case. The standard normal curve is also plotted for reference.

## State-dependent
## Static method: 109.0692
## Mixed method:  108.3689
## Constant
## Static method: 101.8561
## Mixed method:  104.5796
## T =  9

## T =  8

## T =  7

## T =  6

## T =  5

## T =  4

## T =  3

## T =  2

## T =  1