Learn R Programming

wnominate (version 1.4)

sen90wnom: 90th U.S. Senate Ideal Points

Description

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

Usage

data(sen90wnom)

Arguments

Value

An object of class nomObject, which in this documentation is also referred to as a W-NOMINATE object.

legislators

data frame, containing all data from the old nom33.dat file about legislators. For a typical W-NOMINATE object 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.

  • correctYeaPredicted Yeas and Actual Yeas.

  • wrongYeaPredicted Yeas and Actual Nays.

  • wrongNayPredicted Nays and Actual Yeas.

  • correctNayPredicted Nays and Actual Nays.

  • GMPGeometric Mean Probability.

  • PREProportional Reduction In Error.

  • coord1DFirst dimension W-NOMINATE score, with all subsequent dimensions numbered similarly.

  • se1DBootstrapped standard error of first dimension W-NOMINATE score, with all subsequent dimensions numbered similarly. This will be empty if trials is set below 4.

  • corr.1Covariance between first and second dimension W-NOMINATE score, with all subsequent dimensions numbered similarly.

rollcalls

data frame, containing all data from the old nom33.dat file about bills. For a typical W-NOMINATE 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.

  • GMPGeometric Mean Probability.

  • PREProportional Reduction In Error.

  • spread1DFirst dimension W-NOMINATE spread, with all subsequent dimensions numbered similarly.

  • midpoint1DFirst dimension W-NOMINATE midpoint, with all subsequent dimensions numbered similarly.

dimensions

integer, number of dimensions estimated.

eigenvalues

A vector of roll call eigenvalues.

beta

The beta value used in the final iteration.

weights

A vector of weights used in each iteration.

fits

A vector of length 3*dimensions with the classic measures of fit. In order, it contains the correct classifications for each dimension, the APREs for each dimension, and the overall GMPs for each dimension.

Author

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

See Also

'wnominate'.

Examples

Run this code
    #This data file is the same as reading file using:
    #sen90 <- readKH("ftp://voteview.com/sen90kh.ord")
    #All ORD files can be found on www.voteview.com
    data(sen90)
    
    summary(sen90)
    #sen90wnom <- wnominate(sen90,polarity=c(2,5))
    #'sen90wnom' is the same nomObject as found in 
    data(sen90wnom)
    summary(sen90wnom)
    plot(sen90wnom)

Run the code above in your browser using DataLab