Learn R Programming

wooldridge (version 1.4-4)

vote1: vote1

Description

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

Usage

data('vote1')

Arguments

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))

Used in Text

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

Examples

Run this code
 str(vote1)

Run the code above in your browser using DataLab