Skip to contents
BayesPrefClass

An object containing all data necessary for preference elicitation.
Exp()

A convenience function for generating Exponential priors.
Flat()

A convenience function for generating a flat prior.
Normal()

A convenience function for generating Normal priors.
.calculateLogProb()

Calculates the log probability of seeing a given set of preferences
.estimateEntropy()

Calculates the expected posterior entropy of the prefel object if x and y are compared. Ignores
the odds of indifference preferences, as using them would increase runtime 50% without much gain.
.getLogIndifProb()

Evaluates the likelihood of the observed indifference preferences
.getLogStrictProb()

Evaluates the likelihood of the observed strict preferences
.sampleEntropy()

Calculates the entropy of a matrix of samples.
`%=%`

A helper function to add in preferences in a user-friendly way.
`%>%`

A helper function to add in preferences in a user-friendly way.
`%<%`

A helper function to add in preferences in a user-friendly way.
infer()

A function that estimates the user's underlying utility function.
prefEl()

A shortcut to create objects of the class BayesPrefClass.
suggest()

Suggests a good comparison for the user to make next.