Wooldridge Source: From M. Barone and G. Ujifusa, The Almanac of American Politics, 1992. Washington, DC: National Journal. Data loads lazily.

data('vote1')

Format

A data.frame with 173 observations on 10 variables:

  • state: state postal code

  • district: congressional district

  • democA: =1 if A is democrat

  • voteA: percent vote for A

  • expendA: camp. expends. by A, $1000s

  • expendB: camp. expends. by B, $1000s

  • prtystrA: percent vote for president

  • lexpendA: log(expendA)

  • lexpendB: log(expendB)

  • shareA: 100*(expendA/(expendA+expendB))

Source

https://www.cengage.com/cgi-wadsworth/course_products_wp.pl?fid=M20b&product_isbn_issn=9781111531041

Used in Text

pages 34, 39, 164, 221-222, 299, 699

Examples

str(vote1)
#> 'data.frame': 173 obs. of 10 variables: #> $ state : chr "AL" "AK" "AZ" "AZ" ... #> $ district: int 7 1 2 3 3 4 2 3 5 6 ... #> $ democA : int 1 0 1 0 0 1 0 1 1 1 ... #> $ voteA : int 68 62 73 69 75 69 59 71 76 73 ... #> $ expendA : num 328.3 626.4 99.6 319.7 159.2 ... #> $ expendB : num 8.74 402.48 3.07 26.28 60.05 ... #> $ prtystrA: int 41 60 55 64 66 46 58 49 71 64 ... #> $ lexpendA: num 5.79 6.44 4.6 5.77 5.07 ... #> $ lexpendB: num 2.17 6 1.12 3.27 4.1 ... #> $ shareA : num 97.4 60.9 97 92.4 72.6 ... #> - attr(*, "time.stamp")= chr "25 Jun 2011 23:03"