Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/Simulate.Weights.R
Simulation of weights employing the Dirichlet distribution. The concentration parameters for the Dirichlet distribution are tentative weights.
1 | Sim.Weights(n, utilities, alpha)
|
n |
number of simulations |
utilities |
utility dataframe, first column is the identifier |
alpha |
concentration parameter for the Dirichlet distribution |
Taking advantage of the Dirichlet distribution properties, the weights could be simulated with a concentration around given weights.
List with data.frames {simulation, weights} with total utilities and simulated weights
Pedro Guarderas pedro.felipe.guarderas@gmail.com
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.