Description Usage Arguments Value Examples
View source: R/RandomUtilityModels.R
Given a list of parameters (generated via the Generate RUM Parameters function), generate random utilities from these models and then return their ranks
1 | Generate.RUM.Data(Params, m, n, distribution)
|
Params |
inference object from an Estimation function, or parameters object from a generate function |
m |
number of alternatives |
n |
number of agents |
distribution |
can be either 'normal' or 'exponential' |
a matrix of observed rankings
1 2 3 4 | Params = Generate.RUM.Parameters(10, "normal")
Generate.RUM.Data(Params,m=10,n=5,"normal")
Params = Generate.RUM.Parameters(10, "exponential")
Generate.RUM.Data(Params,m=10,n=5,"exponential")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.