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

Description Usage Arguments Value Examples

View source: R/RandomUtilityModels.R

Description

Likelihood for Multitype Random Utility Models

Usage

1
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

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")

StatRank documentation built on May 1, 2019, 8:22 p.m.