paired_comparisons function

Paired comparison matrix for a partial ordering/ranking dataset

Paired comparison matrix for a partial ordering/ranking dataset

Construct the paired comparison matrix for a partial ordering/ranking dataset.

paired_comparisons(data, format_input, nranked = NULL)

Arguments

  • data: Numeric N$$x$$K data matrix of partial sequences.
  • format_input: Character string indicating the format of the data input, namely "ordering" or "ranking".
  • nranked: Optional numeric vector of length NN with the number of items ranked by each sample unit.

Returns

Numeric K$$x$$K paired comparison matrix: the (i,i)(i,i')-th entry indicates the number of sample units that preferred item ii to item ii'.

Examples

data(d_dublinwest) paired_comparisons(data=d_dublinwest, format_input="ordering")

References

Mollica, C. and Tardella, L. (2017). Bayesian Plackett-Luce mixture models for partially ranked data. Psychometrika, 82 (2), pages 442--458, ISSN: 0033-3123, DOI: 10.1007/s11336-016-9530-0.

See Also

rank_summaries

Author(s)

Cristina Mollica and Luca Tardella

  • Maintainer: Cristina Mollica
  • License: GPL (>= 2)
  • Last published: 2019-09-04

Useful links