Spatial Models of Parliamentary Voting

by

Keith T. Poole

Cambridge University Press, 2005


Chapter 1

These R programs run under version 2.0.1. If you have problems with the R code please send me an e-mail at ktpole@uga.edu. If you improve these or write more elegant versions please send them to me and I will post them. I make no claim to being the world's best R coder!!

Figure 1.2: R Program To Create Spatial Map of 1964 Civil Rights Act
This program creates Figure 1.3, a Shepard Diagram, and Shepard's Gradient of Generalization Graph. It opens three graphics windows.

Figure 1.3: R Program To Create Spatial Map of the 1968 Presidential Candidates(R Version 2.1.1)
Below are a series of R programs that perform classical MDS on a variety of data sets (see The Past and Future of Ideal Point Estimation for a discussion of these examples.)

  1. Double-Centering a Matrix: Applied to 90th U.S. Senate Agreement Scores.

    This R program reads a roll call matrix, double-centers it, and then does a two-dimensional plot. It is set up to read any of my roll call data files -- SEN01KH.ORD/HOU01KH.ORD to SEN108KH.ORD/HOU108KH.ORD -- by changing just a few statements in the code. My thanks to Jeff Lewis for writing the read.ord routine!

    This program opens two graphics windows -- the first is a plot of the Torgerson coordinates and the second is a plot of the normalized eigenvalues.

    Double_Center_Scaling.r: R Program To Double Center the Agreement Score matrix for the 90th Senate
  2. Non-Metric Multidimensional Scaling (KYST)

    This R program reads a roll call matrix and uses non-metric MDS to analyze the agreement scores. It is set up to read any of my roll call data files -- SEN01KH.ORD/HOU01KH.ORD to SEN108KH.ORD/HOU108KH.ORD -- by changing just a few statements in the code. The program will also write the legislator coordinates to disk as a STATA file. The program is set up to use the 30th House as an example. My thanks to Jeff Lewis for writing the read.ord routine!

    nonmetric_mds.r: R Program To Perform Classical Non-Metric Multidimensional Scaling (KYST)
  3. The Color Circle: An MDS Analysis of Ekman's Color Similarities Data. (The R program opens two graphics windows -- a spatial map and a gradient of generalization plot.)

    nmds_color_circle.r: R Program To Analyze Ekman Colors Similarities Data with MDS
  4. The Morse Code Data: An MDS Analysis of Rothkopf's Morse Code Similarities Data. (The R program opens two graphics windows -- a spatial map and a gradient of generalization plot.)

    nmds_morse_code.r: R Program To Analyze Rothkopf Morse Code Similarities Data with MDS

Book Chapters

Spatial Models of Parliamentary Voting
Chapter 1: Introduction
Chapter 2: The Geometry of Parliamentary Roll Call Voting
Chapter 3: The Optimal Classification Method
Chapter 4: Probabilistic Spatial Models of Parliamentary Voting
Chapter 5: Practical Issues in Computing Spatial Models of Parliamentary Voting
Chapter 6: Conducting Natural Experiments with Roll Calls
Chapter 7: Conclusion

Homework Problems



Site Links

VOTEVIEW Blog
NOMINATE Data, Roll Call Data, and Software
Course Web Pages: University of Georgia (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)
Analyzing Spatial Models of Choice and Judgment with R
Spatial Models of Parliamentary Voting
Recent Working Papers
Analyses of Recent Politics
About This Website
K7MOA Log Books: 1960 - 2017
Bio of Keith T. Poole
Related Links