Likelihood.Zemel {StatRank}R Documentation

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

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

[Package StatRank version 0.0.6 Index]