R Dataset / Package wooldridge / fair

On this R-data statistics page, you will find information about the fair data set which pertains to fair. The fair data set is found in the wooldridge R package. You can load the fair data set in R by issuing the following command at the console data("fair"). This will load the data into a variable called fair. If R says the fair 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 with the library() command. 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 fair R data set. The size of this file is about 5,912 bytes.

fair

Description

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

Usage

data(fair)

Format

A data.frame with 21 rows and 28 variables:

  • year. 1916 to 1992, by 4

  • V. prop. dem. vote

  • I. =1 if demwh, -1 if repwh

  • DPER. incumbent running

  • DUR. duration

  • g3. avg ann grwth rte, prev 3 qrts

  • p15. avg ann inf rate, prev 15 qtrs

  • n. quarters of good news

  • g2. avg ann grwth rte, prev 2 qrts

  • gYR. ann grwth rte, prev year

  • p8. avg ann inf rate, prev 8 qtrs

  • p2YR. inf rte over 2 yr period

  • Ig2. I*g2

  • Ip8. I*p8

  • demwins. =1 if V > .5

  • In. I*n

  • d. =1 in 1920, 1944,1948

  • Id. I*d

  • Ig3. I*g3

  • Ip151md. I*p15*(1-d)

  • In1md. I*n*(1-d)

Source

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

Examples

 str(fair)

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

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-wooldridge-fair.html" width="100%" height="100%" style="border:0px"></iframe>