Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

Source

Examples

str(vote1)

wooldridge

111 Data Sets from "Introductory Econometrics: A Modern Approach, 6e" by Jeffrey M. Wooldridge

v1.3.1
GPL-3
Authors
Justin M. Shea [aut, cre], Kennth H. Brown [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.