R Dataset / Package wooldridge / alcohol

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

alcohol

Description

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

Usage

data(alcohol)

Format

A data.frame with 9822 rows and 33 variables:

  • abuse. =1 if abuse alcohol

  • status. out of workforce = 1; unemployed = 2, employed = 3

  • unemrate. state unemployment rate

  • age. age in years

  • educ. years of schooling

  • married. =1 if married

  • famsize. family size

  • white. =1 if white

  • exhealth. =1 if in excellent health

  • vghealth. =1 if in very good health

  • goodhealth. =1 if in good health

  • fairhealth. =1 if in fair health

  • northeast. =1 if live in northeast

  • midwest. =1 if live in midwest

  • south. =1 if live in south

  • centcity. =1 if live in central city of MSA

  • outercity. =1 if in outer city of MSA

  • qrt1. =1 if interviewed in first quarter

  • qrt2. =1 if interviewed in second quarter

  • qrt3. =1 if interviewed in third quarter

  • beertax. state excise tax, $ per gallon

  • cigtax. state cigarette tax, cents per pack

  • ethanol. state per-capita ethanol consumption

  • mothalc. =1 if mother an alcoholic

  • fathalc. =1 if father an alcoholic

  • livealc. =1 if lived with alcoholic

  • inwf. =1 if status > 1

  • employ. =1 if employed

  • agesq. age^2

  • beertaxsq. beertax^2

  • cigtaxsq. cigtax^2

  • ethanolsq. ethanol^2

  • educsq. educ^2

Source

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

Examples

 str(alcohol)

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

Attachments: csv, json

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