This functions are designed to make it easier to visualize the impact of a View in the P&L distribution.
Arguments
- x
An univariate marginal distribution.
- p
A probability from the
ffpclass.- n
An
integerscalar with the number of scenarios to be generated.
Details
To generate a scenario-distribution the margins are bootstrapped using
bootstrap_scenarios. The number of resamples can be controlled
with the n argument (default is n = 10000).

