Description Usage Arguments Value Examples
Returns a list containing the costs of the floor option under each stochastic scenario, the expected value and variance
1 2 | stocfloorOptionPBO(employee, surviveInfo.out, stochasticScenarios.out,
assumptions = planVariables)
|
employee |
A row from the demoInfo dataset |
surviveInfo.out |
output of surviveInfo() |
stochasticScenarios.out |
output of stochasticScenarios() |
A list containing the cost of the option under each scenario, mean and variance.
1 2 3 4 5 6 7 8 9 10 11 12 | surviveInfo.out <- surviveInfo(demoInfo[5,]);
termStruct.out <- cubic_spline(termStruct);
termStruct.extension <- curve_extensionNS(termStruct.out);
credit_spread <- rep(0.01,100);
hw.out <- hull_white(srinput, termStruct.extension, termofyield=1);
cholesky.out <- cholesky(cholinput);
esga.out <- esga(esgin, credit_spread, volterm.equity, inflation_mean,
volterm.inflation , cholesky.out, termStruct.extension);
stochasticScenarios.out <- stochasticScenarios(hw.out, termStruct.extension,
srinput, esga.out)
stocfloorOptionPBO.cost <- stocfloorOptionPBO(demoInfo[5,], surviveInfo.out,
stochasticScenarios.out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.