Visualization.Pairwise.Probabilities: Creates pairwise matrices to compare inference results with...

Description Usage Arguments Value Examples

View source: R/Visualization.R

Description

Creates pairwise matrices to compare inference results with the empirical pairwise probabilities

Usage

1
2
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

1
2
3
4
5
6
7
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")

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