R Dataset / Package wooldridge / fair

Documentation

On this Picostat.com 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. 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.

Title Authored on Content type
R Dataset / Package psych / bfi March 9, 2018 - 1:06 PM Dataset
OpenIntro Statistics Dataset - scotus_healthcare August 9, 2020 - 2:38 PM Dataset
R Dataset / Package psych / withinBetween March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Kids198 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Wages1 March 9, 2018 - 1:06 PM Dataset
Attachment Size
dataset-48449.csv 5.77 KB
Dataset License
GNU General Public License v2.0
Documentation License
GNU General Public License v2.0