Learn R Programming

StatRank (version 0.0.6)

Likelihood.RUM.Multitype: Likelihood for Multitype Random Utility Models

Description

Likelihood for Multitype Random Utility Models

Usage

Likelihood.RUM.Multitype(Data, Estimate, dist, race = FALSE)

Arguments

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

Value

log likelihood

Examples

Run this code
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")

Run the code above in your browser using DataLab