Description Usage Arguments Details Value Author(s) References Examples
This function implements Bayesian inference of PAMA model with partial lists.
1 | PAMA.PL(datfile, PLdatfile, nRe, iter = 1000, init = "EMM")
|
datfile |
A matrix or dataframe. This is the data where our algorithm will work on. Each colomn denotes a ranker's ranking. The data should be in entity-based format. |
PLdatfile |
A matrix or dataframe. It contains all the partial lists. Each colomn denotes a partial list. |
nRe |
A number. Number of relevant entities. |
iter |
A number. Numner of iterations of MCMC. Defaulted as 1000. |
init |
A string. This indicates which method is used to initiate the starting point of the aggregated ranking list. "mean" uses the sample mean. "EMM" uses the method from R package 'ExtMallows'. |
The partial lists are handle by Data Augmentation strategy.
List. It contains Bayesian posterior samples of all the parameters and log-likelihood.
I.mat: posterior samples of I
phi.mat: posterior samples of phi
smlgamma.mat: posterior samples of gamma
l.mat: posterior samples of log-likelihood.
Wanchuang Zhu, Yingkai Jiang, Jun S. Liu, Ke Deng
Wanchuang Zhu, Yingkai Jiang, Jun S. Liu, Ke Deng (2021) Partition-Mallows Model and Its Inference for Rank Aggregation. Journal of the American Statistical Association
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.