generateC.model: Turns inference object into modeled C matrix.

Description Usage Arguments Examples

Description

For parametric models, plug in a pairwise function for get.pairwise.prob. For nonparametric models, set nonparametric = TRUE

Usage

1
2
generateC.model(Estimate, get.pairwise.prob = NA, nonparametric = FALSE,
  ...)

Arguments

Estimate

inference object with a Parameter element, with a list of parameters for each alternative

get.pairwise.prob

(use this if its a parametric model) function that takes in two lists of parameters and computes the probability that the first is ranked higher than the second

nonparametric

set this flag to TRUE if this is a non-parametric model

...

additional arguments passed to generateC.model.Nonparametric (bandwidth)

Examples

1
2
3
4
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Estimate <- Estimation.Normal.GMM(Data.Test.pairs, 5)
generateC.model(Estimate, Normal.Pairwise.Prob)

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