| upperCombined {krige} | R Documentation | 
State Legislative District (Upper Chambers) Public Opinion Ideology in 2010
Description
These data present measures of ideology in 2010 for the districts for upper 
chambers of state legislatures, recorded as the variable krige.upper. 
All 50 states' chambers are covered (including the Nebraska Unicameral). 
Forecasts are based on a kriging model fitted over the 2008 Cooperative Congressional 
Election Survey (CCES), paired with predictive data from the 2010 Census. Each 
district's public ideology is paired with a measure of the ideology of the State 
Senate member from the district (update from Shor and McCarty 2011).
Format
The upperCombined dataset has 1989 observations and 10 variables.
- st
- Two-letter postal abbreviation for the state. 
- upper
- The state legislative district number (upper chamber). 
- STATEA
- The FIPS code for the state. 
- krige.upper
- The ideology of the average citizen in the district. 
- upperKluge
- Combined index of - STATEAfollowed by- upper.
- krige.upper.var
- The variance of ideology among the district's citizens. 
- name
- Last name of the state legislator, followed by first name and middle initial. 
- party
- Political party of the legislator. D=Democrat, R=Republican, X=Other. 
- st_id
- Temporary identifer variable. DO NOT USE. 
- np_score
- Ideology score for the state legislator (upper chamber). Higher values are usually interpreted as more right-wing, with lower values as more left-wing. 
Source
Ansolabehere, Stephen. 2011. "CCES, Common Content, 2008." Ver. 4.
Minnesota Population Center. 2011. National Historical Geographic Information System: Version 2.0. Minneapolis, MN: University of Minnesota. ‘https://www.nhgis.org’
Shor, Boris and Nolan M. McCarty. 2011. "The Ideological Mapping of American Legislatures." American Political Science Review 105(3):530-551.
References
Jeff Gill. 2020. Measuring Constituency Ideology Using Bayesian Universal Kriging. 
State Politics & Policy Quarterly. doi:10.1177/1532440020930197
Examples
# Descriptive Statistics
summary(upperCombined)
# Correlate Senators' DW-NOMINATE Scores with Public Opinion Ideology
cor(upperCombined$np_score,upperCombined$krige.upper,use="complete.obs")
# Plot Legislators' DW-NOMINATE Scores against Public Opinion Ideology
plot(y=upperCombined$np_score,x=upperCombined$krige.upper,
     xlab="District Ideology (Kriging)", ylab="Legislator Ideology (Shor & McCarty)", 
          main="State Legislatures: Upper Chambers", type="n")
points(y=upperCombined$np_score[upperCombined$party=="R"],
       x=upperCombined$krige.upper[upperCombined$party=="R"],pch=".",col="red")
points(y=upperCombined$np_score[upperCombined$party=="D"],
       x=upperCombined$krige.upper[upperCombined$party=="D"],pch=".",col="blue")