sen90oc {oc}R 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:
    state
    State name of legislator.
    icpsrState
    ICPSR state code of legislator.
    cd
    Congressional District number.
    icpsrLegis
    ICPSR code of legislator.
    party
    Party of legislator.
    partyCode
    ICPSR party code of legislator.
    rank
    Rank ordering of legislator on the first dimension, from lowest to highest.
    correctYea
    Predicted Yeas and Actual Yeas.
    wrongYea
    Predicted Yeas and Actual Nays.
    wrongNay
    Predicted Nays and Actual Yeas.
    correctNay
    Predicted Nays and Actual Nays.
    volume
    Measure of the legislator's polytope size.
    coord1D
    First 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:
    correctYea
    Predicted Yeas and Actual Yeas.
    wrongYea
    Predicted Yeas and Actual Nays.
    wrongNay
    Predicted Nays and Actual Yeas.
    correctNay
    Predicted Nays and Actual Nays.
    PRE
    Proportional Reduction In Error.
    normvector1D
    First dimension of the unit normal vector, with all subsequent dimensions numbered similarly.
    midpoints
    The 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 kpoole@ucsd.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo jameslo@ucla.edu

Royce Carroll rcarroll@ucsd.edu

Source

Keith Poole. 2005. 90th Senate Roll Call Vote Data. http://www.voteview.com/.

See Also

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

Examples

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

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

[Package oc version 0.04 Index]