Learn R Programming

StatRank (version 0.0.6)

Likelihood.Zemel: Gives Zemel pairwise Log-likelihood with data and scores

Description

Calculates the log-likelihood in the pairwise Zemel model

Usage

Likelihood.Zemel(Data.pairs, Estimate)

Arguments

Data.pairs
data broken up into pairwise comparisons
Estimate
Inference object from Estimate function

Value

a log-likelihood of the data under the Zemel model

Examples

Run this code
Estimate <- Generate.Zemel.Parameters(10)
pairs <- Generate.Zemel.Ranks.Pairs(Estimate$Score, 10, 10)
Likelihood.Zemel(pairs, Estimate)

Run the code above in your browser using DataLab