Description Usage Arguments Value Examples
View source: R/RandomUtilityModels.R
Likelihood for Multitype Random Utility Models
1 | Likelihood.RUM.Multitype(Data, Estimate, dist, race = FALSE)
|
Data |
n by m table of rankings |
Estimate |
Inference object from Estimation function |
dist |
Distribution of noise (exp or norm) |
race |
TRUE if data is sub partial, FALSE (default) if not |
log likelihood
1 2 3 | Data.Tiny <- matrix(c(1, 2, 3, 3, 2, 1, 1, 2, 3), ncol = 3, byrow = TRUE)
Estimate <- Estimation.RUM.MultiType.MLE(Data.Tiny, K=2, iter = 1, dist= "norm")
Likelihood.RUM.Multitype(Data.Tiny, Estimate, dist = "norm")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.