Learn R Programming

PLMIX (version 2.1.1)

d_dublinwest: Dublin West Data (partial orderings)

Description

The Dublin West dataset (d_dublinwest) contains the results of the voting ballots of the 2002 Irish general election from the Dublin West constituency. The Irish voting system allows voters to rank the candidates in order of preferences, rather than only specify the favorite one. In the Dublin West constituency, \(N=29988\) voters ranked a maximum of \(K=9\) candidates, labeled as: 1 = Bonnie R., 2 = Burton J., 3 = Doherty-Ryan D., 4 = Higgins J., 5 = Lenihan B., 6 = McDonald M., 7 = Morrissey T., 8 = Smyth J. and 9 = Terry S.. The dataset is composed of partial top orderings of varying lengths. Missing positions are denoted with zero entries.

Usage

data(d_dublinwest)

Arguments

Format

Object of S3 class c("top_ordering","matrix") gathering a partial orderings with \(N=29988\) rows and \(K=9\) columns. Each row lists the candidates from the most-liked (Rank_1) to the least-liked (Rank_9) in a given voting ballot.

References

Mattei, N. and Walsh, T. (2013) PrefLib: A Library of Preference Data. Proceedings of Third International Conference on Algorithmic Decision Theory (ADT 2013). Springer, Lecture Notes in Artificial Intelligence, November 13-15, 2013.

Gormley, I. C. and Murphy, T. B. (2009). A grade of membership model for rank data. Bayesian Analysis, 4(2), pages 65--295.

Gormley, I. C. and Murphy, T. B. (2008). Exploring Voting Blocs Within the Irish Electorate: A Mixture Modeling Approach. Journal of the America Statistical Association, 103(483), pages 1014--1027.

Examples

Run this code
# NOT RUN {
data(d_dublinwest)
head(d_dublinwest)

## Subset of complete sequences
d_dublinwest_compl=d_dublinwest[rowSums(d_dublinwest!=0)>=(ncol(d_dublinwest)-1),]
head(d_dublinwest_compl)
# }

Run the code above in your browser using DataLab