powered by
Direct default spread generation. Object creation is managed internally.
rDefaultSpread(horizon, nScenarios, defaultSpread0, volDefault, alpha, beta)
Horizon of projection
Number of scenarios
Initial value for default spread
Volatility
alpha for LMN model
beta Volatility for LMN model
# NOT RUN { rDefaultSpread(horizon=5, nScenarios=8, defaultSpread0=.01, volDefault=.2, alpha=.1, beta=1) # }
Run the code above in your browser using DataLab