Visualization.Pairwise.Probabilities {StatRank} | R Documentation |
Creates pairwise matrices to compare inference results with the empirical pairwise probabilities
Description
Creates pairwise matrices to compare inference results with the empirical pairwise probabilities
Usage
Visualization.Pairwise.Probabilities(Data.pairs, Parameters, get.pairwise.prob,
name.of.method)
Arguments
Data.pairs |
datas broken into pairs |
Parameters |
The Parameter element of a result from an Estimation function |
get.pairwise.prob |
function that we use to generate the pairwise probability of beating |
name.of.method |
names of the alternatives |
Value
none
Examples
library(ggplot2)
library(gridExtra)
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Parameters <- Estimation.PL.GMM(Data.Test.pairs, 5)$Parameters
PL.Pairwise.Prob <- function(a, b) a$Mean / (a$Mean + b$Mean)
Visualization.Pairwise.Probabilities(Data.Test.pairs, Parameters, PL.Pairwise.Prob, "PL")
[Package StatRank version 0.0.6 Index]