R Dataset / Package wooldridge / sleep75

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 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 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.

Attachments: csv, json

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