sen90oc: 90th U.S. Senate Ideal Points via Optimal Classification

sen90ocR Documentation

90th U.S. Senate Ideal Points via Optimal Classification

Description

This dataframe contains the estimated ideal points of the 90th U.S Senate using oc. Although it can easily be obtained from calling the example in oc, it is included here to facilitate illustration of the examples for the plot and summary functions.

Usage

data(sen90oc)

Value

An object of class OCobject, with elements as follows:

legislators

data frame, containing all data from the old perf25.dat file about legislators. For a typical ocObject run with an ORD file read using readKH, it will contain the following:

  • stateState name of legislator.

  • icpsrStateICPSR state code of legislator.

  • cdCongressional District number.

  • icpsrLegisICPSR code of legislator.

  • partyParty of legislator.

  • partyCodeICPSR party code of legislator.

  • rankRank ordering of legislator on the first dimension, from lowest to highest.

  • correctYeaPredicted Yeas and Actual Yeas.

  • wrongYeaPredicted Yeas and Actual Nays.

  • wrongNayPredicted Nays and Actual Yeas.

  • correctNayPredicted Nays and Actual Nays.

  • volumeMeasure of the legislator's polytope size.

  • coord1DFirst dimension OC score, with all subsequent dimensions numbered similarly.

rollcalls

data frame, containing all data from the old perf21.dat file about bills. For a typical OCobject object run with an ORD file read using readKH, it will contain the following:

  • correctYeaPredicted Yeas and Actual Yeas.

  • wrongYeaPredicted Yeas and Actual Nays.

  • wrongNayPredicted Nays and Actual Yeas.

  • correctNayPredicted Nays and Actual Nays.

  • PREProportional Reduction In Error.

  • normvector1DFirst dimension of the unit normal vector, with all subsequent dimensions numbered similarly.

  • midpointsThe projection of the normal vector needed to get the midpoint.

dimensions

integer, number of dimensions estimated.

eigenvalues

A vector of roll call eigenvalues.

fits

A vector of length 2 with the classic measures of fit, containing the percent correct classification and the APRE.

Author(s)

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

Source

Voteview Team. 2017. 90th Senate Roll Call Vote Data. https://voteview.com/static/data/out/votes/S090_votes.ord.

See Also

'oc', 'plot.OCcoords', 'plot.OCskree', 'plot.OCangles', 'plot.OCcutlines', 'plot.OCobject'

Examples

    #This data file is the same as that obtained using:
    ## Not run: 
    data(sen90)
    sen90oc <- oc(sen90,dims=2,polarity=c(7,2)) 
	
## End(Not run)

    data(sen90oc)
    summary(sen90oc)
    plot(sen90oc)

oc documentation built on Feb. 16, 2023, 8:17 p.m.