Skip to contents

The rcx dataset is a matrix containing DW-NOMINATE scores for members of the U.S. Congress. DW-NOMINATE scores are used to measure the ideological positions of legislators based on their roll-call voting behavior.

Usage

data(rcx)

Format

A data frame with the following 16 variables:

cong

Congress number.

id

Unique identifier for each member of Congress.

state

State abbreviation for the member's state.

dist

District number for House members, or 0 for Senators.

lstate

Full name of the member's state.

party

Political party affiliation (e.g., Democrat, Republican).

name

Name of the member of Congress.

dwnom1

The first dimension DW-NOMINATE score, typically representing the liberal-conservative spectrum.

dwnom2

The second dimension DW-NOMINATE score, often representing regional or other secondary factors.

dwnom1bse

Standard error of the first dimension DW-NOMINATE score.

dwnom2bse

Standard error of the second dimension DW-NOMINATE score.

corrbse

Correlation between the first and second dimension standard errors.

LogL

Log-likelihood of the legislator's votes under the DW-NOMINATE model.

nchoice

Number of roll-call votes the legislator participated in.

nerror

Number of classification errors (votes incorrectly predicted by the model).

gmp

Geometric mean probability, a measure of fit for the DW-NOMINATE model.

Source

Data collected and processed using the DW-NOMINATE algorithm. For more details, see the DW-NOMINATE project website.

Details

The rcx dataset provides DW-NOMINATE scores for members of the U.S. Congress, which are commonly used to analyze ideological alignment and voting behavior across different legislative sessions.

Examples

if (FALSE) { # \dontrun{
data(rcx)
} # }