ex0126: Environmental Voting of Democrats and Republicans in the U.S....

Description Usage Format Source See Also Examples

Description

The data are the number of pro- and anti-environmental votes, according to the League of Conservation Voters, for each member of the U.S. House of Representatives in 2005, 2006, or 2007.

Usage

1

Format

A data frame with 492 observations on the following 10 variables.

State

the state that the member represented

Representative

name of the representative

Party

a factor representing political party, with levels "R" for Republican, "D" for Democratic, and "I" for Independent

Pro05

the number of pro-environmental votes in 2005

Anti05

the number of anti-environmental votes in 2005

Pro06

the number of pro-environmental votes in 2006

Anti06

the number of anti-environmental votes in 2006

Pro07

the number of pro-environmental votes in 2007

Anti07

the number of anti-environmental votes in 2007

PctPro

the total percentage of a representative's votes between 2005 and 2007 that were deemd to be pro-environmental

Source

Ramsey, F.L. and Schafer, D.W. (2013). The Statistical Sleuth: A Course in Methods of Data Analysis (3rd ed), Cengage Learning.

See Also

ex0127

Examples

1

Example output

'data.frame':	492 obs. of  10 variables:
 $ State         : chr  "Alabama" "Alabama" "Alabama" "Alabama" ...
 $ Representative: chr  "Bonner" "Everett" "Rogers" "Aderholt" ...
 $ Party         : Factor w/ 3 levels "D","I","R": 3 3 3 3 1 3 1 3 3 3 ...
 $ Pro05         : int  2 0 1 0 5 0 10 0 0 1 ...
 $ Anti05        : int  16 18 17 18 13 18 8 18 18 17 ...
 $ Pro06         : int  3 1 2 0 4 1 6 0 1 0 ...
 $ Anti06        : int  9 11 10 12 7 11 6 12 11 9 ...
 $ Pro07         : int  2 2 3 2 14 1 16 2 2 1 ...
 $ Anti07        : int  18 18 17 18 6 19 4 18 18 19 ...
 $ PctPro        : num  14 6 12 4 46.9 ...

Sleuth3 documentation built on May 2, 2019, 6:41 a.m.