A random sample of 1,280 workers from the Cirrent Population Survey (CPS) for March 1995.
wages
A data frame with 1289 cases and 7 variables:
Hourly wages in US dollars.
Gender, 1 for female, 0 for male.
Race, 1 for nonwhite workers and 0 for white workers.
Union status, 1 if in union, 0 otherwise.
Education in years.
Work experience in years.
Age in years.
From Chapter 4 in Gujarati (2019).
Gujarati, D. N. (2019). Linear regression: A mathematical introduction. Thousand Oaks: SAGE Publications. ISBN:9781544336558. Google:pqxyDwAAQBAJ
#> 'data.frame': 1289 obs. of 7 variables: #> $ wages : num 11.6 5 12 7 21.1 ... #> $ gender : int 1 0 0 0 1 1 1 1 0 1 ... #> $ race : int 0 0 0 1 1 0 0 1 0 0 ... #> $ union : int 0 0 0 1 0 0 0 0 0 0 ... #> $ education : int 12 9 16 14 16 12 12 12 18 18 ... #> $ experience: int 20 9 15 38 19 4 14 32 7 5 ... #> $ age : int 38 24 37 58 41 22 32 50 31 29 ...#> wages gender race union education experience age #> 1 11.55 1 0 0 12 20 38 #> 2 5.00 0 0 0 9 9 24 #> 3 12.00 0 0 0 16 15 37 #> 4 7.00 0 1 1 14 38 58 #> 5 21.15 1 1 0 16 19 41 #> 6 6.92 1 0 0 12 4 22