PAMA.F: This function implements Maximum Likelihood estimation of PAMA model.
Description
This function implements Maximum Likelihood estimation of PAMA model.
Usage
PAMA.F(datfile, nRe, threshold, iter = 1000)
Arguments
datfile
A matrix or dataframe. This is the data where our algorithm will work on. Each row denotes a ranker's ranking. The data should be in entity-based format.
nRe
A number. Number of relevant entities.
threshold
A number(positive). The stopping threshold in determining convergence of MLE. if the two consecutive iterations of log-likelihood is smaller than threshold, then the convergence achives.
iter
A number. Numner of iterations of MCMC.
Value
List. It contains MLE of all the parameters and log-likelihood.