Learn R Programming

autoMrP (version 1.0.6)

survey_item: A sample of a survey item from the CCES 2008

Description

The Cooperative Congressional Election Stuides (CCES) item (cc418_1) asked: "Would you approve of the use of U.S. military troops in order to ensure the supply of oil?" The original 2008 CCES item contains 36,832 respondents. This sample mimics a typical national survey. It contains at least 5 respondents from each state but is otherwise a random sample.

Usage

survey_item

Arguments

Format

A data frame with 1500 rows and 13 variables:

YES

1 if individual supports use of troops; 0 otherwise

L1x1

Age group (four categories: 1 = 18-29; 2 = 30-44; 3 = 45-64; 4 = 65+)

L1x2

Education level (four categories: 1 = < high school; 2 = high school graduate; 3 = some college; 4 = college graduate)

L1x3

Gender-race combination (six categories: 1 = white male; 2 = black male; 3 = hispanic male; 4 = white female; 5 = black female; 6 = hispanic female)

state

U.S. state

L2.unit

U.S. state id

region

U.S. region (four categories: 1 = Northeast; 2 = Midwest; 3 = South; 4 = West)

L2.x1

Normalized state-level share of votes for the Republican candidate in the previous presidential election

L2.x2

Normalized state-level percentage of Evangelical Protestant or Mormon respondents

L2.x3

Normalized state-level percentage of the population living in urban areas

L2.x4

Normalized state-level unemployment rate

L2.x5

Normalized state-level share of Hispanics

L2.x6

Normalized state-level share of Whites