R Dataset / Package wooldridge / vote2


On this R-data statistics page, you will find information about the vote2 data set which pertains to vote2. The vote2 data set is found in the wooldridge R package. You can load the vote2 data set in R by issuing the following command at the console data("vote2"). This will load the data into a variable called vote2. If R says the vote2 data set is not found, you can try installing the package by issuing this command install.packages("wooldridge") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the vote2 R data set. The size of this file is about 38,540 bytes.



Data loads lazily. Type data(vote2) into the console.




A data.frame with 186 rows and 26 variables:

  • state. state postal code

  • district. U.S. Congressional district

  • democ. =1 if incumbent democrat

  • vote90. inc. share two-party vote, 1990

  • vote88. inc. share two-party vote, 1988

  • inexp90. inc. camp. expends., 1990

  • chexp90. chl. camp. expends., 1990

  • inexp88. inc. camp. expends., 1988

  • chexp88. chl. camp. expends., 1988

  • prtystr. percent vote pres., same party, 1988

  • rptchall. =1 if a repeat challenger

  • tenure. years in H.R.

  • lawyer. =1 if law degree

  • linexp90. log(inexp90)

  • lchexp90. log(chexp90)

  • linexp88. log(inexp88)

  • lchexp88. log(chexp88)

  • incshr90. 100*(inexp90/(inexp90+chexp90))

  • incshr88. 100*(inexp88/(inexp88+chexp88))

  • cvote. vote90 - vote88

  • clinexp. linexp90 - linexp88

  • clchexp. lchexp90 - lchexp88

  • cincshr. incshr90 - incshr88

  • win88. =1 by definition

  • win90. =1 if inc. wins, 1990

  • cwin. win90 - win88





Dataset imported from https://www.r-project.org.

Title Authored on Content type
OpenIntro Statistics Dataset - dream August 9, 2020 - 12:25 PM Dataset
OpenIntro Statistics Dataset - winery_cars August 9, 2020 - 2:38 PM Dataset
R Dataset / Package HSAUR / toothpaste March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / pottery March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Guerry March 9, 2018 - 1:06 PM Dataset
<iframe src="https://r-data.pmagunia.com/iframe/r-dataset-package-wooldridge-vote2.html" frameBorder="0" width="100%" height="307px" />
Attachment Size
dataset-30120.csv 37.64 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0

This documentation is licensed under GPLv3 or later.