# W-NOMINATE in R Software and Examples

### Royce Carroll, Jeff Lewis, James Lo,
Keith Poole, and Howard Rosenthal

**Download wnominate: W-NOMINATE Roll Call Analysis Software for R
**

Users of this package should cite:
Poole, Keith, Jeffrey Lewis, James Lo, and Royce Carroll. 2011. “Scaling Roll Call Votes with wnominate in R.” *Journal of Statistical Software* 42(14): 1–21

wnominate_un_text_tabs.r -- R program that runs
WNOMINATE on a tab-delimited roll call matrix, writes the legislator and roll call coordinates to disk,
and makes a plot of the ideal points of the legislators.
un3133.txt -- Roll Call matrix read by R
program. United Nations Voting for Assemblies 31-33, tab-delimited file.

wnominate_un_stata_file.r -- R program that runs
WNOMINATE on a Stata roll call matrix, writes the legislator and roll call coordinates to disk,
and makes a plot of the ideal points of the legislators.
un31-33.dta -- Roll Call matrix read by R
program. United Nations Voting for Assemblies 31-33 in a STATA file.

wnominate_un_csv.r -- R program that runs
WNOMINATE on a comma-delimited roll call matrix, writes the legislator and roll call coordinates to disk,
and makes a plot of the ideal points of the legislators.
UN.csv -- Roll Call matrix read by R
program. United Nations Voting in comma delimited format (example from Vignette).

wnominate_in_R_2010.r -- R program that runs
WNOMINATE on the
88^{th} Senate -- SEN88KH.ORD, and
writes the legislator and roll call coordinates to disk. Program uses
Simon Jackman's
pscl package
function READKH(..) to read the roll call file.

wnominate_house_111_X_plot.r -- R program that runs
WNOMINATE, writes the legislator and roll call coordinates to disk, and makes a plot of the ideal points of the
legislators.
wnominate_senate_111_X_plot.r -- R program that runs
WNOMINATE, writes the legislator and roll call coordinates to disk, and makes a plot of the ideal points of the
legislators.
STEST.ORD -- Roll Call matrix read by R
program (111^{th} Senate through 4 December 2010)

wnominate_senate_111_bootstrap.r -- R program that runs
WNOMINATE and performs a parametric bootstrap analysis (501 trials) to obtain the standard deviations for the legislator
coordinates. The program writes the legislator and roll call coordinates to disk, and makes a plot of the ideal points of the
legislators showing the 2 standard deviation confidence ellipses around the ideal points (if the correlation between the
trials for the first and second dimension is greater than 0.15 in absolute value, an ellipse is drawn -- otherwise a cross-hair
is drawn).
STEST_DEC_15.ORD -- Roll Call matrix read by R
program (111^{th} Senate through 15 December 2010)

wnominate_house_111_coombs_mesh.r -- R program that runs
WNOMINATE, writes the legislator and roll call coordinates to disk, outputs the summary plot of the results
(see vignette PDF above), and makes a plot of the Coombs Mesh and a histogram of the cutting line angles. Program
uses HOU111KH.ORD.

wnominate_senate_111_coombs_mesh.r -- R program that runs
WNOMINATE, writes the legislator and roll call coordinates to disk, outputs the summary plot of the results
(see vignette PDF above), and makes a plot of the Coombs Mesh and a histogram of the cutting line angles. Program
uses SENKH111.ORD.

VOTEVIEW Blog

NOMINATE Data, Roll Call Data, and Software

Course Web Pages: UGA (2010 - )

Course Web Pages: UC San Diego (2004 - 2010)

University of San Diego Law School (2005)

Course Web Pages: University of Houston (2000 - 2005)

Course Web Pages: Carnegie-Mellon University (1997 - 2000)

*Spatial Models of Parliamentary Voting*

Recent Working Papers

Analyses of Recent Politics

About This Website

K7MOA Log Books: 1960 - 2011

Bio of Keith T. Poole

Related Links