UniformSimplex
RiskAMP Random Distribution Functions
Using this function in Excel:
=UniformSimplex(n)
Function arguments:
n | Number of values |
This function samples a random probability vector of length n, where each
component is non-negative and the total sums to 1. The distribution is uniform
over the n-1
simplex, meaning each point in that space has equal probability
density.
Example
Each time you recalculate the spreadsheet the individual component values will change but will always sum to 1.
This function can be used to divide a value into random components. For a discrete version, see UniformIntegerSimplex.