generateC.model {StatRank} | R Documentation |
Turns inference object into modeled C matrix.
Description
For parametric models, plug in a pairwise function for get.pairwise.prob. For nonparametric models, set nonparametric = TRUE
Usage
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
data(Data.Test)
Data.Test.pairs <- Breaking(Data.Test, "full")
Estimate <- Estimation.Normal.GMM(Data.Test.pairs, 5)
generateC.model(Estimate, Normal.Pairwise.Prob)
[Package StatRank version 0.0.6 Index]