R Dataset / Package wooldridge / happiness

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-16082.csv 2.65 MB
Documentation

happiness

Description

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

Usage

data(happiness)

Format

A data.frame with 17137 rows and 33 variables:

  • year. gss year for this respondent

  • workstat. work force status

  • prestige. occupational prestige score

  • divorce. ever been divorced or separated

  • widowed. ever been widowed

  • educ. highest year of school completed

  • reg16. region of residence, age 16

  • babies. household members less than 6 yrs old

  • preteen. household members 6 thru 12 yrs old

  • teens. household members 13 thru 17 yrs old

  • income. total family income

  • region. region of interview

  • attend. how often r attends religious services

  • happy. general happiness

  • owngun. =1 if own gun

  • tvhours. hours per day watching tv

  • vhappy. =1 if 'very happy'

  • mothfath16. =1 if live with mother and father at 16

  • black. =1 if black

  • gwbush04. =1 if voted for G.W. Bush in 2004

  • female. =1 if female

  • blackfemale. black*female

  • gwbush00. =1 if voted for G.W. Bush in 2000

  • occattend. =1 if attend is 3, 4, or 5

  • regattend. =1 if attend is 6, 7, or 8

  • y94. =1 if year == 1994

  • y96.

  • y98.

  • y00.

  • y02.

  • y04.

  • y06. =1 if year == 2006

  • unem10. =1 if unemployed in last 10 years

Source

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

Examples

 str(happiness)
--

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

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package wooldridge / nbasal March 9, 2018 - 1:06 PM Dataset
R Dataset / Package psych / Holzinger.9 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HSAUR / GHQ March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Zelig / voteincome March 9, 2018 - 1:06 PM Dataset
R Dataset / Package wooldridge / cps78_85 March 9, 2018 - 1:06 PM Dataset