View source: R/maximumSpendingForMinimumRuinTimeV2.R
maximumSpendingForMinimumRuinTimeV2 | R Documentation |
Calculates scenarios of future value of annuity payments (fv) with stochastic returns
maximumSpendingForMinimumRuinTimeV2( wealth = 14000, minumumRuinTime = 16, mu = 0.03, sigma = 0.08, nScenarios = 200, prob = 0.9, seed = NULL )
wealth |
The wealth at retirement. Must be entered as a positive number |
minumumRuinTime |
Minimum time to ruin. Must be entered as a positive integer |
mu |
The expected interest real return per period. Default is zero. Must be entered as decimal |
sigma |
Volatility of expected interest real return per period. Default is zero. Must be entered as decimal |
nScenarios |
The total number of scenarios to be made. Default is one scenario |
prob |
Probability to exceed minimum time to ruin. Must be entered as decimal. |
seed |
Integer vector, containing the random number generator (RNG) state for random number generation in R |
maximumSpendingForMinimumRuinTimeV2(wealth=14000,minumumRuinTime = 16,mu=0.03,sigma=0.08,nScenarios=200, prob = 0.9, seed =NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.