R Dataset / Package wooldridge / sleep75

Documentation

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


sleep75

Description

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

Usage

data(sleep75)

Format

A data.frame with 706 rows and 34 variables:

  • age. in years

  • black. =1 if black

  • case. identifier

  • clerical. =1 if clerical worker

  • construc. =1 if construction worker

  • educ. years of schooling

  • earns74. total earnings, 1974

  • gdhlth. =1 if in good or excel. health

  • inlf. =1 if in labor force

  • leis1. sleep - totwrk

  • leis2. slpnaps - totwrk

  • leis3. rlxall - totwrk

  • smsa. =1 if live in smsa

  • lhrwage. log hourly wage

  • lothinc. log othinc, unless othinc < 0

  • male. =1 if male

  • marr. =1 if married

  • prot. =1 if Protestant

  • rlxall. slpnaps + personal activs

  • selfe. =1 if self employed

  • sleep. mins sleep at night, per wk

  • slpnaps. minutes sleep, inc. naps

  • south. =1 if live in south

  • spsepay. spousal wage income

  • spwrk75. =1 if spouse works

  • totwrk. mins worked per week

  • union. =1 if belong to union

  • worknrm. mins work main job

  • workscnd. mins work second job

  • exper. age - educ - 6

  • yngkid. =1 if children < 3 present

  • yrsmarr. years married

  • hrwage. hourly wage

  • agesq. age^2

Source

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

Examples

 str(sleep75)
--

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
Attachment Size
dataset-48240.csv 100.58 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.