# set the environment 
Packages <- c("dplyr", "tidyverse","treemap","RColorBrewer","highcharter","readr","plotly")

lapply(Packages, library, character.only = TRUE)
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ──
## ✓ ggplot2 3.3.5     ✓ purrr   0.3.4
## ✓ tibble  3.1.2     ✓ stringr 1.4.0
## ✓ tidyr   1.1.3     ✓ forcats 0.5.1
## ✓ readr   1.4.0
## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
## Registered S3 method overwritten by 'quantmod':
##   method            from
##   as.zoo.data.frame zoo
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout
## [[1]]
## [1] "dplyr"     "stats"     "graphics"  "grDevices" "utils"     "datasets" 
## [7] "methods"   "base"     
## 
## [[2]]
##  [1] "forcats"   "stringr"   "purrr"     "readr"     "tidyr"     "tibble"   
##  [7] "ggplot2"   "tidyverse" "dplyr"     "stats"     "graphics"  "grDevices"
## [13] "utils"     "datasets"  "methods"   "base"     
## 
## [[3]]
##  [1] "treemap"   "forcats"   "stringr"   "purrr"     "readr"     "tidyr"    
##  [7] "tibble"    "ggplot2"   "tidyverse" "dplyr"     "stats"     "graphics" 
## [13] "grDevices" "utils"     "datasets"  "methods"   "base"     
## 
## [[4]]
##  [1] "RColorBrewer" "treemap"      "forcats"      "stringr"      "purrr"       
##  [6] "readr"        "tidyr"        "tibble"       "ggplot2"      "tidyverse"   
## [11] "dplyr"        "stats"        "graphics"     "grDevices"    "utils"       
## [16] "datasets"     "methods"      "base"        
## 
## [[5]]
##  [1] "highcharter"  "RColorBrewer" "treemap"      "forcats"      "stringr"     
##  [6] "purrr"        "readr"        "tidyr"        "tibble"       "ggplot2"     
## [11] "tidyverse"    "dplyr"        "stats"        "graphics"     "grDevices"   
## [16] "utils"        "datasets"     "methods"      "base"        
## 
## [[6]]
##  [1] "highcharter"  "RColorBrewer" "treemap"      "forcats"      "stringr"     
##  [6] "purrr"        "readr"        "tidyr"        "tibble"       "ggplot2"     
## [11] "tidyverse"    "dplyr"        "stats"        "graphics"     "grDevices"   
## [16] "utils"        "datasets"     "methods"      "base"        
## 
## [[7]]
##  [1] "plotly"       "highcharter"  "RColorBrewer" "treemap"      "forcats"     
##  [6] "stringr"      "purrr"        "readr"        "tidyr"        "tibble"      
## [11] "ggplot2"      "tidyverse"    "dplyr"        "stats"        "graphics"    
## [16] "grDevices"    "utils"        "datasets"     "methods"      "base"
getwd()
## [1] "/Users/shenjiayuan/Documents/INST 314"
a = read.csv('GSS-Lab-9.17.csv')
str(a)
## 'data.frame':    2936 obs. of  10 variables:
##  $ Year         : int  2016 2016 2016 2016 2016 2016 2016 2016 2016 2016 ...
##  $ ID           : int  2 16 19 20 21 24 29 32 33 36 ...
##  $ Hours_wkd    : chr  "42" "42" "40" "40" ...
##  $ Occupation   : chr  "Machinists" "Designers" "Elementary and middle school teachers" "Insurance claims and policy processing clerks" ...
##  $ Age          : chr  "61" "33" "31" "43" ...
##  $ Educ         : chr  "12" "13" "18" "13" ...
##  $ Sex          : chr  "Male" "Female" "Male" "Male" ...
##  $ Income       : chr  "$25000 or more" "$25000 or more" "$25000 or more" "$25000 or more" ...
##  $ income_recode: int  25000 25000 25000 25000 25000 25000 25000 25000 25000 25000 ...
##  $ educ_recode  : chr  "1_hs" "2_some_college" "4_Advanced" "2_some_college" ...
#clean the dataset
names(a) <- tolower(names(a))
names(a) <- gsub(" ","",names(a))
str(a)
## 'data.frame':    2936 obs. of  10 variables:
##  $ year         : int  2016 2016 2016 2016 2016 2016 2016 2016 2016 2016 ...
##  $ id           : int  2 16 19 20 21 24 29 32 33 36 ...
##  $ hours_wkd    : chr  "42" "42" "40" "40" ...
##  $ occupation   : chr  "Machinists" "Designers" "Elementary and middle school teachers" "Insurance claims and policy processing clerks" ...
##  $ age          : chr  "61" "33" "31" "43" ...
##  $ educ         : chr  "12" "13" "18" "13" ...
##  $ sex          : chr  "Male" "Female" "Male" "Male" ...
##  $ income       : chr  "$25000 or more" "$25000 or more" "$25000 or more" "$25000 or more" ...
##  $ income_recode: int  25000 25000 25000 25000 25000 25000 25000 25000 25000 25000 ...
##  $ educ_recode  : chr  "1_hs" "2_some_college" "4_Advanced" "2_some_college" ...
# set the filter for 2016
q1f2016 = a %>%
  filter(income_recode>0 & sex == 'Female'&year == 2016)%>%
  summarize(tot_pay_f_2016 = mean(income_recode))
q1f2016
##   tot_pay_f_2016
## 1       19199.27
q1m2016 = a %>%
  filter(income_recode>0 & sex == 'Male'& year == 2016)%>%
  summarize(tot_pay_m_2016 = mean(income_recode))
q1m2016
##   tot_pay_m_2016
## 1       21204.46
# set the filter for 2018
q1f2018 = a %>%
  filter(income_recode>0 & sex == 'Female'&year == 2018)%>%
  summarize(tot_pay_f_2018 = mean(income_recode))
q1f2018
##   tot_pay_f_2018
## 1       19304.41
q1m2018 = a %>%
  filter(income_recode>0 & sex == 'Male'& year == 2018)%>%
  summarize(tot_pay_m_2018 = mean(income_recode))
q1m2018
##   tot_pay_m_2018
## 1       21651.14
q1 = a %>%
  filter(income_recode>0 )%>%
  arrange(desc(income_recode))
ggplot(data = q1) + 
  geom_bar(mapping = aes(x = income_recode, fill =sex),position = "dodge")+
  xlab("Income") +
  ylab("Frequency") +
  ggtitle("Men, in general, earn more money than women?")

age = c(q1f2016,q1f2018,q1m2016,q1m2018)
d = data.frame(age)
d
##   tot_pay_f_2016 tot_pay_f_2018 tot_pay_m_2016 tot_pay_m_2018
## 1       19199.27       19304.41       21204.46       21651.14
ggplot(data = q1) + 
  geom_bar(mapping = aes(x = income_recode, fill =sex),position = "dodge")+
  facet_wrap(~educ_recode)+
  xlab("Income") +
  ylab("Frequency") +
  ggtitle("Even women with similar education levels tend to have lower earnings than men?")

q2 = q1%>%
  group_by(educ_recode,sex) %>%
  summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())%>%
  arrange(educ_recode)
## `summarise()` has grouped output by 'educ_recode'. You can override using the `.groups` argument.
q2
## # A tibble: 11 x 5
## # Groups:   educ_recode [6]
##    educ_recode    sex    tot_pay median count
##    <chr>          <chr>    <dbl>  <dbl> <int>
##  1 0              Female  15000   15000     2
##  2 0_no_1_hs      Female  12669.  12500   124
##  3 0_no_1_hs      Male    18778.  25000   153
##  4 1_hs           Female  18012.  22500   376
##  5 1_hs           Male    21348.  25000   405
##  6 2_some_college Female  18626.  25000   439
##  7 2_some_college Male    20763.  25000   348
##  8 3_Bachelors    Female  21667.  25000   327
##  9 3_Bachelors    Male    22798.  25000   260
## 10 4_Advanced     Female  22294.  25000   253
## 11 4_Advanced     Male    22763.  25000   209
q1$hours_wkd = as.numeric(q1$hours_wkd)
## Warning: NAs introduced by coercion
str(q1)
## 'data.frame':    2896 obs. of  10 variables:
##  $ year         : int  2016 2016 2016 2016 2016 2016 2016 2016 2016 2016 ...
##  $ id           : int  2 16 19 20 21 24 29 32 33 36 ...
##  $ hours_wkd    : num  42 42 40 40 40 NA NA 50 40 40 ...
##  $ occupation   : chr  "Machinists" "Designers" "Elementary and middle school teachers" "Insurance claims and policy processing clerks" ...
##  $ age          : chr  "61" "33" "31" "43" ...
##  $ educ         : chr  "12" "13" "18" "13" ...
##  $ sex          : chr  "Male" "Female" "Male" "Male" ...
##  $ income       : chr  "$25000 or more" "$25000 or more" "$25000 or more" "$25000 or more" ...
##  $ income_recode: int  25000 25000 25000 25000 25000 25000 25000 25000 25000 25000 ...
##  $ educ_recode  : chr  "1_hs" "2_some_college" "4_Advanced" "2_some_college" ...
q3 = q1%>%
  group_by(sex,hours_wkd) %>%
  summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())%>%
  filter(hours_wkd != 'NA')%>%
  arrange(hours_wkd)
## `summarise()` has grouped output by 'sex'. You can override using the `.groups` argument.
q3
## # A tibble: 143 x 5
## # Groups:   sex [2]
##    sex    hours_wkd tot_pay median count
##    <chr>      <dbl>   <dbl>  <dbl> <int>
##  1 Female         1  24375   25000     4
##  2 Male           1  25000   25000     3
##  3 Female         2  25000   25000     2
##  4 Male           2  25000   25000     1
##  5 Female         3  18400   22500     5
##  6 Male           3  25000   25000     2
##  7 Female         4   2167.    500     3
##  8 Male           4  16833.  25000     3
##  9 Female         5  10625    8000     4
## 10 Male           5  18333.  22500     3
## # … with 133 more rows
  ggplot(q3,aes(hours_wkd, tot_pay)) +
  geom_point() +
  facet_wrap(~sex)

  ggtitle("Mortgage Debt Between 2003 and 2018")
## $title
## [1] "Mortgage Debt Between 2003 and 2018"
## 
## attr(,"class")
## [1] "labels"
q8 = q1%>%
  group_by(sex,occupation,educ_recode) %>%
  summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())%>%
  filter(count>10)%>%
  arrange(occupation)
## `summarise()` has grouped output by 'sex', 'occupation'. You can override using the `.groups` argument.
q8
## # A tibble: 33 x 6
## # Groups:   sex, occupation [24]
##    sex    occupation                          educ_recode   tot_pay median count
##    <chr>  <chr>                               <chr>           <dbl>  <dbl> <int>
##  1 Male   Carpenters                          1_hs           20542.  25000    12
##  2 Female Cashiers                            0_no_1_hs       9773.   7500    11
##  3 Female Cashiers                            1_hs           14692.  12500    13
##  4 Female Childcare workers                   2_some_colle…  10864.  12500    11
##  5 Male   Construction laborers               1_hs           22591.  25000    11
##  6 Female Customer service representatives    2_some_colle…  15679.  17500    14
##  7 Male   Driver/sales workers and truck dri… 1_hs           23400   25000    20
##  8 Male   Driver/sales workers and truck dri… 2_some_colle…  20071.  25000    14
##  9 Female Elementary and middle school teach… 3_Bachelors    24333.  25000    15
## 10 Female Elementary and middle school teach… 4_Advanced     23421.  25000    19
## # … with 23 more rows
ggplot(data = q8) + 
  geom_point(mapping = aes(x = tot_pay,y=count, color =occupation),position = "dodge")+
  facet_wrap(~sex)+
 
  xlab("Income") +
  ylab("Frequency") +
  ggtitle("Even women with similar education levels and profession tend to have lower earnings than men?")
## Warning: Width not defined. Set with `position_dodge(width = ?)`

a1 = q1%>%
  filter(grepl('computer',occupation))

a2 = q1%>%
  filter(grepl('Computer',occupation))
a1
##   year   id hours_wkd                                  occupation age educ
## 1 2016  228        40 Network and computer systems administrators  31   16
## 2 2016  248        55 Network and computer systems administrators  49   15
## 3 2016  316        40 Network and computer systems administrators  66   15
## 4 2016 2355        NA Network and computer systems administrators  31   16
## 5 2018 1212        45 Network and computer systems administrators  37   15
## 6 2018 1472        40 Network and computer systems administrators  53    9
##      sex         income income_recode    educ_recode
## 1   Male $25000 or more         25000    3_Bachelors
## 2   Male $25000 or more         25000 2_some_college
## 3   Male $25000 or more         25000 2_some_college
## 4   Male $25000 or more         25000    3_Bachelors
## 5   Male $25000 or more         25000 2_some_college
## 6 Female $25000 or more         25000      0_no_1_hs
a2
##    year   id hours_wkd                                               occupation
## 1  2016   39        65                Computer and information systems managers
## 2  2016   46        45                              Computer network architects
## 3  2016   81        45                Computer and information systems managers
## 4  2016  198        40                             Computer support specialists
## 5  2016  284        40                                Computer systems analysts
## 6  2016  332        40                          Computer occupations, all other
## 7  2016  363        NA                                Computer systems analysts
## 8  2016  502        NA                             Computer support specialists
## 9  2016  509        51                                Computer systems analysts
## 10 2016  590        40                          Computer occupations, all other
## 11 2016  643        45                                Computer systems analysts
## 12 2016  663        20                                Computer systems analysts
## 13 2016  681        40 Computer, automated teller, and office machine repairers
## 14 2016  729        NA                                Computer systems analysts
## 15 2016  750        40                             Computer support specialists
## 16 2016  941        50                             Computer support specialists
## 17 2016 1065        40               Computer control programmers and operators
## 18 2016 1118        NA                Computer and information systems managers
## 19 2016 1130        60                                       Computer operators
## 20 2016 1137        45                          Computer occupations, all other
## 21 2016 1167        40                             Computer support specialists
## 22 2016 1324        40                                       Computer operators
## 23 2016 1329        40                             Computer support specialists
## 24 2016 1709        NA                             Computer support specialists
## 25 2016 1859         2                                Computer systems analysts
## 26 2016 2087        40                                Computer systems analysts
## 27 2016 2137         5                                Computer systems analysts
## 28 2016 2157        40                                       Computer operators
## 29 2016 2193        45                                     Computer programmers
## 30 2016 2535        49                Computer and information systems managers
## 31 2016 2724        40                                     Computer programmers
## 32 2018    3        40                              Computer network architects
## 33 2018   74        45                                     Computer programmers
## 34 2018  103        40                Computer and information systems managers
## 35 2018  105        NA                                     Computer programmers
## 36 2018  188        60                                Computer systems analysts
## 37 2018  304        40                                Computer systems analysts
## 38 2018  355        45                                Computer systems analysts
## 39 2018  368        45                                Computer systems analysts
## 40 2018  387        35                                Computer systems analysts
## 41 2018  395        40                          Computer occupations, all other
## 42 2018  463        40                             Computer support specialists
## 43 2018  508        40                                Computer systems analysts
## 44 2018  514        40                          Computer occupations, all other
## 45 2018  598        NA                                Computer systems analysts
## 46 2018  603        50                             Computer support specialists
## 47 2018  831        40                                Computer systems analysts
## 48 2018  915        40                                     Computer programmers
## 49 2018 1092        40                Computer and information systems managers
## 50 2018 1175        42 Computer, automated teller, and office machine repairers
## 51 2018 1702        53                             Computer support specialists
## 52 2018 1744        45                Computer and information systems managers
## 53 2018 1913        30               Computer control programmers and operators
## 54 2018 1972        40 Computer, automated teller, and office machine repairers
## 55 2018 2092        45                                     Computer programmers
## 56 2018 2323        40 Computer, automated teller, and office machine repairers
## 57 2016 2071        NA                                     Computer programmers
## 58 2016 2168        40                          Computer occupations, all other
## 59 2018 2302        40                                       Computer operators
## 60 2016  773        24                             Computer support specialists
## 61 2016 2197        42                             Computer support specialists
## 62 2018 1112        NA                          Computer occupations, all other
## 63 2016  652        50                             Computer support specialists
## 64 2016  678        40                                Computer systems analysts
##          age educ    sex         income income_recode    educ_recode
## 1         58   16 Female $25000 or more         25000    3_Bachelors
## 2         28   15   Male $25000 or more         25000 2_some_college
## 3         42   14   Male $25000 or more         25000 2_some_college
## 4         49   16   Male $25000 or more         25000    3_Bachelors
## 5  No answer   13 Female $25000 or more         25000 2_some_college
## 6         60   16   Male $25000 or more         25000    3_Bachelors
## 7         79   16   Male $25000 or more         25000    3_Bachelors
## 8         22   15   Male $25000 or more         25000 2_some_college
## 9         55   16 Female $25000 or more         25000    3_Bachelors
## 10        36   17   Male $25000 or more         25000     4_Advanced
## 11        34   16   Male $25000 or more         25000    3_Bachelors
## 12        36   19 Female $25000 or more         25000     4_Advanced
## 13        30   14   Male $25000 or more         25000 2_some_college
## 14        59   16 Female $25000 or more         25000    3_Bachelors
## 15        35   16   Male $25000 or more         25000    3_Bachelors
## 16        40   17   Male $25000 or more         25000     4_Advanced
## 17        54   12   Male $25000 or more         25000           1_hs
## 18        42   18   Male $25000 or more         25000     4_Advanced
## 19        28   16   Male $25000 or more         25000    3_Bachelors
## 20        38   16   Male $25000 or more         25000    3_Bachelors
## 21        40   15   Male $25000 or more         25000 2_some_college
## 22        63   17 Female $25000 or more         25000     4_Advanced
## 23        32   16 Female $25000 or more         25000    3_Bachelors
## 24        32   14 Female $25000 or more         25000 2_some_college
## 25        71   20 Female $25000 or more         25000     4_Advanced
## 26        42   12   Male $25000 or more         25000           1_hs
## 27        64   16   Male $25000 or more         25000    3_Bachelors
## 28        37   16   Male $25000 or more         25000    3_Bachelors
## 29        29   18   Male $25000 or more         25000     4_Advanced
## 30        54   15 Female $25000 or more         25000 2_some_college
## 31        57   16 Female $25000 or more         25000    3_Bachelors
## 32        42   16   Male $25000 or more         25000    3_Bachelors
## 33        42   20 Female $25000 or more         25000     4_Advanced
## 34        50   18   Male $25000 or more         25000     4_Advanced
## 35        56   18   Male $25000 or more         25000     4_Advanced
## 36        46   16   Male $25000 or more         25000    3_Bachelors
## 37        52   20 Female $25000 or more         25000     4_Advanced
## 38        43   20   Male $25000 or more         25000     4_Advanced
## 39        27   16 Female $25000 or more         25000    3_Bachelors
## 40        30   16 Female $25000 or more         25000    3_Bachelors
## 41        34    0   Male $25000 or more         25000      0_no_1_hs
## 42        43   15   Male $25000 or more         25000 2_some_college
## 43        29   16 Female $25000 or more         25000    3_Bachelors
## 44        54   17   Male $25000 or more         25000     4_Advanced
## 45        58   16 Female $25000 or more         25000    3_Bachelors
## 46        56   13   Male $25000 or more         25000 2_some_college
## 47        50   16   Male $25000 or more         25000    3_Bachelors
## 48        35   10   Male $25000 or more         25000      0_no_1_hs
## 49        39   18   Male $25000 or more         25000     4_Advanced
## 50        31   16   Male $25000 or more         25000    3_Bachelors
## 51        58   16   Male $25000 or more         25000    3_Bachelors
## 52        38   18   Male $25000 or more         25000     4_Advanced
## 53        66   14 Female $25000 or more         25000 2_some_college
## 54        32   16   Male $25000 or more         25000    3_Bachelors
## 55        37   16   Male $25000 or more         25000    3_Bachelors
## 56        43   14 Female $25000 or more         25000 2_some_college
## 57        28   16   Male $20000 - 24999         22500    3_Bachelors
## 58        26   15   Male $20000 - 24999         22500 2_some_college
## 59        28   12 Female $20000 - 24999         22500           1_hs
## 60        51   13 Female $15000 - 19999         17500 2_some_college
## 61        50   20   Male $10000 - 14999         12500     4_Advanced
## 62        48   18   Male  $8000 to 9999          9000     4_Advanced
## 63        33   19   Male  $7000 to 7999          7500     4_Advanced
## 64        34   18   Male  $5000 to 5999          5500     4_Advanced
a3 = rbind(a1,a2)
a3
##    year   id hours_wkd                                               occupation
## 1  2016  228        40              Network and computer systems administrators
## 2  2016  248        55              Network and computer systems administrators
## 3  2016  316        40              Network and computer systems administrators
## 4  2016 2355        NA              Network and computer systems administrators
## 5  2018 1212        45              Network and computer systems administrators
## 6  2018 1472        40              Network and computer systems administrators
## 7  2016   39        65                Computer and information systems managers
## 8  2016   46        45                              Computer network architects
## 9  2016   81        45                Computer and information systems managers
## 10 2016  198        40                             Computer support specialists
## 11 2016  284        40                                Computer systems analysts
## 12 2016  332        40                          Computer occupations, all other
## 13 2016  363        NA                                Computer systems analysts
## 14 2016  502        NA                             Computer support specialists
## 15 2016  509        51                                Computer systems analysts
## 16 2016  590        40                          Computer occupations, all other
## 17 2016  643        45                                Computer systems analysts
## 18 2016  663        20                                Computer systems analysts
## 19 2016  681        40 Computer, automated teller, and office machine repairers
## 20 2016  729        NA                                Computer systems analysts
## 21 2016  750        40                             Computer support specialists
## 22 2016  941        50                             Computer support specialists
## 23 2016 1065        40               Computer control programmers and operators
## 24 2016 1118        NA                Computer and information systems managers
## 25 2016 1130        60                                       Computer operators
## 26 2016 1137        45                          Computer occupations, all other
## 27 2016 1167        40                             Computer support specialists
## 28 2016 1324        40                                       Computer operators
## 29 2016 1329        40                             Computer support specialists
## 30 2016 1709        NA                             Computer support specialists
## 31 2016 1859         2                                Computer systems analysts
## 32 2016 2087        40                                Computer systems analysts
## 33 2016 2137         5                                Computer systems analysts
## 34 2016 2157        40                                       Computer operators
## 35 2016 2193        45                                     Computer programmers
## 36 2016 2535        49                Computer and information systems managers
## 37 2016 2724        40                                     Computer programmers
## 38 2018    3        40                              Computer network architects
## 39 2018   74        45                                     Computer programmers
## 40 2018  103        40                Computer and information systems managers
## 41 2018  105        NA                                     Computer programmers
## 42 2018  188        60                                Computer systems analysts
## 43 2018  304        40                                Computer systems analysts
## 44 2018  355        45                                Computer systems analysts
## 45 2018  368        45                                Computer systems analysts
## 46 2018  387        35                                Computer systems analysts
## 47 2018  395        40                          Computer occupations, all other
## 48 2018  463        40                             Computer support specialists
## 49 2018  508        40                                Computer systems analysts
## 50 2018  514        40                          Computer occupations, all other
## 51 2018  598        NA                                Computer systems analysts
## 52 2018  603        50                             Computer support specialists
## 53 2018  831        40                                Computer systems analysts
## 54 2018  915        40                                     Computer programmers
## 55 2018 1092        40                Computer and information systems managers
## 56 2018 1175        42 Computer, automated teller, and office machine repairers
## 57 2018 1702        53                             Computer support specialists
## 58 2018 1744        45                Computer and information systems managers
## 59 2018 1913        30               Computer control programmers and operators
## 60 2018 1972        40 Computer, automated teller, and office machine repairers
## 61 2018 2092        45                                     Computer programmers
## 62 2018 2323        40 Computer, automated teller, and office machine repairers
## 63 2016 2071        NA                                     Computer programmers
## 64 2016 2168        40                          Computer occupations, all other
## 65 2018 2302        40                                       Computer operators
## 66 2016  773        24                             Computer support specialists
## 67 2016 2197        42                             Computer support specialists
## 68 2018 1112        NA                          Computer occupations, all other
## 69 2016  652        50                             Computer support specialists
## 70 2016  678        40                                Computer systems analysts
##          age educ    sex         income income_recode    educ_recode
## 1         31   16   Male $25000 or more         25000    3_Bachelors
## 2         49   15   Male $25000 or more         25000 2_some_college
## 3         66   15   Male $25000 or more         25000 2_some_college
## 4         31   16   Male $25000 or more         25000    3_Bachelors
## 5         37   15   Male $25000 or more         25000 2_some_college
## 6         53    9 Female $25000 or more         25000      0_no_1_hs
## 7         58   16 Female $25000 or more         25000    3_Bachelors
## 8         28   15   Male $25000 or more         25000 2_some_college
## 9         42   14   Male $25000 or more         25000 2_some_college
## 10        49   16   Male $25000 or more         25000    3_Bachelors
## 11 No answer   13 Female $25000 or more         25000 2_some_college
## 12        60   16   Male $25000 or more         25000    3_Bachelors
## 13        79   16   Male $25000 or more         25000    3_Bachelors
## 14        22   15   Male $25000 or more         25000 2_some_college
## 15        55   16 Female $25000 or more         25000    3_Bachelors
## 16        36   17   Male $25000 or more         25000     4_Advanced
## 17        34   16   Male $25000 or more         25000    3_Bachelors
## 18        36   19 Female $25000 or more         25000     4_Advanced
## 19        30   14   Male $25000 or more         25000 2_some_college
## 20        59   16 Female $25000 or more         25000    3_Bachelors
## 21        35   16   Male $25000 or more         25000    3_Bachelors
## 22        40   17   Male $25000 or more         25000     4_Advanced
## 23        54   12   Male $25000 or more         25000           1_hs
## 24        42   18   Male $25000 or more         25000     4_Advanced
## 25        28   16   Male $25000 or more         25000    3_Bachelors
## 26        38   16   Male $25000 or more         25000    3_Bachelors
## 27        40   15   Male $25000 or more         25000 2_some_college
## 28        63   17 Female $25000 or more         25000     4_Advanced
## 29        32   16 Female $25000 or more         25000    3_Bachelors
## 30        32   14 Female $25000 or more         25000 2_some_college
## 31        71   20 Female $25000 or more         25000     4_Advanced
## 32        42   12   Male $25000 or more         25000           1_hs
## 33        64   16   Male $25000 or more         25000    3_Bachelors
## 34        37   16   Male $25000 or more         25000    3_Bachelors
## 35        29   18   Male $25000 or more         25000     4_Advanced
## 36        54   15 Female $25000 or more         25000 2_some_college
## 37        57   16 Female $25000 or more         25000    3_Bachelors
## 38        42   16   Male $25000 or more         25000    3_Bachelors
## 39        42   20 Female $25000 or more         25000     4_Advanced
## 40        50   18   Male $25000 or more         25000     4_Advanced
## 41        56   18   Male $25000 or more         25000     4_Advanced
## 42        46   16   Male $25000 or more         25000    3_Bachelors
## 43        52   20 Female $25000 or more         25000     4_Advanced
## 44        43   20   Male $25000 or more         25000     4_Advanced
## 45        27   16 Female $25000 or more         25000    3_Bachelors
## 46        30   16 Female $25000 or more         25000    3_Bachelors
## 47        34    0   Male $25000 or more         25000      0_no_1_hs
## 48        43   15   Male $25000 or more         25000 2_some_college
## 49        29   16 Female $25000 or more         25000    3_Bachelors
## 50        54   17   Male $25000 or more         25000     4_Advanced
## 51        58   16 Female $25000 or more         25000    3_Bachelors
## 52        56   13   Male $25000 or more         25000 2_some_college
## 53        50   16   Male $25000 or more         25000    3_Bachelors
## 54        35   10   Male $25000 or more         25000      0_no_1_hs
## 55        39   18   Male $25000 or more         25000     4_Advanced
## 56        31   16   Male $25000 or more         25000    3_Bachelors
## 57        58   16   Male $25000 or more         25000    3_Bachelors
## 58        38   18   Male $25000 or more         25000     4_Advanced
## 59        66   14 Female $25000 or more         25000 2_some_college
## 60        32   16   Male $25000 or more         25000    3_Bachelors
## 61        37   16   Male $25000 or more         25000    3_Bachelors
## 62        43   14 Female $25000 or more         25000 2_some_college
## 63        28   16   Male $20000 - 24999         22500    3_Bachelors
## 64        26   15   Male $20000 - 24999         22500 2_some_college
## 65        28   12 Female $20000 - 24999         22500           1_hs
## 66        51   13 Female $15000 - 19999         17500 2_some_college
## 67        50   20   Male $10000 - 14999         12500     4_Advanced
## 68        48   18   Male  $8000 to 9999          9000     4_Advanced
## 69        33   19   Male  $7000 to 7999          7500     4_Advanced
## 70        34   18   Male  $5000 to 5999          5500     4_Advanced
a4 = subset(a3, sex == 'Male')%>%group_by(educ_recode)%>% summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())
a5 = subset(a3,sex == 'Female')%>%group_by(educ_recode)%>%summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n()) 
a4
## # A tibble: 5 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0_no_1_hs       25000   25000     2
## 2 1_hs            25000   25000     2
## 3 2_some_college  24773.  25000    11
## 4 3_Bachelors     24868.  25000    19
## 5 4_Advanced      20321.  25000    14
a5
## # A tibble: 5 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0_no_1_hs        25000  25000     1
## 2 1_hs             22500  22500     1
## 3 2_some_college   23750  25000     6
## 4 3_Bachelors      25000  25000     9
## 5 4_Advanced       25000  25000     5
ggplot(a4, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+ xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Male income in computer area")
## Warning: Ignoring unknown parameters: varwidth

ggplot(a5, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Female income in computer area")
## Warning: Ignoring unknown parameters: varwidth

a1 = q1%>%
  filter(grepl('worker',occupation))

a2 = q1%>%
  filter(grepl('Workerr',occupation))
a1
##     year   id hours_wkd
## 1   2016   32        50
## 2   2016   44        45
## 3   2016   56        35
## 4   2016   86        48
## 5   2016   96        NA
## 6   2016  101        37
## 7   2016  127        40
## 8   2016  151        60
## 9   2016  159        40
## 10  2016  176        40
## 11  2016  179        16
## 12  2016  216        NA
## 13  2016  219        45
## 14  2016  229        40
## 15  2016  244        48
## 16  2016  256        NA
## 17  2016  269        52
## 18  2016  286        75
## 19  2016  293        55
## 20  2016  295        46
## 21  2016  306        40
## 22  2016  327        50
## 23  2016  337        60
## 24  2016  338         1
## 25  2016  349        41
## 26  2016  358        42
## 27  2016  365        60
## 28  2016  384        40
## 29  2016  391        NA
## 30  2016  394        60
## 31  2016  401        40
## 32  2016  410        35
## 33  2016  430        32
## 34  2016  434        40
## 35  2016  448        40
## 36  2016  466        10
## 37  2016  475        40
## 38  2016  497        45
## 39  2016  510        45
## 40  2016  514        40
## 41  2016  515        48
## 42  2016  564        42
## 43  2016  569        50
## 44  2016  572        NA
## 45  2016  581        25
## 46  2016  583        24
## 47  2016  599        NA
## 48  2016  665        40
## 49  2016  685        NA
## 50  2016  722        68
## 51  2016  742        58
## 52  2016  752        40
## 53  2016  785        55
## 54  2016  824        50
## 55  2016  825        50
## 56  2016  829        62
## 57  2016  830        61
## 58  2016  838        64
## 59  2016  849        50
## 60  2016  889        30
## 61  2016  903        65
## 62  2016  909        45
## 63  2016  926        89
## 64  2016  934        50
## 65  2016  954        60
## 66  2016  962        40
## 67  2016 1009        50
## 68  2016 1028        46
## 69  2016 1046        52
## 70  2016 1057        40
## 71  2016 1061        50
## 72  2016 1092        40
## 73  2016 1095        40
## 74  2016 1097        55
## 75  2016 1106        55
## 76  2016 1113         8
## 77  2016 1134        58
## 78  2016 1136        40
## 79  2016 1163        70
## 80  2016 1166        NA
## 81  2016 1193        40
## 82  2016 1196        50
## 83  2016 1197        40
## 84  2016 1211        60
## 85  2016 1229        NA
## 86  2016 1230        50
## 87  2016 1236        40
## 88  2016 1238        40
## 89  2016 1258        55
## 90  2016 1286        NA
## 91  2016 1292        60
## 92  2016 1335        NA
## 93  2016 1340        35
## 94  2016 1373        50
## 95  2016 1389        65
## 96  2016 1406        86
## 97  2016 1419        45
## 98  2016 1421        40
## 99  2016 1432        40
## 100 2016 1434        40
## 101 2016 1451        40
## 102 2016 1477        NA
## 103 2016 1500        60
## 104 2016 1513        50
## 105 2016 1565        54
## 106 2016 1589        50
## 107 2016 1591        NA
## 108 2016 1593        NA
## 109 2016 1600        40
## 110 2016 1617        40
## 111 2016 1618        35
## 112 2016 1663        40
## 113 2016 1664        40
## 114 2016 1678        60
## 115 2016 1692        47
## 116 2016 1706        40
## 117 2016 1711        NA
## 118 2016 1714        56
## 119 2016 1735        40
## 120 2016 1736        NA
## 121 2016 1813         4
## 122 2016 1816        30
## 123 2016 1827        40
## 124 2016 1835        40
## 125 2016 1844        65
## 126 2016 1846        40
## 127 2016 1858        40
## 128 2016 1906        40
## 129 2016 1913        46
## 130 2016 1929        40
## 131 2016 1951        56
## 132 2016 2008        60
## 133 2016 2009        40
## 134 2016 2010        48
## 135 2016 2029        NA
## 136 2016 2058        35
## 137 2016 2059        22
## 138 2016 2067        NA
## 139 2016 2084        72
## 140 2016 2100        10
## 141 2016 2108        25
## 142 2016 2118        50
## 143 2016 2134        44
## 144 2016 2142        42
## 145 2016 2143        45
## 146 2016 2166        40
## 147 2016 2188        20
## 148 2016 2192        46
## 149 2016 2234        40
## 150 2016 2241        47
## 151 2016 2275        40
## 152 2016 2305        40
## 153 2016 2319        40
## 154 2016 2341        32
## 155 2016 2352        50
## 156 2016 2373        60
## 157 2016 2385        65
## 158 2016 2388        NA
## 159 2016 2391        40
## 160 2016 2394        47
## 161 2016 2417        40
## 162 2016 2430        39
## 163 2016 2458        40
## 164 2016 2479        NA
## 165 2016 2490        NA
## 166 2016 2502        40
## 167 2016 2528        40
## 168 2016 2542        NA
## 169 2016 2547        57
## 170 2016 2568        40
## 171 2016 2571        50
## 172 2016 2578        NA
## 173 2016 2579        40
## 174 2016 2585        65
## 175 2016 2592        NA
## 176 2016 2638        40
## 177 2016 2645        50
## 178 2016 2677        75
## 179 2016 2679        56
## 180 2016 2682        40
## 181 2016 2684        50
## 182 2016 2734        45
## 183 2016 2756        38
## 184 2016 2764        40
## 185 2016 2776        40
## 186 2016 2777        60
## 187 2016 2810        40
## 188 2016 2852        60
## 189 2016 2863        30
## 190 2018   84        40
## 191 2018   91        NA
## 192 2018   98        NA
## 193 2018  115        40
## 194 2018  141        40
## 195 2018  157        52
## 196 2018  190        60
## 197 2018  196        45
## 198 2018  199        40
## 199 2018  202        NA
## 200 2018  207        48
## 201 2018  212        54
## 202 2018  220        45
## 203 2018  228        20
## 204 2018  242        45
## 205 2018  257        48
## 206 2018  260        40
## 207 2018  267        42
## 208 2018  271        50
## 209 2018  279        40
## 210 2018  288        40
## 211 2018  294        40
## 212 2018  332        40
## 213 2018  337        60
## 214 2018  341        40
## 215 2018  364        30
## 216 2018  386        30
## 217 2018  401        32
## 218 2018  410        40
## 219 2018  420        NA
## 220 2018  423        41
## 221 2018  440        45
## 222 2018  446        48
## 223 2018  472        40
## 224 2018  474        57
## 225 2018  491        50
## 226 2018  501        44
## 227 2018  507        50
## 228 2018  523        60
## 229 2018  530        45
## 230 2018  567        40
## 231 2018  574        60
## 232 2018  633        40
## 233 2018  637        40
## 234 2018  642        50
## 235 2018  681        40
## 236 2018  696        60
## 237 2018  708        40
## 238 2018  727        53
## 239 2018  746        50
## 240 2018  749        60
## 241 2018  769        16
## 242 2018  778        50
## 243 2018  840        30
## 244 2018  852        NA
## 245 2018  859         1
## 246 2018  861        60
## 247 2018  884        40
## 248 2018  896        61
## 249 2018  900        56
## 250 2018  903        43
## 251 2018  913        40
## 252 2018  916        45
## 253 2018  960        55
## 254 2018  965        55
## 255 2018  971        25
## 256 2018  977        60
## 257 2018 1016        70
## 258 2018 1018        40
## 259 2018 1026        40
## 260 2018 1029        51
## 261 2018 1058        40
## 262 2018 1075        40
## 263 2018 1095        40
## 264 2018 1096        40
## 265 2018 1123        40
## 266 2018 1137        60
## 267 2018 1142        40
## 268 2018 1190        38
## 269 2018 1213        40
## 270 2018 1214        40
## 271 2018 1219        55
## 272 2018 1261        40
## 273 2018 1302        NA
## 274 2018 1305        40
## 275 2018 1311        30
## 276 2018 1314        40
## 277 2018 1353        NA
## 278 2018 1397        65
## 279 2018 1410        40
## 280 2018 1417        40
## 281 2018 1434        50
## 282 2018 1453        40
## 283 2018 1471        25
## 284 2018 1473        40
## 285 2018 1487        50
## 286 2018 1505        72
## 287 2018 1524        50
## 288 2018 1533        76
## 289 2018 1658        50
## 290 2018 1669        50
## 291 2018 1679        37
## 292 2018 1688        55
## 293 2018 1725        60
## 294 2018 1730        55
## 295 2018 1765        40
## 296 2018 1797        48
## 297 2018 1825        35
## 298 2018 1848        57
## 299 2018 1853        44
## 300 2018 1868        86
## 301 2018 1871        89
## 302 2018 1897        54
## 303 2018 1907        70
## 304 2018 1956        60
## 305 2018 1958        56
## 306 2018 1974        44
## 307 2018 2003        45
## 308 2018 2025        80
## 309 2018 2032        40
## 310 2018 2035        30
## 311 2018 2038        35
## 312 2018 2043        43
## 313 2018 2050        65
## 314 2018 2077        48
## 315 2018 2087        40
## 316 2018 2103        48
## 317 2018 2151        NA
## 318 2018 2153        40
## 319 2018 2228        40
## 320 2018 2248        40
## 321 2018 2273        57
## 322 2018 2286        47
## 323 2016   97        NA
## 324 2016  194        40
## 325 2016  218        50
## 326 2016  242        42
## 327 2016  318        26
## 328 2016  568        50
## 329 2016  624        40
## 330 2016  891        36
## 331 2016  900        50
## 332 2016 1056        40
## 333 2016 1089        70
## 334 2016 1100        32
## 335 2016 1214        42
## 336 2016 1262        40
## 337 2016 1658        40
## 338 2016 1749        65
## 339 2016 1979        40
## 340 2016 2136        42
## 341 2016 2161        42
## 342 2016 2214        40
## 343 2016 2224        15
## 344 2016 2259        40
## 345 2016 2473        40
## 346 2016 2476        40
## 347 2016 2560        44
## 348 2016 2821        40
## 349 2018   62        25
## 350 2018  198        35
## 351 2018  565        40
## 352 2018  726        36
## 353 2018  794        32
## 354 2018  801        NA
## 355 2018  816        28
## 356 2018  843        40
## 357 2018  912        NA
## 358 2018 1044        40
## 359 2018 1201        48
## 360 2018 1254        20
## 361 2018 1439        35
## 362 2018 1535        60
## 363 2018 1639        60
## 364 2018 1651        40
## 365 2018 1738        40
## 366 2018 1891        55
## 367 2018 2068        40
## 368 2018 2287        43
## 369 2018 2313        NA
## 370 2016   89        40
## 371 2016  263        40
## 372 2016  659        60
## 373 2016  670        34
## 374 2016  797        36
## 375 2016  839        NA
## 376 2016  899         6
## 377 2016  998        NA
## 378 2016 1311        36
## 379 2016 1405        60
## 380 2016 1540        NA
## 381 2016 1789        NA
## 382 2016 2033        30
## 383 2016 2282        30
## 384 2016 2397        48
## 385 2016 2480        89
## 386 2016 2530        NA
## 387 2016 2587        NA
## 388 2016 2633        25
## 389 2016 2817        33
## 390 2018   25        15
## 391 2018  482        30
## 392 2018  608        30
## 393 2018  864        NA
## 394 2018 1077        NA
## 395 2018 1364        NA
## 396 2018 1465        40
## 397 2018 1794        51
## 398 2018 1859        40
## 399 2018 1980        40
## 400 2016    4        30
## 401 2016  239        30
## 402 2016  265        28
## 403 2016  282        NA
## 404 2016  527        23
## 405 2016  582        NA
## 406 2016  746        30
## 407 2016  826        NA
## 408 2016  992        40
## 409 2016 1363        55
## 410 2016 1447        20
## 411 2016 1583        37
## 412 2016 1662        30
## 413 2016 1742        NA
## 414 2016 2309         8
## 415 2016 2386        55
## 416 2016 2465        32
## 417 2016 2753        63
## 418 2016 2827        NA
## 419 2016 2843        42
## 420 2018  262        38
## 421 2018  524        25
## 422 2018  787        11
## 423 2018  788        24
## 424 2018  798        89
## 425 2018  821        45
## 426 2018  849        28
## 427 2018  999        36
## 428 2018 1057        44
## 429 2018 1070        50
## 430 2018 1114        40
## 431 2018 1457        40
## 432 2018 1486        NA
## 433 2018 1534        45
## 434 2018 1572        NA
## 435 2018 2081        13
## 436 2018 2254        60
## 437 2016  939        40
## 438 2016 1186        NA
## 439 2016 1686        18
## 440 2016 2344        43
## 441 2016 2750        NA
## 442 2018  357        37
## 443 2018 1604        40
## 444 2018 1955        45
## 445 2018 2141        NA
## 446 2018 2181        30
## 447 2016 1231        40
## 448 2016 1635        50
## 449 2016 1854        50
## 450 2016 2389        30
## 451 2018  815        20
## 452 2018  967        21
## 453 2018 1544        24
## 454 2018 1975        35
## 455 2018 1979        45
## 456 2016  574        50
## 457 2016  733        NA
## 458 2016 1850        30
## 459 2016 2027        NA
## 460 2016 2043        28
## 461 2016 2221        28
## 462 2016 2410        26
## 463 2016 2419        35
## 464 2018 2326        55
## 465 2016   55         4
## 466 2016  180        10
## 467 2016  606        16
## 468 2016  793        NA
## 469 2016  970        NA
## 470 2016 1682        20
## 471 2018  600        38
## 472 2018  841        20
## 473 2018 2263        35
## 474 2016  133        NA
## 475 2016  209        12
## 476 2016  351        30
## 477 2016  699        25
## 478 2016 1750        NA
## 479 2016 1928        32
## 480 2018  610        45
## 481 2018 1125        36
## 482 2016  199        25
## 483 2016  304        68
## 484 2016  975         8
## 485 2016 1003        40
## 486 2016 1890        NA
## 487 2018 1249        40
## 488 2018 1423        NA
## 489 2018 1455        NA
## 490 2018 1699        55
## 491 2018 1828        NA
## 492 2018 1905        40
## 493 2018 2066        20
## 494 2016   53        20
## 495 2016  913        33
## 496 2016  964         7
## 497 2016 1250        45
## 498 2016 1307         9
## 499 2016 2042        22
## 500 2016 2116        19
## 501 2016 2182        NA
## 502 2016 2299        NA
## 503 2016 2363        20
## 504 2016 2390        20
## 505 2016 2549        48
## 506 2016 2856        NA
## 507 2018    9        40
## 508 2018  721        NA
## 509 2018  907        40
## 510 2018 1873        42
## 511 2018 2276        50
## 512 2016  296        27
## 513 2016  731        25
## 514 2016  854        15
## 515 2016 1529        NA
## 516 2016 2174         4
## 517 2016 2763        NA
## 518 2018 1115        10
## 519 2018 1775        40
## 520 2018 1884        40
## 521 2018 2127        NA
## 522 2018 2304        NA
##                                                                          occupation
## 1                                          First-line supervisors of gaming workers
## 2                               Miscellaneous social scientists and related workers
## 3                                         Miscellaneous personal appearance workers
## 4                                              Sales and related workers, all other
## 5                                                       Artists and related workers
## 6                                               Miscellaneous legal support workers
## 7                        First-line supervisors of production and operating workers
## 8                                           Musicians, singers, and related workers
## 9                                                           Human resources workers
## 10              First-line supervisors of office and administrative support workers
## 11                                  Athletes, coaches, umpires, and related workers
## 12                                           Driver/sales workers and truck drivers
## 13             First-line supervisors of construction trades and extraction workers
## 14              First-line supervisors of office and administrative support workers
## 15                                          Welding, soldering, and brazing workers
## 16                                           Driver/sales workers and truck drivers
## 17                                           Driver/sales workers and truck drivers
## 18                                                                   Social workers
## 19                                                          Human resources workers
## 20                                          Maintenance and repair workers, general
## 21                                                                   Social workers
## 22                                                    Production workers, all other
## 23                                   First-line supervisors of retail sales workers
## 24                                                    Production workers, all other
## 25                                                                  Cutting workers
## 26              First-line supervisors of office and administrative support workers
## 27                    Photographic process workers and processing machine operators
## 28                                   First-line supervisors of retail sales workers
## 29                                                                   Social workers
## 30                              Miscellaneous social scientists and related workers
## 31                                                      Grounds maintenance workers
## 32                                                          Human resources workers
## 33                                              Hazardous materials removal workers
## 34                                                               Insulation workers
## 35                                                      Grounds maintenance workers
## 36                                  Athletes, coaches, umpires, and related workers
## 37                                                          Human resources workers
## 38                                                         Food preparation workers
## 39                                                                   Social workers
## 40                                          Welding, soldering, and brazing workers
## 41                               First-line supervisors of non-retail sales workers
## 42                                   First-line supervisors of retail sales workers
## 43                                           Driver/sales workers and truck drivers
## 44                                                   Recreation and fitness workers
## 45                              Other installation, maintenance, and repair workers
## 46                                     Personal care and service workers, all other
## 47                                   First-line supervisors of retail sales workers
## 48                                                     Religious workers, all other
## 49                                               Material moving workers, all other
## 50                   First-line supervisors of food preparation and serving workers
## 51                                                                Childcare workers
## 52                                        Miscellaneous personal appearance workers
## 53                                                                Childcare workers
## 54                                              Miscellaneous legal support workers
## 55                                   First-line supervisors of retail sales workers
## 56                                               Material moving workers, all other
## 57                                           Driver/sales workers and truck drivers
## 58                       First-line supervisors of production and operating workers
## 59                                             Sales and related workers, all other
## 60                                             Sales and related workers, all other
## 61                                                    Production workers, all other
## 62                                               Material moving workers, all other
## 63                                                          Human resources workers
## 64             First-line supervisors of construction trades and extraction workers
## 65                                                                Childcare workers
## 66                                           Driver/sales workers and truck drivers
## 67                                               Miscellaneous agricultural workers
## 68              First-line supervisors of office and administrative support workers
## 69                                                    Production workers, all other
## 70                                                                   Social workers
## 71                                                                   Social workers
## 72                                   First-line supervisors of retail sales workers
## 73                    First-line supervisors of housekeeping and janitorial workers
## 74                                          Welding, soldering, and brazing workers
## 75                                           Driver/sales workers and truck drivers
## 76              First-line supervisors of office and administrative support workers
## 77                                          Welding, soldering, and brazing workers
## 78                                          Welding, soldering, and brazing workers
## 79                                           Driver/sales workers and truck drivers
## 80                                           Driver/sales workers and truck drivers
## 81                                   First-line supervisors of retail sales workers
## 82              First-line supervisors of office and administrative support workers
## 83                                                          Human resources workers
## 84              First-line supervisors of office and administrative support workers
## 85                                   First-line supervisors of retail sales workers
## 86                                                                   Social workers
## 87                                             Sales and related workers, all other
## 88                                               Material moving workers, all other
## 89                                   First-line supervisors of retail sales workers
## 90                                                    Production workers, all other
## 91             First-line supervisors of construction trades and extraction workers
## 92                                   First-line supervisors of retail sales workers
## 93                                           Driver/sales workers and truck drivers
## 94                                                                   Social workers
## 95                       First-line supervisors of production and operating workers
## 96                                          Maintenance and repair workers, general
## 97              First-line supervisors of office and administrative support workers
## 98                               First-line supervisors of non-retail sales workers
## 99                   First-line supervisors of food preparation and serving workers
## 100                                  First-line supervisors of retail sales workers
## 101            First-line supervisors of construction trades and extraction workers
## 102                            Office and administrative support workers, all other
## 103                              First-line supervisors of non-retail sales workers
## 104                              First-line supervisors of non-retail sales workers
## 105            First-line supervisors of construction trades and extraction workers
## 106 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 107                                                     Highway maintenance workers
## 108                                                                  Social workers
## 109                                                         Human resources workers
## 110                            Office and administrative support workers, all other
## 111                                                         Human resources workers
## 112                            Office and administrative support workers, all other
## 113                                            Sales and related workers, all other
## 114                                 Athletes, coaches, umpires, and related workers
## 115             First-line supervisors of office and administrative support workers
## 116                       Supervisors of transportation and material moving workers
## 117                                          Driver/sales workers and truck drivers
## 118                                                   Production workers, all other
## 119                                  First-line supervisors of retail sales workers
## 120                                          Driver/sales workers and truck drivers
## 121                                                     Grounds maintenance workers
## 122                                                            Pest control workers
## 123                                                                  Social workers
## 124                                          Driver/sales workers and truck drivers
## 125                                  First-line supervisors of retail sales workers
## 126                             Other installation, maintenance, and repair workers
## 127                      Miscellaneous entertainment attendants and related workers
## 128                                  First-line supervisors of retail sales workers
## 129                      First-line supervisors of production and operating workers
## 130                                                                  Social workers
## 131                                                   Production workers, all other
## 132                       Supervisors of transportation and material moving workers
## 133                                                   Production workers, all other
## 134                     Crushing, grinding, polishing, mixing, and blending workers
## 135                                          Driver/sales workers and truck drivers
## 136                                                  Recreation and fitness workers
## 137                            Office and administrative support workers, all other
## 138                                                   Production workers, all other
## 139                                          Driver/sales workers and truck drivers
## 140                                 Athletes, coaches, umpires, and related workers
## 141                                                               Childcare workers
## 142                  First-line supervisors of food preparation and serving workers
## 143                                                Prepress technicians and workers
## 144                                                         Human resources workers
## 145                                          Driver/sales workers and truck drivers
## 146                                         Welding, soldering, and brazing workers
## 147                                  Other education, training, and library workers
## 148                                                         Human resources workers
## 149                                                     Grounds maintenance workers
## 150                                          Driver/sales workers and truck drivers
## 151                                                        Other extraction workers
## 152                                         Maintenance and repair workers, general
## 153                                  First-line supervisors of retail sales workers
## 154                                  First-line supervisors of retail sales workers
## 155                                  Other education, training, and library workers
## 156             First-line supervisors of office and administrative support workers
## 157                                              Miscellaneous agricultural workers
## 158                First-line supervisors of farming, fishing, and forestry workers
## 159                              First-line supervisors of non-retail sales workers
## 160                                                 Forest and conservation workers
## 161                      First-line supervisors of production and operating workers
## 162             First-line supervisors of office and administrative support workers
## 163                            Office and administrative support workers, all other
## 164                              First-line supervisors of non-retail sales workers
## 165                                                     Artists and related workers
## 166                                                                  Social workers
## 167             First-line supervisors of office and administrative support workers
## 168                                          Driver/sales workers and truck drivers
## 169                     Explosives workers, ordnance handling experts, and blasters
## 170                             Other installation, maintenance, and repair workers
## 171                                                                  Social workers
## 172                                                         Human resources workers
## 173                                  First-line supervisors of retail sales workers
## 174                                          Driver/sales workers and truck drivers
## 175                                                   Production workers, all other
## 176                  First-line supervisors of food preparation and serving workers
## 177                       Supervisors of transportation and material moving workers
## 178                                          Driver/sales workers and truck drivers
## 179             First-line supervisors of office and administrative support workers
## 180                                         Welding, soldering, and brazing workers
## 181                                              Miscellaneous agricultural workers
## 182                              First-line supervisors of non-retail sales workers
## 183                                          Driver/sales workers and truck drivers
## 184                                         Welding, soldering, and brazing workers
## 185             First-line supervisors of office and administrative support workers
## 186                      First-line supervisors of production and operating workers
## 187                                                             Sheet metal workers
## 188                                  First-line supervisors of retail sales workers
## 189                                  Miscellaneous media and communication  workers
## 190                  First-line supervisors of food preparation and serving workers
## 191                                 Judges, magistrates, and other judicial workers
## 192                                                                  Social workers
## 193                                            Sales and related workers, all other
## 194                                         Maintenance and repair workers, general
## 195                                            Sales and related workers, all other
## 196                                              Food processing workers, all other
## 197                              First-line supervisors of non-retail sales workers
## 198             First-line supervisors of office and administrative support workers
## 199                                  First-line supervisors of retail sales workers
## 200                                  First-line supervisors of retail sales workers
## 201                      First-line supervisors of production and operating workers
## 202                                                         Human resources workers
## 203                                                        Food preparation workers
## 204 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 205                      First-line supervisors of production and operating workers
## 206                                         Maintenance and repair workers, general
## 207             First-line supervisors of office and administrative support workers
## 208                                    Metal workers and plastic workers, all other
## 209            First-line supervisors of construction trades and extraction workers
## 210             First-line supervisors of office and administrative support workers
## 211                                  First-line supervisors of retail sales workers
## 212                                 Judges, magistrates, and other judicial workers
## 213                            Office and administrative support workers, all other
## 214                                             Miscellaneous legal support workers
## 215             First-line supervisors of office and administrative support workers
## 216                            Office and administrative support workers, all other
## 217                                  First-line supervisors of retail sales workers
## 218                                         Welding, soldering, and brazing workers
## 219                                                                  Social workers
## 220                                                   Production workers, all other
## 221                                  First-line supervisors of retail sales workers
## 222                                  First-line supervisors of retail sales workers
## 223                                                                  Social workers
## 224                                                         Human resources workers
## 225             First-line supervisors of office and administrative support workers
## 226                                                                Painting workers
## 227                                             Miscellaneous legal support workers
## 228                                         Welding, soldering, and brazing workers
## 229                              First-line supervisors of non-retail sales workers
## 230                                             Miscellaneous legal support workers
## 231                                          Driver/sales workers and truck drivers
## 232             First-line supervisors of office and administrative support workers
## 233                                              Material moving workers, all other
## 234                                                   Production workers, all other
## 235                  First-line supervisors of food preparation and serving workers
## 236                                          Driver/sales workers and truck drivers
## 237                   First-line supervisors of housekeeping and janitorial workers
## 238                                          Driver/sales workers and truck drivers
## 239                          Helpers—installation,  maintenance, and repair workers
## 240                                          Driver/sales workers and truck drivers
## 241                                                     Highway maintenance workers
## 242                                          Driver/sales workers and truck drivers
## 243                                                     Grounds maintenance workers
## 244                                         Welding, soldering, and brazing workers
## 245                              First-line supervisors of non-retail sales workers
## 246             First-line supervisors of office and administrative support workers
## 247                                                    Religious workers, all other
## 248                                          Driver/sales workers and truck drivers
## 249                                                   Production workers, all other
## 250                                                   Production workers, all other
## 251                            Office and administrative support workers, all other
## 252             First-line supervisors of office and administrative support workers
## 253                                              Miscellaneous agricultural workers
## 254                      First-line supervisors of production and operating workers
## 255                                               Structural iron and steel workers
## 256                                          Driver/sales workers and truck drivers
## 257                                         Maintenance and repair workers, general
## 258             First-line supervisors of office and administrative support workers
## 259            First-line supervisors of construction trades and extraction workers
## 260                                                   Production workers, all other
## 261                                         Welding, soldering, and brazing workers
## 262                                                         Human resources workers
## 263             First-line supervisors of office and administrative support workers
## 264                              First-line supervisors of personal service workers
## 265                                  Miscellaneous media and communication  workers
## 266                                          Driver/sales workers and truck drivers
## 267                                  First-line supervisors of retail sales workers
## 268                                                         Human resources workers
## 269                                                     Grounds maintenance workers
## 270                                  First-line supervisors of retail sales workers
## 271                          Helpers—installation,  maintenance, and repair workers
## 272                              First-line supervisors of non-retail sales workers
## 273             First-line supervisors of office and administrative support workers
## 274                                             Print binding and finishing workers
## 275                                          Driver/sales workers and truck drivers
## 276                                         Maintenance and repair workers, general
## 277             First-line supervisors of office and administrative support workers
## 278                                                            Pest control workers
## 279             First-line supervisors of office and administrative support workers
## 280                   First-line supervisors of housekeeping and janitorial workers
## 281                                                                  Social workers
## 282             First-line supervisors of office and administrative support workers
## 283            First-line supervisors of construction trades and extraction workers
## 284                                          Driver/sales workers and truck drivers
## 285                                  First-line supervisors of retail sales workers
## 286                                              Miscellaneous agricultural workers
## 287                      First-line supervisors of production and operating workers
## 288                                          Driver/sales workers and truck drivers
## 289                                  First-line supervisors of retail sales workers
## 290                          Helpers—installation,  maintenance, and repair workers
## 291                                                                  Social workers
## 292                              First-line supervisors of non-retail sales workers
## 293                                  First-line supervisors of retail sales workers
## 294                     Crushing, grinding, polishing, mixing, and blending workers
## 295                                                             Sheet metal workers
## 296                                                                  Social workers
## 297                                             Miscellaneous legal support workers
## 298                                                                  Social workers
## 299                                                     Grounds maintenance workers
## 300                                                        Other extraction workers
## 301                                              Material moving workers, all other
## 302                                          Driver/sales workers and truck drivers
## 303            First-line supervisors of construction trades and extraction workers
## 304                                                        Food preparation workers
## 305             First-line supervisors of office and administrative support workers
## 306             First-line supervisors of office and administrative support workers
## 307             First-line supervisors of office and administrative support workers
## 308                  First-line supervisors of fire fighting and prevention workers
## 309                                                         Human resources workers
## 310                                             Miscellaneous legal support workers
## 311            First-line supervisors of construction trades and extraction workers
## 312                                                     Grounds maintenance workers
## 313                                                     Highway maintenance workers
## 314                                                                  Social workers
## 315                                                     Highway maintenance workers
## 316                                                             Sheet metal workers
## 317                                          Driver/sales workers and truck drivers
## 318                                                        Food preparation workers
## 319            First-line supervisors of construction trades and extraction workers
## 320            First-line supervisors of construction trades and extraction workers
## 321                                  First-line supervisors of retail sales workers
## 322                  First-line supervisors of food preparation and serving workers
## 323                                    Personal care and service workers, all other
## 324                              First-line supervisors of personal service workers
## 325                                          Driver/sales workers and truck drivers
## 326                                            Sales and related workers, all other
## 327            First-line supervisors of construction trades and extraction workers
## 328                                                     Grounds maintenance workers
## 329                                                   Production workers, all other
## 330                  First-line supervisors of food preparation and serving workers
## 331                                  First-line supervisors of retail sales workers
## 332                                                    Religious workers, all other
## 333                      First-line supervisors of production and operating workers
## 334              Combined food preparation and serving workers, including fast food
## 335                                  First-line supervisors of retail sales workers
## 336                                                   Production workers, all other
## 337                                             Miscellaneous legal support workers
## 338                                                                  Social workers
## 339             First-line supervisors of office and administrative support workers
## 340                  First-line supervisors of food preparation and serving workers
## 341            First-line supervisors of construction trades and extraction workers
## 342                                                     Parking enforcement workers
## 343                                                     Grounds maintenance workers
## 344                                                     Grounds maintenance workers
## 345                                  First-line supervisors of retail sales workers
## 346                                          Driver/sales workers and truck drivers
## 347                                       Miscellaneous personal appearance workers
## 348                   Butchers and other meat, poultry, and fish processing workers
## 349                                                               Childcare workers
## 350                                                     Grounds maintenance workers
## 351                                  First-line supervisors of retail sales workers
## 352            First-line supervisors of construction trades and extraction workers
## 353                  First-line supervisors of food preparation and serving workers
## 354 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 355                                                               Childcare workers
## 356                                                          Animal control workers
## 357                            Textile, apparel, and furnishings workers, all other
## 358                                 Athletes, coaches, umpires, and related workers
## 359                                                     Grounds maintenance workers
## 360                            Office and administrative support workers, all other
## 361                              First-line supervisors of non-retail sales workers
## 362            First-line supervisors of construction trades and extraction workers
## 363                                  First-line supervisors of retail sales workers
## 364                                                         Gaming services workers
## 365                                                                  Social workers
## 366                     Crushing, grinding, polishing, mixing, and blending workers
## 367                   First-line supervisors of housekeeping and janitorial workers
## 368                                              Food processing workers, all other
## 369                   Butchers and other meat, poultry, and fish processing workers
## 370              Combined food preparation and serving workers, including fast food
## 371             First-line supervisors of office and administrative support workers
## 372            First-line supervisors of construction trades and extraction workers
## 373              Combined food preparation and serving workers, including fast food
## 374                            Textile, apparel, and furnishings workers, all other
## 375                                          Driver/sales workers and truck drivers
## 376                                                     Grounds maintenance workers
## 377                                                     Grounds maintenance workers
## 378              Combined food preparation and serving workers, including fast food
## 379                                    Personal care and service workers, all other
## 380                                  First-line supervisors of retail sales workers
## 381                                          Driver/sales workers and truck drivers
## 382                                          Driver/sales workers and truck drivers
## 383                                          Driver/sales workers and truck drivers
## 384                                                     Grounds maintenance workers
## 385        Door-to-door sales workers, news and street vendors, and related workers
## 386                                                     Grounds maintenance workers
## 387                          Helpers—installation,  maintenance, and repair workers
## 388                                                    Religious workers, all other
## 389                                            Sales and related workers, all other
## 390                                                                  Social workers
## 391                                       Miscellaneous personal appearance workers
## 392                                          Driver/sales workers and truck drivers
## 393                                 Athletes, coaches, umpires, and related workers
## 394                  First-line supervisors of food preparation and serving workers
## 395                      First-line supervisors of production and operating workers
## 396                                          Driver/sales workers and truck drivers
## 397                                                             Sheet metal workers
## 398              Combined food preparation and serving workers, including fast food
## 399                First-line supervisors of farming, fishing, and forestry workers
## 400                                                               Childcare workers
## 401                                                               Childcare workers
## 402                                                         Human resources workers
## 403                                                               Childcare workers
## 404                                                               Childcare workers
## 405                                    Metal workers and plastic workers, all other
## 406                                                        Food preparation workers
## 407                  First-line supervisors of food preparation and serving workers
## 408                                                               Childcare workers
## 409                                                     Grounds maintenance workers
## 410             First-line supervisors of office and administrative support workers
## 411        Door-to-door sales workers, news and street vendors, and related workers
## 412                                 Athletes, coaches, umpires, and related workers
## 413                                          Driver/sales workers and truck drivers
## 414                                                     Grounds maintenance workers
## 415                                              Miscellaneous agricultural workers
## 416                                                        Food preparation workers
## 417                                         Maintenance and repair workers, general
## 418 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 419                                                     Grounds maintenance workers
## 420                                  First-line supervisors of retail sales workers
## 421                                          Driver/sales workers and truck drivers
## 422                                                  Recreation and fitness workers
## 423             First-line supervisors of office and administrative support workers
## 424                                                               Childcare workers
## 425                            Office and administrative support workers, all other
## 426                                          Driver/sales workers and truck drivers
## 427                                  First-line supervisors of retail sales workers
## 428                                  First-line supervisors of retail sales workers
## 429                                                         Human resources workers
## 430                                                     Grounds maintenance workers
## 431                                                     Grounds maintenance workers
## 432                                 Athletes, coaches, umpires, and related workers
## 433                                                     Grounds maintenance workers
## 434              Combined food preparation and serving workers, including fast food
## 435                                                               Childcare workers
## 436                                                     Grounds maintenance workers
## 437                                                                  Social workers
## 438                                              Miscellaneous agricultural workers
## 439                                                     Grounds maintenance workers
## 440                                                        Food preparation workers
## 441                First-line supervisors of farming, fishing, and forestry workers
## 442                                                               Childcare workers
## 443                                                    Religious workers, all other
## 444                                                             Sheet metal workers
## 445                                  First-line supervisors of retail sales workers
## 446              Combined food preparation and serving workers, including fast food
## 447                                                               Childcare workers
## 448                                  First-line supervisors of retail sales workers
## 449                                  First-line supervisors of retail sales workers
## 450                                              Miscellaneous agricultural workers
## 451                                                        Food preparation workers
## 452              Combined food preparation and serving workers, including fast food
## 453                                              Miscellaneous agricultural workers
## 454                                                        Food preparation workers
## 455                                              Miscellaneous agricultural workers
## 456                                          Driver/sales workers and truck drivers
## 457                                                        Food preparation workers
## 458                                         Maintenance and repair workers, general
## 459                                    Metal workers and plastic workers, all other
## 460                                                        Food preparation workers
## 461                              First-line supervisors of non-retail sales workers
## 462                                              Miscellaneous agricultural workers
## 463                                              Miscellaneous agricultural workers
## 464              Combined food preparation and serving workers, including fast food
## 465                                            Sales and related workers, all other
## 466                      Miscellaneous entertainment attendants and related workers
## 467                                                               Childcare workers
## 468              Entertainers and performers, sports and related workers, all other
## 469                                    Personal care and service workers, all other
## 470                                                     Artists and related workers
## 471                                         Welding, soldering, and brazing workers
## 472                                                               Childcare workers
## 473                                                     Grounds maintenance workers
## 474             First-line supervisors of office and administrative support workers
## 475                  First-line supervisors of food preparation and serving workers
## 476                                                               Childcare workers
## 477                                                               Childcare workers
## 478                                         Musicians, singers, and related workers
## 479                                                               Childcare workers
## 480                                              Miscellaneous agricultural workers
## 481                                                  Recreation and fitness workers
## 482                                                        Food preparation workers
## 483                                          Driver/sales workers and truck drivers
## 484                                 Athletes, coaches, umpires, and related workers
## 485                                  First-line supervisors of retail sales workers
## 486                                  First-line supervisors of retail sales workers
## 487                                                         Human resources workers
## 488                                                  Recreation and fitness workers
## 489              Combined food preparation and serving workers, including fast food
## 490              Combined food preparation and serving workers, including fast food
## 491                                                Prepress technicians and workers
## 492              Combined food preparation and serving workers, including fast food
## 493            First-line supervisors of construction trades and extraction workers
## 494     Lifeguards and other recreational, and all other protective service workers
## 495                                                  Recreation and fitness workers
## 496              Combined food preparation and serving workers, including fast food
## 497                                    Personal care and service workers, all other
## 498                      Miscellaneous entertainment attendants and related workers
## 499                                                               Childcare workers
## 500                                                        Food preparation workers
## 501                                          Driver/sales workers and truck drivers
## 502                                                               Childcare workers
## 503                                                               Childcare workers
## 504                                                        Food preparation workers
## 505                                         Welding, soldering, and brazing workers
## 506              Combined food preparation and serving workers, including fast food
## 507                                                               Childcare workers
## 508                                                               Childcare workers
## 509              Combined food preparation and serving workers, including fast food
## 510              Combined food preparation and serving workers, including fast food
## 511                                         Welding, soldering, and brazing workers
## 512                                                               Childcare workers
## 513                                       Miscellaneous personal appearance workers
## 514                                              Miscellaneous agricultural workers
## 515             First-line supervisors of office and administrative support workers
## 516                                                     Grounds maintenance workers
## 517                                              Miscellaneous agricultural workers
## 518                                          Driver/sales workers and truck drivers
## 519                                  Miscellaneous construction and related workers
## 520                                                                 Logging workers
## 521                                                               Childcare workers
## 522                                              Miscellaneous agricultural workers
##           age       educ    sex         income income_recode    educ_recode
## 1          68         12 Female $25000 or more         25000           1_hs
## 2          36         20 Female $25000 or more         25000     4_Advanced
## 3          42         16 Female $25000 or more         25000    3_Bachelors
## 4          52         12   Male $25000 or more         25000           1_hs
## 5          58         15   Male $25000 or more         25000 2_some_college
## 6          58         16 Female $25000 or more         25000    3_Bachelors
## 7          49         12 Female $25000 or more         25000           1_hs
## 8          39         18   Male $25000 or more         25000     4_Advanced
## 9          25         13 Female $25000 or more         25000 2_some_college
## 10         51         14 Female $25000 or more         25000 2_some_college
## 11         67         14   Male $25000 or more         25000 2_some_college
## 12         77         12   Male $25000 or more         25000           1_hs
## 13         47         13   Male $25000 or more         25000 2_some_college
## 14         33         18 Female $25000 or more         25000     4_Advanced
## 15         42         12   Male $25000 or more         25000           1_hs
## 16         25         12   Male $25000 or more         25000           1_hs
## 17         44         11   Male $25000 or more         25000      0_no_1_hs
## 18         38         14   Male $25000 or more         25000 2_some_college
## 19         50         19   Male $25000 or more         25000     4_Advanced
## 20         41         12   Male $25000 or more         25000           1_hs
## 21         30         19 Female $25000 or more         25000     4_Advanced
## 22         39         12   Male $25000 or more         25000           1_hs
## 23         58         17   Male $25000 or more         25000     4_Advanced
## 24         32         18 Female $25000 or more         25000     4_Advanced
## 25         53         12   Male $25000 or more         25000           1_hs
## 26         60         16   Male $25000 or more         25000    3_Bachelors
## 27         51         18   Male $25000 or more         25000     4_Advanced
## 28         40         13 Female $25000 or more         25000 2_some_college
## 29         65         16 Female $25000 or more         25000    3_Bachelors
## 30         49         14   Male $25000 or more         25000 2_some_college
## 31         59         11   Male $25000 or more         25000      0_no_1_hs
## 32         44         18   Male $25000 or more         25000     4_Advanced
## 33         52         10   Male $25000 or more         25000      0_no_1_hs
## 34         44          6   Male $25000 or more         25000      0_no_1_hs
## 35         43         12   Male $25000 or more         25000           1_hs
## 36         64         16   Male $25000 or more         25000    3_Bachelors
## 37         28         16   Male $25000 or more         25000    3_Bachelors
## 38         34         13   Male $25000 or more         25000 2_some_college
## 39         42         16 Female $25000 or more         25000    3_Bachelors
## 40         32         12   Male $25000 or more         25000           1_hs
## 41         51         13   Male $25000 or more         25000 2_some_college
## 42         37         14 Female $25000 or more         25000 2_some_college
## 43         58         13   Male $25000 or more         25000 2_some_college
## 44         63         16   Male $25000 or more         25000    3_Bachelors
## 45         42         12   Male $25000 or more         25000           1_hs
## 46         46         12 Female $25000 or more         25000           1_hs
## 47         68         13 Female $25000 or more         25000 2_some_college
## 48         61         12 Female $25000 or more         25000           1_hs
## 49         59         12   Male $25000 or more         25000           1_hs
## 50         27         14   Male $25000 or more         25000 2_some_college
## 51         48         13 Female $25000 or more         25000 2_some_college
## 52         31         14 Female $25000 or more         25000 2_some_college
## 53         56         12 Female $25000 or more         25000           1_hs
## 54         32         18 Female $25000 or more         25000     4_Advanced
## 55         28         16 Female $25000 or more         25000    3_Bachelors
## 56         38         14 Female $25000 or more         25000 2_some_college
## 57         51         12   Male $25000 or more         25000           1_hs
## 58         27         12   Male $25000 or more         25000           1_hs
## 59         34         16 Female $25000 or more         25000    3_Bachelors
## 60         51         15   Male $25000 or more         25000 2_some_college
## 61         23         13   Male $25000 or more         25000 2_some_college
## 62         35         12   Male $25000 or more         25000           1_hs
## 63         30         12   Male $25000 or more         25000           1_hs
## 64         51         12   Male $25000 or more         25000           1_hs
## 65         54         14 Female $25000 or more         25000 2_some_college
## 66         29         12   Male $25000 or more         25000           1_hs
## 67         24         11 Female $25000 or more         25000      0_no_1_hs
## 68         64         16 Female $25000 or more         25000    3_Bachelors
## 69         46         14 Female $25000 or more         25000 2_some_college
## 70         61         16 Female $25000 or more         25000    3_Bachelors
## 71         32         18   Male $25000 or more         25000     4_Advanced
## 72         39         12 Female $25000 or more         25000           1_hs
## 73         43         14 Female $25000 or more         25000 2_some_college
## 74         39         12   Male $25000 or more         25000           1_hs
## 75         65         12   Male $25000 or more         25000           1_hs
## 76         52         18 Female $25000 or more         25000     4_Advanced
## 77         56         10   Male $25000 or more         25000      0_no_1_hs
## 78         58         12   Male $25000 or more         25000           1_hs
## 79         48         12   Male $25000 or more         25000           1_hs
## 80         31         12   Male $25000 or more         25000           1_hs
## 81         35         15   Male $25000 or more         25000 2_some_college
## 82         41         20   Male $25000 or more         25000     4_Advanced
## 83         46         16   Male $25000 or more         25000    3_Bachelors
## 84         27         14 Female $25000 or more         25000 2_some_college
## 85         24         12   Male $25000 or more         25000           1_hs
## 86         28         16 Female $25000 or more         25000    3_Bachelors
## 87         35         16 Female $25000 or more         25000    3_Bachelors
## 88         40         16   Male $25000 or more         25000    3_Bachelors
## 89         30         12   Male $25000 or more         25000           1_hs
## 90         55         12   Male $25000 or more         25000           1_hs
## 91         50         13   Male $25000 or more         25000 2_some_college
## 92         52         16   Male $25000 or more         25000    3_Bachelors
## 93         36         12   Male $25000 or more         25000           1_hs
## 94         26         17 Female $25000 or more         25000     4_Advanced
## 95         47         12   Male $25000 or more         25000           1_hs
## 96         24         15   Male $25000 or more         25000 2_some_college
## 97         54         16 Female $25000 or more         25000    3_Bachelors
## 98         37         19   Male $25000 or more         25000     4_Advanced
## 99         31         14   Male $25000 or more         25000 2_some_college
## 100        83          9   Male $25000 or more         25000      0_no_1_hs
## 101        53         12   Male $25000 or more         25000           1_hs
## 102        31         12 Female $25000 or more         25000           1_hs
## 103        44         14   Male $25000 or more         25000 2_some_college
## 104        50         12 Female $25000 or more         25000           1_hs
## 105        63         12 Female $25000 or more         25000           1_hs
## 106        28         14   Male $25000 or more         25000 2_some_college
## 107        57         12   Male $25000 or more         25000           1_hs
## 108        66         16 Female $25000 or more         25000    3_Bachelors
## 109        48         13   Male $25000 or more         25000 2_some_college
## 110        30         14   Male $25000 or more         25000 2_some_college
## 111        56         17 Female $25000 or more         25000     4_Advanced
## 112        43         13 Female $25000 or more         25000 2_some_college
## 113        27         16   Male $25000 or more         25000    3_Bachelors
## 114        52         18   Male $25000 or more         25000     4_Advanced
## 115        50         16 Female $25000 or more         25000    3_Bachelors
## 116        34         16   Male $25000 or more         25000    3_Bachelors
## 117        41         12   Male $25000 or more         25000           1_hs
## 118        28         12   Male $25000 or more         25000           1_hs
## 119        27         14 Female $25000 or more         25000 2_some_college
## 120        72          8   Male $25000 or more         25000      0_no_1_hs
## 121        65         14   Male $25000 or more         25000 2_some_college
## 122        57         12   Male $25000 or more         25000           1_hs
## 123        36         16 Female $25000 or more         25000    3_Bachelors
## 124        43          9   Male $25000 or more         25000      0_no_1_hs
## 125        53         13 Female $25000 or more         25000 2_some_college
## 126        44         12   Male $25000 or more         25000           1_hs
## 127        52         16 Female $25000 or more         25000    3_Bachelors
## 128        41         14 Female $25000 or more         25000 2_some_college
## 129        58         12   Male $25000 or more         25000           1_hs
## 130        55         16 Female $25000 or more         25000    3_Bachelors
## 131        57         12 Female $25000 or more         25000           1_hs
## 132        44         16   Male $25000 or more         25000    3_Bachelors
## 133        39         19   Male $25000 or more         25000     4_Advanced
## 134        29         16   Male $25000 or more         25000    3_Bachelors
## 135        59         12   Male $25000 or more         25000           1_hs
## 136        32         16   Male $25000 or more         25000    3_Bachelors
## 137        60         19   Male $25000 or more         25000     4_Advanced
## 138        52         12   Male $25000 or more         25000           1_hs
## 139        57         12   Male $25000 or more         25000           1_hs
## 140        60         16 Female $25000 or more         25000    3_Bachelors
## 141        72         12 Female $25000 or more         25000           1_hs
## 142        57         13   Male $25000 or more         25000 2_some_college
## 143        49         12   Male $25000 or more         25000           1_hs
## 144        48         12 Female $25000 or more         25000           1_hs
## 145        45         14   Male $25000 or more         25000 2_some_college
## 146        33         11   Male $25000 or more         25000      0_no_1_hs
## 147        62         19 Female $25000 or more         25000     4_Advanced
## 148        24         16 Female $25000 or more         25000    3_Bachelors
## 149        32         16   Male $25000 or more         25000    3_Bachelors
## 150        29         12   Male $25000 or more         25000           1_hs
## 151        33         10   Male $25000 or more         25000      0_no_1_hs
## 152        54         12   Male $25000 or more         25000           1_hs
## 153        58         14 Female $25000 or more         25000 2_some_college
## 154        46         20 Female $25000 or more         25000     4_Advanced
## 155        52         16 Female $25000 or more         25000    3_Bachelors
## 156        37         13 Female $25000 or more         25000 2_some_college
## 157        49          1   Male $25000 or more         25000      0_no_1_hs
## 158        28         12   Male $25000 or more         25000           1_hs
## 159        52         16 Female $25000 or more         25000    3_Bachelors
## 160        33          9   Male $25000 or more         25000      0_no_1_hs
## 161        31         12 Female $25000 or more         25000           1_hs
## 162        62         16 Female $25000 or more         25000    3_Bachelors
## 163        57         14 Female $25000 or more         25000 2_some_college
## 164        48         12   Male $25000 or more         25000           1_hs
## 165        73         19   Male $25000 or more         25000     4_Advanced
## 166        50         20 Female $25000 or more         25000     4_Advanced
## 167        28         13   Male $25000 or more         25000 2_some_college
## 168        33         12   Male $25000 or more         25000           1_hs
## 169        40         10   Male $25000 or more         25000      0_no_1_hs
## 170        56         16   Male $25000 or more         25000    3_Bachelors
## 171        46         18 Female $25000 or more         25000     4_Advanced
## 172        69         13   Male $25000 or more         25000 2_some_college
## 173        43         18 Female $25000 or more         25000     4_Advanced
## 174        58         14   Male $25000 or more         25000 2_some_college
## 175        35         14   Male $25000 or more         25000 2_some_college
## 176        46         14   Male $25000 or more         25000 2_some_college
## 177        53         12 Female $25000 or more         25000           1_hs
## 178        25         12   Male $25000 or more         25000           1_hs
## 179        24         16   Male $25000 or more         25000    3_Bachelors
## 180        24         12   Male $25000 or more         25000           1_hs
## 181        22         12 Female $25000 or more         25000           1_hs
## 182        48         12   Male $25000 or more         25000           1_hs
## 183        61         12   Male $25000 or more         25000           1_hs
## 184        39         12   Male $25000 or more         25000           1_hs
## 185        50         14   Male $25000 or more         25000 2_some_college
## 186        52         19 Female $25000 or more         25000     4_Advanced
## 187        40         12   Male $25000 or more         25000           1_hs
## 188        40         12   Male $25000 or more         25000           1_hs
## 189        57         20 Female $25000 or more         25000     4_Advanced
## 190        40         13 Female $25000 or more         25000 2_some_college
## 191        42         16   Male $25000 or more         25000    3_Bachelors
## 192        45         16   Male $25000 or more         25000    3_Bachelors
## 193        70         16   Male $25000 or more         25000    3_Bachelors
## 194        55         14   Male $25000 or more         25000 2_some_college
## 195        58         12 Female $25000 or more         25000           1_hs
## 196        46         13   Male $25000 or more         25000 2_some_college
## 197        60         16   Male $25000 or more         25000    3_Bachelors
## 198        38         16 Female $25000 or more         25000    3_Bachelors
## 199        29         13   Male $25000 or more         25000 2_some_college
## 200        47         12   Male $25000 or more         25000           1_hs
## 201        46         14   Male $25000 or more         25000 2_some_college
## 202        33         12 Female $25000 or more         25000           1_hs
## 203        28         17 Female $25000 or more         25000     4_Advanced
## 204        26         13   Male $25000 or more         25000 2_some_college
## 205        36         12   Male $25000 or more         25000           1_hs
## 206        31         12   Male $25000 or more         25000           1_hs
## 207        58         16   Male $25000 or more         25000    3_Bachelors
## 208        51         12   Male $25000 or more         25000           1_hs
## 209        60         12   Male $25000 or more         25000           1_hs
## 210        39         15 Female $25000 or more         25000 2_some_college
## 211        50         12   Male $25000 or more         25000           1_hs
## 212        34         16 Female $25000 or more         25000    3_Bachelors
## 213        26         16 Female $25000 or more         25000    3_Bachelors
## 214        60         20   Male $25000 or more         25000     4_Advanced
## 215        40         16 Female $25000 or more         25000    3_Bachelors
## 216        41         16 Female $25000 or more         25000    3_Bachelors
## 217        34         16   Male $25000 or more         25000    3_Bachelors
## 218        53         13   Male $25000 or more         25000 2_some_college
## 219        49         16 Female $25000 or more         25000    3_Bachelors
## 220        47         12   Male $25000 or more         25000           1_hs
## 221        31         14 Female $25000 or more         25000 2_some_college
## 222        22         12   Male $25000 or more         25000           1_hs
## 223        37         19 Female $25000 or more         25000     4_Advanced
## 224        43         18   Male $25000 or more         25000     4_Advanced
## 225        46         16 Female $25000 or more         25000    3_Bachelors
## 226        33         12   Male $25000 or more         25000           1_hs
## 227        66         17   Male $25000 or more         25000     4_Advanced
## 228        63         12   Male $25000 or more         25000           1_hs
## 229        56         12 Female $25000 or more         25000           1_hs
## 230        53         16 Female $25000 or more         25000    3_Bachelors
## 231        27         12   Male $25000 or more         25000           1_hs
## 232        39         15 Female $25000 or more         25000 2_some_college
## 233        28         12 Female $25000 or more         25000           1_hs
## 234        40         14   Male $25000 or more         25000 2_some_college
## 235        54         15   Male $25000 or more         25000 2_some_college
## 236        33         12   Male $25000 or more         25000           1_hs
## 237        33         12   Male $25000 or more         25000           1_hs
## 238        48         13   Male $25000 or more         25000 2_some_college
## 239        57         14 Female $25000 or more         25000 2_some_college
## 240        30         12   Male $25000 or more         25000           1_hs
## 241        36         12   Male $25000 or more         25000           1_hs
## 242        28          8   Male $25000 or more         25000      0_no_1_hs
## 243        78         10   Male $25000 or more         25000      0_no_1_hs
## 244        25         12   Male $25000 or more         25000           1_hs
## 245        56         17 Female $25000 or more         25000     4_Advanced
## 246        35         16   Male $25000 or more         25000    3_Bachelors
## 247        47         16   Male $25000 or more         25000    3_Bachelors
## 248        56         13   Male $25000 or more         25000 2_some_college
## 249        44         12   Male $25000 or more         25000           1_hs
## 250        57         12   Male $25000 or more         25000           1_hs
## 251        27         15 Female $25000 or more         25000 2_some_college
## 252        32         14 Female $25000 or more         25000 2_some_college
## 253        49          6   Male $25000 or more         25000      0_no_1_hs
## 254        22         13   Male $25000 or more         25000 2_some_college
## 255        32         16   Male $25000 or more         25000    3_Bachelors
## 256        41         16   Male $25000 or more         25000    3_Bachelors
## 257        61         14   Male $25000 or more         25000 2_some_college
## 258        42         14 Female $25000 or more         25000 2_some_college
## 259        58         14   Male $25000 or more         25000 2_some_college
## 260        54         12   Male $25000 or more         25000           1_hs
## 261        65         12   Male $25000 or more         25000           1_hs
## 262        37         14 Female $25000 or more         25000 2_some_college
## 263        60         12 Female $25000 or more         25000           1_hs
## 264        47         17   Male $25000 or more         25000     4_Advanced
## 265        31         16   Male $25000 or more         25000    3_Bachelors
## 266        40          8   Male $25000 or more         25000      0_no_1_hs
## 267        30         14 Female $25000 or more         25000 2_some_college
## 268        46         16 Female $25000 or more         25000    3_Bachelors
## 269        52         12   Male $25000 or more         25000           1_hs
## 270        38         16 Female $25000 or more         25000    3_Bachelors
## 271        28         12   Male $25000 or more         25000           1_hs
## 272        31         16 Female $25000 or more         25000    3_Bachelors
## 273        30         15 Female $25000 or more         25000 2_some_college
## 274        55         12   Male $25000 or more         25000           1_hs
## 275        41         13   Male $25000 or more         25000 2_some_college
## 276        36         14 Female $25000 or more         25000 2_some_college
## 277        30         15 Female $25000 or more         25000 2_some_college
## 278        44          9   Male $25000 or more         25000      0_no_1_hs
## 279        52         13 Female $25000 or more         25000 2_some_college
## 280        49         14   Male $25000 or more         25000 2_some_college
## 281        35         15 Female $25000 or more         25000 2_some_college
## 282        44         13   Male $25000 or more         25000 2_some_college
## 283        71         17 Female $25000 or more         25000     4_Advanced
## 284 No answer         14   Male $25000 or more         25000 2_some_college
## 285        47         12   Male $25000 or more         25000           1_hs
## 286        38          6   Male $25000 or more         25000      0_no_1_hs
## 287        58         11   Male $25000 or more         25000      0_no_1_hs
## 288        32         15 Female $25000 or more         25000 2_some_college
## 289        65         19   Male $25000 or more         25000     4_Advanced
## 290        43         16   Male $25000 or more         25000    3_Bachelors
## 291        73         16   Male $25000 or more         25000    3_Bachelors
## 292        55         12   Male $25000 or more         25000           1_hs
## 293        25         13 Female $25000 or more         25000 2_some_college
## 294        41         16   Male $25000 or more         25000    3_Bachelors
## 295        64         13   Male $25000 or more         25000 2_some_college
## 296        64         18 Female $25000 or more         25000     4_Advanced
## 297        58         12 Female $25000 or more         25000           1_hs
## 298        64         12 Female $25000 or more         25000           1_hs
## 299        27         12   Male $25000 or more         25000           1_hs
## 300        34         11   Male $25000 or more         25000      0_no_1_hs
## 301        49         13   Male $25000 or more         25000 2_some_college
## 302        39         14   Male $25000 or more         25000 2_some_college
## 303        51         14   Male $25000 or more         25000 2_some_college
## 304        30         12 Female $25000 or more         25000           1_hs
## 305        51         14   Male $25000 or more         25000 2_some_college
## 306        59         13   Male $25000 or more         25000 2_some_college
## 307        56         17 Female $25000 or more         25000     4_Advanced
## 308        44         20   Male $25000 or more         25000     4_Advanced
## 309        36         16 Female $25000 or more         25000    3_Bachelors
## 310        62         14 Female $25000 or more         25000 2_some_college
## 311        36          9   Male $25000 or more         25000      0_no_1_hs
## 312        44         12   Male $25000 or more         25000           1_hs
## 313        35         12   Male $25000 or more         25000           1_hs
## 314        28         18   Male $25000 or more         25000     4_Advanced
## 315        64         12   Male $25000 or more         25000           1_hs
## 316        27         12   Male $25000 or more         25000           1_hs
## 317        46          8   Male $25000 or more         25000      0_no_1_hs
## 318        34         14 Female $25000 or more         25000 2_some_college
## 319        32         11   Male $25000 or more         25000      0_no_1_hs
## 320        55         12   Male $25000 or more         25000           1_hs
## 321        34         14 Female $25000 or more         25000 2_some_college
## 322        48         12 Female $25000 or more         25000           1_hs
## 323        43         16   Male $20000 - 24999         22500    3_Bachelors
## 324        40          8 Female $20000 - 24999         22500      0_no_1_hs
## 325        45         12 Female $20000 - 24999         22500           1_hs
## 326        32         14   Male $20000 - 24999         22500 2_some_college
## 327        37         12   Male $20000 - 24999         22500           1_hs
## 328        28         14   Male $20000 - 24999         22500 2_some_college
## 329        57         12 Female $20000 - 24999         22500           1_hs
## 330        29         12   Male $20000 - 24999         22500           1_hs
## 331        81         18   Male $20000 - 24999         22500     4_Advanced
## 332        59         16   Male $20000 - 24999         22500    3_Bachelors
## 333        52         18 Female $20000 - 24999         22500     4_Advanced
## 334        56         12 Female $20000 - 24999         22500           1_hs
## 335        44         12 Female $20000 - 24999         22500           1_hs
## 336        63         14   Male $20000 - 24999         22500 2_some_college
## 337        30         14 Female $20000 - 24999         22500 2_some_college
## 338        33         18   Male $20000 - 24999         22500     4_Advanced
## 339        57         12   Male $20000 - 24999         22500           1_hs
## 340        41         10   Male $20000 - 24999         22500      0_no_1_hs
## 341        21         12   Male $20000 - 24999         22500           1_hs
## 342        67         12   Male $20000 - 24999         22500           1_hs
## 343        18         12   Male $20000 - 24999         22500           1_hs
## 344        49         12   Male $20000 - 24999         22500           1_hs
## 345        25         12   Male $20000 - 24999         22500           1_hs
## 346        34         14   Male $20000 - 24999         22500 2_some_college
## 347        45          6   Male $20000 - 24999         22500      0_no_1_hs
## 348        51         12   Male $20000 - 24999         22500           1_hs
## 349        42         10 Female $20000 - 24999         22500      0_no_1_hs
## 350        69         12   Male $20000 - 24999         22500           1_hs
## 351        28         16   Male $20000 - 24999         22500    3_Bachelors
## 352        50         15   Male $20000 - 24999         22500 2_some_college
## 353        24 Don't know Female $20000 - 24999         22500              0
## 354        65          3   Male $20000 - 24999         22500      0_no_1_hs
## 355        46         12 Female $20000 - 24999         22500           1_hs
## 356        41         12 Female $20000 - 24999         22500           1_hs
## 357        69         14   Male $20000 - 24999         22500 2_some_college
## 358        23         14   Male $20000 - 24999         22500 2_some_college
## 359        22         12   Male $20000 - 24999         22500           1_hs
## 360        53         12 Female $20000 - 24999         22500           1_hs
## 361        26         12   Male $20000 - 24999         22500           1_hs
## 362        35          9   Male $20000 - 24999         22500      0_no_1_hs
## 363        53         13 Female $20000 - 24999         22500 2_some_college
## 364        43         14 Female $20000 - 24999         22500 2_some_college
## 365        59         16 Female $20000 - 24999         22500    3_Bachelors
## 366        43         11   Male $20000 - 24999         22500      0_no_1_hs
## 367        51         10 Female $20000 - 24999         22500      0_no_1_hs
## 368        34          6   Male $20000 - 24999         22500      0_no_1_hs
## 369        53          8 Female $20000 - 24999         22500      0_no_1_hs
## 370        41         12 Female $15000 - 19999         17500           1_hs
## 371        42         12   Male $15000 - 19999         17500           1_hs
## 372        52         15   Male $15000 - 19999         17500 2_some_college
## 373        66         16 Female $15000 - 19999         17500    3_Bachelors
## 374        31         12 Female $15000 - 19999         17500           1_hs
## 375        54         14   Male $15000 - 19999         17500 2_some_college
## 376        24         14   Male $15000 - 19999         17500 2_some_college
## 377        38         12 Female $15000 - 19999         17500           1_hs
## 378        30          9   Male $15000 - 19999         17500      0_no_1_hs
## 379        25         14   Male $15000 - 19999         17500 2_some_college
## 380        43         13   Male $15000 - 19999         17500 2_some_college
## 381        38         12   Male $15000 - 19999         17500           1_hs
## 382        67         12 Female $15000 - 19999         17500           1_hs
## 383        60         11   Male $15000 - 19999         17500      0_no_1_hs
## 384        37         12   Male $15000 - 19999         17500           1_hs
## 385        46          3 Female $15000 - 19999         17500      0_no_1_hs
## 386        25         12 Female $15000 - 19999         17500           1_hs
## 387        57         14   Male $15000 - 19999         17500 2_some_college
## 388        62         17   Male $15000 - 19999         17500     4_Advanced
## 389        53         18 Female $15000 - 19999         17500     4_Advanced
## 390        56         16 Female $15000 - 19999         17500    3_Bachelors
## 391        32         15 Female $15000 - 19999         17500 2_some_college
## 392        39         14 Female $15000 - 19999         17500 2_some_college
## 393        27         16 Female $15000 - 19999         17500    3_Bachelors
## 394        27         15 Female $15000 - 19999         17500 2_some_college
## 395        70         12   Male $15000 - 19999         17500           1_hs
## 396        59         12 Female $15000 - 19999         17500           1_hs
## 397        29         13   Male $15000 - 19999         17500 2_some_college
## 398        33         12 Female $15000 - 19999         17500           1_hs
## 399        42          9 Female $15000 - 19999         17500      0_no_1_hs
## 400        43         12 Female $10000 - 14999         12500           1_hs
## 401        34         16 Female $10000 - 14999         12500    3_Bachelors
## 402        26         17 Female $10000 - 14999         12500     4_Advanced
## 403        49         14 Female $10000 - 14999         12500 2_some_college
## 404        23         14 Female $10000 - 14999         12500 2_some_college
## 405        66          8   Male $10000 - 14999         12500      0_no_1_hs
## 406        28         15 Female $10000 - 14999         12500 2_some_college
## 407        23         13 Female $10000 - 14999         12500 2_some_college
## 408        57         11 Female $10000 - 14999         12500      0_no_1_hs
## 409        57          9   Male $10000 - 14999         12500      0_no_1_hs
## 410        29         14 Female $10000 - 14999         12500 2_some_college
## 411        32         14   Male $10000 - 14999         12500 2_some_college
## 412        46         16 Female $10000 - 14999         12500    3_Bachelors
## 413        63         13   Male $10000 - 14999         12500 2_some_college
## 414        68         16   Male $10000 - 14999         12500    3_Bachelors
## 415        42          6 Female $10000 - 14999         12500      0_no_1_hs
## 416        26         11   Male $10000 - 14999         12500      0_no_1_hs
## 417        50         12   Male $10000 - 14999         12500           1_hs
## 418        19         12   Male $10000 - 14999         12500           1_hs
## 419        38         14   Male $10000 - 14999         12500 2_some_college
## 420        26         16   Male $10000 - 14999         12500    3_Bachelors
## 421        45         14   Male $10000 - 14999         12500 2_some_college
## 422        33         12 Female $10000 - 14999         12500           1_hs
## 423        23          8 Female $10000 - 14999         12500      0_no_1_hs
## 424        29         15 Female $10000 - 14999         12500 2_some_college
## 425        40         18 Female $10000 - 14999         12500     4_Advanced
## 426        58         14   Male $10000 - 14999         12500 2_some_college
## 427        23         13 Female $10000 - 14999         12500 2_some_college
## 428        21          9   Male $10000 - 14999         12500      0_no_1_hs
## 429        44         14 Female $10000 - 14999         12500 2_some_college
## 430        27         15   Male $10000 - 14999         12500 2_some_college
## 431        65         11   Male $10000 - 14999         12500      0_no_1_hs
## 432        54         14   Male $10000 - 14999         12500 2_some_college
## 433        33         10   Male $10000 - 14999         12500      0_no_1_hs
## 434        21         15   Male $10000 - 14999         12500 2_some_college
## 435        28         14 Female $10000 - 14999         12500 2_some_college
## 436        29         12   Male $10000 - 14999         12500           1_hs
## 437        27         18 Female  $8000 to 9999          9000     4_Advanced
## 438        63          6   Male  $8000 to 9999          9000      0_no_1_hs
## 439        81         12   Male  $8000 to 9999          9000           1_hs
## 440        31         12   Male  $8000 to 9999          9000           1_hs
## 441        60          9 Female  $8000 to 9999          9000      0_no_1_hs
## 442        34          9 Female  $8000 to 9999          9000      0_no_1_hs
## 443        54         16 Female  $8000 to 9999          9000    3_Bachelors
## 444        46         12   Male  $8000 to 9999          9000           1_hs
## 445        46         12 Female  $8000 to 9999          9000           1_hs
## 446        39         12 Female  $8000 to 9999          9000           1_hs
## 447        21         14 Female  $7000 to 7999          7500 2_some_college
## 448        30         14 Female  $7000 to 7999          7500 2_some_college
## 449        79         14   Male  $7000 to 7999          7500 2_some_college
## 450        68         12   Male  $7000 to 7999          7500           1_hs
## 451        59         12 Female  $7000 to 7999          7500           1_hs
## 452        26         14 Female  $7000 to 7999          7500 2_some_college
## 453        62         11 Female  $7000 to 7999          7500      0_no_1_hs
## 454        38          9 Female  $7000 to 7999          7500      0_no_1_hs
## 455        59          2   Male  $7000 to 7999          7500      0_no_1_hs
## 456        40         12 Female  $6000 to 6999          6500           1_hs
## 457        40         14 Female  $6000 to 6999          6500 2_some_college
## 458        24         12   Male  $6000 to 6999          6500           1_hs
## 459        42         12   Male  $6000 to 6999          6500           1_hs
## 460        19         11   Male  $6000 to 6999          6500      0_no_1_hs
## 461        64         14 Female  $6000 to 6999          6500 2_some_college
## 462        33          8   Male  $6000 to 6999          6500      0_no_1_hs
## 463        59         20 Female  $6000 to 6999          6500     4_Advanced
## 464        57         16 Female  $6000 to 6999          6500    3_Bachelors
## 465        53         16 Female  $5000 to 5999          5500    3_Bachelors
## 466        38         12 Female  $5000 to 5999          5500           1_hs
## 467        21         13 Female  $5000 to 5999          5500 2_some_college
## 468        26          8 Female  $5000 to 5999          5500      0_no_1_hs
## 469        28         14   Male  $5000 to 5999          5500 2_some_college
## 470        31         15 Female  $5000 to 5999          5500 2_some_college
## 471        28         12   Male  $5000 to 5999          5500           1_hs
## 472        47          9 Female  $5000 to 5999          5500      0_no_1_hs
## 473        30          6   Male  $5000 to 5999          5500      0_no_1_hs
## 474        60         14 Female  $4000 to 4999          4500 2_some_college
## 475        35         14   Male  $4000 to 4999          4500 2_some_college
## 476        52         14 Female  $4000 to 4999          4500 2_some_college
## 477        22          5 Female  $4000 to 4999          4500      0_no_1_hs
## 478        60         14   Male  $4000 to 4999          4500 2_some_college
## 479        67         16 Female  $4000 to 4999          4500    3_Bachelors
## 480        22         11   Male  $4000 to 4999          4500      0_no_1_hs
## 481        21         15   Male  $4000 to 4999          4500 2_some_college
## 482        22         15   Male  $3000 to 3999          3500 2_some_college
## 483        40         13   Male  $3000 to 3999          3500 2_some_college
## 484        27         13   Male  $3000 to 3999          3500 2_some_college
## 485        28         12 Female  $3000 to 3999          3500           1_hs
## 486        39         18   Male  $3000 to 3999          3500     4_Advanced
## 487        33          9 Female  $3000 to 3999          3500      0_no_1_hs
## 488        23         11 Female  $3000 to 3999          3500      0_no_1_hs
## 489        24          8 Female  $3000 to 3999          3500      0_no_1_hs
## 490        25         13 Female  $3000 to 3999          3500 2_some_college
## 491        87         11 Female  $3000 to 3999          3500      0_no_1_hs
## 492        45          4 Female  $3000 to 3999          3500      0_no_1_hs
## 493        37         12   Male  $3000 to 3999          3500           1_hs
## 494        20         13   Male  $1000 to 2999          1500 2_some_college
## 495        19         13 Female  $1000 to 2999          1500 2_some_college
## 496        73         12 Female  $1000 to 2999          1500           1_hs
## 497        44         16 Female  $1000 to 2999          1500    3_Bachelors
## 498        58         14   Male  $1000 to 2999          1500 2_some_college
## 499        58         12 Female  $1000 to 2999          1500           1_hs
## 500        29         11 Female  $1000 to 2999          1500      0_no_1_hs
## 501        63         12 Female  $1000 to 2999          1500           1_hs
## 502        42         10 Female  $1000 to 2999          1500      0_no_1_hs
## 503        20         13 Female  $1000 to 2999          1500 2_some_college
## 504        19         12   Male  $1000 to 2999          1500           1_hs
## 505        29         11   Male  $1000 to 2999          1500      0_no_1_hs
## 506        21         15   Male  $1000 to 2999          1500 2_some_college
## 507        62          8 Female  $1000 to 2999          1500      0_no_1_hs
## 508        19         11 Female  $1000 to 2999          1500      0_no_1_hs
## 509        19         12 Female  $1000 to 2999          1500           1_hs
## 510        24         11 Female  $1000 to 2999          1500      0_no_1_hs
## 511        56         14   Male  $1000 to 2999          1500 2_some_college
## 512        22         12 Female       Lt $1000           500           1_hs
## 513        30         13 Female       Lt $1000           500 2_some_college
## 514        44         12 Female       Lt $1000           500           1_hs
## 515        86         12 Female       Lt $1000           500           1_hs
## 516        71          8   Male       Lt $1000           500      0_no_1_hs
## 517        50         11   Male       Lt $1000           500      0_no_1_hs
## 518        41         12   Male       Lt $1000           500           1_hs
## 519        51          1   Male       Lt $1000           500      0_no_1_hs
## 520        21         12   Male       Lt $1000           500           1_hs
## 521        20         13 Female       Lt $1000           500 2_some_college
## 522        66          6   Male       Lt $1000           500      0_no_1_hs
a2
##  [1] year          id            hours_wkd     occupation    age          
##  [6] educ          sex           income        income_recode educ_recode  
## <0 rows> (or 0-length row.names)
a3 = rbind(a1,a2)
a3
##     year   id hours_wkd
## 1   2016   32        50
## 2   2016   44        45
## 3   2016   56        35
## 4   2016   86        48
## 5   2016   96        NA
## 6   2016  101        37
## 7   2016  127        40
## 8   2016  151        60
## 9   2016  159        40
## 10  2016  176        40
## 11  2016  179        16
## 12  2016  216        NA
## 13  2016  219        45
## 14  2016  229        40
## 15  2016  244        48
## 16  2016  256        NA
## 17  2016  269        52
## 18  2016  286        75
## 19  2016  293        55
## 20  2016  295        46
## 21  2016  306        40
## 22  2016  327        50
## 23  2016  337        60
## 24  2016  338         1
## 25  2016  349        41
## 26  2016  358        42
## 27  2016  365        60
## 28  2016  384        40
## 29  2016  391        NA
## 30  2016  394        60
## 31  2016  401        40
## 32  2016  410        35
## 33  2016  430        32
## 34  2016  434        40
## 35  2016  448        40
## 36  2016  466        10
## 37  2016  475        40
## 38  2016  497        45
## 39  2016  510        45
## 40  2016  514        40
## 41  2016  515        48
## 42  2016  564        42
## 43  2016  569        50
## 44  2016  572        NA
## 45  2016  581        25
## 46  2016  583        24
## 47  2016  599        NA
## 48  2016  665        40
## 49  2016  685        NA
## 50  2016  722        68
## 51  2016  742        58
## 52  2016  752        40
## 53  2016  785        55
## 54  2016  824        50
## 55  2016  825        50
## 56  2016  829        62
## 57  2016  830        61
## 58  2016  838        64
## 59  2016  849        50
## 60  2016  889        30
## 61  2016  903        65
## 62  2016  909        45
## 63  2016  926        89
## 64  2016  934        50
## 65  2016  954        60
## 66  2016  962        40
## 67  2016 1009        50
## 68  2016 1028        46
## 69  2016 1046        52
## 70  2016 1057        40
## 71  2016 1061        50
## 72  2016 1092        40
## 73  2016 1095        40
## 74  2016 1097        55
## 75  2016 1106        55
## 76  2016 1113         8
## 77  2016 1134        58
## 78  2016 1136        40
## 79  2016 1163        70
## 80  2016 1166        NA
## 81  2016 1193        40
## 82  2016 1196        50
## 83  2016 1197        40
## 84  2016 1211        60
## 85  2016 1229        NA
## 86  2016 1230        50
## 87  2016 1236        40
## 88  2016 1238        40
## 89  2016 1258        55
## 90  2016 1286        NA
## 91  2016 1292        60
## 92  2016 1335        NA
## 93  2016 1340        35
## 94  2016 1373        50
## 95  2016 1389        65
## 96  2016 1406        86
## 97  2016 1419        45
## 98  2016 1421        40
## 99  2016 1432        40
## 100 2016 1434        40
## 101 2016 1451        40
## 102 2016 1477        NA
## 103 2016 1500        60
## 104 2016 1513        50
## 105 2016 1565        54
## 106 2016 1589        50
## 107 2016 1591        NA
## 108 2016 1593        NA
## 109 2016 1600        40
## 110 2016 1617        40
## 111 2016 1618        35
## 112 2016 1663        40
## 113 2016 1664        40
## 114 2016 1678        60
## 115 2016 1692        47
## 116 2016 1706        40
## 117 2016 1711        NA
## 118 2016 1714        56
## 119 2016 1735        40
## 120 2016 1736        NA
## 121 2016 1813         4
## 122 2016 1816        30
## 123 2016 1827        40
## 124 2016 1835        40
## 125 2016 1844        65
## 126 2016 1846        40
## 127 2016 1858        40
## 128 2016 1906        40
## 129 2016 1913        46
## 130 2016 1929        40
## 131 2016 1951        56
## 132 2016 2008        60
## 133 2016 2009        40
## 134 2016 2010        48
## 135 2016 2029        NA
## 136 2016 2058        35
## 137 2016 2059        22
## 138 2016 2067        NA
## 139 2016 2084        72
## 140 2016 2100        10
## 141 2016 2108        25
## 142 2016 2118        50
## 143 2016 2134        44
## 144 2016 2142        42
## 145 2016 2143        45
## 146 2016 2166        40
## 147 2016 2188        20
## 148 2016 2192        46
## 149 2016 2234        40
## 150 2016 2241        47
## 151 2016 2275        40
## 152 2016 2305        40
## 153 2016 2319        40
## 154 2016 2341        32
## 155 2016 2352        50
## 156 2016 2373        60
## 157 2016 2385        65
## 158 2016 2388        NA
## 159 2016 2391        40
## 160 2016 2394        47
## 161 2016 2417        40
## 162 2016 2430        39
## 163 2016 2458        40
## 164 2016 2479        NA
## 165 2016 2490        NA
## 166 2016 2502        40
## 167 2016 2528        40
## 168 2016 2542        NA
## 169 2016 2547        57
## 170 2016 2568        40
## 171 2016 2571        50
## 172 2016 2578        NA
## 173 2016 2579        40
## 174 2016 2585        65
## 175 2016 2592        NA
## 176 2016 2638        40
## 177 2016 2645        50
## 178 2016 2677        75
## 179 2016 2679        56
## 180 2016 2682        40
## 181 2016 2684        50
## 182 2016 2734        45
## 183 2016 2756        38
## 184 2016 2764        40
## 185 2016 2776        40
## 186 2016 2777        60
## 187 2016 2810        40
## 188 2016 2852        60
## 189 2016 2863        30
## 190 2018   84        40
## 191 2018   91        NA
## 192 2018   98        NA
## 193 2018  115        40
## 194 2018  141        40
## 195 2018  157        52
## 196 2018  190        60
## 197 2018  196        45
## 198 2018  199        40
## 199 2018  202        NA
## 200 2018  207        48
## 201 2018  212        54
## 202 2018  220        45
## 203 2018  228        20
## 204 2018  242        45
## 205 2018  257        48
## 206 2018  260        40
## 207 2018  267        42
## 208 2018  271        50
## 209 2018  279        40
## 210 2018  288        40
## 211 2018  294        40
## 212 2018  332        40
## 213 2018  337        60
## 214 2018  341        40
## 215 2018  364        30
## 216 2018  386        30
## 217 2018  401        32
## 218 2018  410        40
## 219 2018  420        NA
## 220 2018  423        41
## 221 2018  440        45
## 222 2018  446        48
## 223 2018  472        40
## 224 2018  474        57
## 225 2018  491        50
## 226 2018  501        44
## 227 2018  507        50
## 228 2018  523        60
## 229 2018  530        45
## 230 2018  567        40
## 231 2018  574        60
## 232 2018  633        40
## 233 2018  637        40
## 234 2018  642        50
## 235 2018  681        40
## 236 2018  696        60
## 237 2018  708        40
## 238 2018  727        53
## 239 2018  746        50
## 240 2018  749        60
## 241 2018  769        16
## 242 2018  778        50
## 243 2018  840        30
## 244 2018  852        NA
## 245 2018  859         1
## 246 2018  861        60
## 247 2018  884        40
## 248 2018  896        61
## 249 2018  900        56
## 250 2018  903        43
## 251 2018  913        40
## 252 2018  916        45
## 253 2018  960        55
## 254 2018  965        55
## 255 2018  971        25
## 256 2018  977        60
## 257 2018 1016        70
## 258 2018 1018        40
## 259 2018 1026        40
## 260 2018 1029        51
## 261 2018 1058        40
## 262 2018 1075        40
## 263 2018 1095        40
## 264 2018 1096        40
## 265 2018 1123        40
## 266 2018 1137        60
## 267 2018 1142        40
## 268 2018 1190        38
## 269 2018 1213        40
## 270 2018 1214        40
## 271 2018 1219        55
## 272 2018 1261        40
## 273 2018 1302        NA
## 274 2018 1305        40
## 275 2018 1311        30
## 276 2018 1314        40
## 277 2018 1353        NA
## 278 2018 1397        65
## 279 2018 1410        40
## 280 2018 1417        40
## 281 2018 1434        50
## 282 2018 1453        40
## 283 2018 1471        25
## 284 2018 1473        40
## 285 2018 1487        50
## 286 2018 1505        72
## 287 2018 1524        50
## 288 2018 1533        76
## 289 2018 1658        50
## 290 2018 1669        50
## 291 2018 1679        37
## 292 2018 1688        55
## 293 2018 1725        60
## 294 2018 1730        55
## 295 2018 1765        40
## 296 2018 1797        48
## 297 2018 1825        35
## 298 2018 1848        57
## 299 2018 1853        44
## 300 2018 1868        86
## 301 2018 1871        89
## 302 2018 1897        54
## 303 2018 1907        70
## 304 2018 1956        60
## 305 2018 1958        56
## 306 2018 1974        44
## 307 2018 2003        45
## 308 2018 2025        80
## 309 2018 2032        40
## 310 2018 2035        30
## 311 2018 2038        35
## 312 2018 2043        43
## 313 2018 2050        65
## 314 2018 2077        48
## 315 2018 2087        40
## 316 2018 2103        48
## 317 2018 2151        NA
## 318 2018 2153        40
## 319 2018 2228        40
## 320 2018 2248        40
## 321 2018 2273        57
## 322 2018 2286        47
## 323 2016   97        NA
## 324 2016  194        40
## 325 2016  218        50
## 326 2016  242        42
## 327 2016  318        26
## 328 2016  568        50
## 329 2016  624        40
## 330 2016  891        36
## 331 2016  900        50
## 332 2016 1056        40
## 333 2016 1089        70
## 334 2016 1100        32
## 335 2016 1214        42
## 336 2016 1262        40
## 337 2016 1658        40
## 338 2016 1749        65
## 339 2016 1979        40
## 340 2016 2136        42
## 341 2016 2161        42
## 342 2016 2214        40
## 343 2016 2224        15
## 344 2016 2259        40
## 345 2016 2473        40
## 346 2016 2476        40
## 347 2016 2560        44
## 348 2016 2821        40
## 349 2018   62        25
## 350 2018  198        35
## 351 2018  565        40
## 352 2018  726        36
## 353 2018  794        32
## 354 2018  801        NA
## 355 2018  816        28
## 356 2018  843        40
## 357 2018  912        NA
## 358 2018 1044        40
## 359 2018 1201        48
## 360 2018 1254        20
## 361 2018 1439        35
## 362 2018 1535        60
## 363 2018 1639        60
## 364 2018 1651        40
## 365 2018 1738        40
## 366 2018 1891        55
## 367 2018 2068        40
## 368 2018 2287        43
## 369 2018 2313        NA
## 370 2016   89        40
## 371 2016  263        40
## 372 2016  659        60
## 373 2016  670        34
## 374 2016  797        36
## 375 2016  839        NA
## 376 2016  899         6
## 377 2016  998        NA
## 378 2016 1311        36
## 379 2016 1405        60
## 380 2016 1540        NA
## 381 2016 1789        NA
## 382 2016 2033        30
## 383 2016 2282        30
## 384 2016 2397        48
## 385 2016 2480        89
## 386 2016 2530        NA
## 387 2016 2587        NA
## 388 2016 2633        25
## 389 2016 2817        33
## 390 2018   25        15
## 391 2018  482        30
## 392 2018  608        30
## 393 2018  864        NA
## 394 2018 1077        NA
## 395 2018 1364        NA
## 396 2018 1465        40
## 397 2018 1794        51
## 398 2018 1859        40
## 399 2018 1980        40
## 400 2016    4        30
## 401 2016  239        30
## 402 2016  265        28
## 403 2016  282        NA
## 404 2016  527        23
## 405 2016  582        NA
## 406 2016  746        30
## 407 2016  826        NA
## 408 2016  992        40
## 409 2016 1363        55
## 410 2016 1447        20
## 411 2016 1583        37
## 412 2016 1662        30
## 413 2016 1742        NA
## 414 2016 2309         8
## 415 2016 2386        55
## 416 2016 2465        32
## 417 2016 2753        63
## 418 2016 2827        NA
## 419 2016 2843        42
## 420 2018  262        38
## 421 2018  524        25
## 422 2018  787        11
## 423 2018  788        24
## 424 2018  798        89
## 425 2018  821        45
## 426 2018  849        28
## 427 2018  999        36
## 428 2018 1057        44
## 429 2018 1070        50
## 430 2018 1114        40
## 431 2018 1457        40
## 432 2018 1486        NA
## 433 2018 1534        45
## 434 2018 1572        NA
## 435 2018 2081        13
## 436 2018 2254        60
## 437 2016  939        40
## 438 2016 1186        NA
## 439 2016 1686        18
## 440 2016 2344        43
## 441 2016 2750        NA
## 442 2018  357        37
## 443 2018 1604        40
## 444 2018 1955        45
## 445 2018 2141        NA
## 446 2018 2181        30
## 447 2016 1231        40
## 448 2016 1635        50
## 449 2016 1854        50
## 450 2016 2389        30
## 451 2018  815        20
## 452 2018  967        21
## 453 2018 1544        24
## 454 2018 1975        35
## 455 2018 1979        45
## 456 2016  574        50
## 457 2016  733        NA
## 458 2016 1850        30
## 459 2016 2027        NA
## 460 2016 2043        28
## 461 2016 2221        28
## 462 2016 2410        26
## 463 2016 2419        35
## 464 2018 2326        55
## 465 2016   55         4
## 466 2016  180        10
## 467 2016  606        16
## 468 2016  793        NA
## 469 2016  970        NA
## 470 2016 1682        20
## 471 2018  600        38
## 472 2018  841        20
## 473 2018 2263        35
## 474 2016  133        NA
## 475 2016  209        12
## 476 2016  351        30
## 477 2016  699        25
## 478 2016 1750        NA
## 479 2016 1928        32
## 480 2018  610        45
## 481 2018 1125        36
## 482 2016  199        25
## 483 2016  304        68
## 484 2016  975         8
## 485 2016 1003        40
## 486 2016 1890        NA
## 487 2018 1249        40
## 488 2018 1423        NA
## 489 2018 1455        NA
## 490 2018 1699        55
## 491 2018 1828        NA
## 492 2018 1905        40
## 493 2018 2066        20
## 494 2016   53        20
## 495 2016  913        33
## 496 2016  964         7
## 497 2016 1250        45
## 498 2016 1307         9
## 499 2016 2042        22
## 500 2016 2116        19
## 501 2016 2182        NA
## 502 2016 2299        NA
## 503 2016 2363        20
## 504 2016 2390        20
## 505 2016 2549        48
## 506 2016 2856        NA
## 507 2018    9        40
## 508 2018  721        NA
## 509 2018  907        40
## 510 2018 1873        42
## 511 2018 2276        50
## 512 2016  296        27
## 513 2016  731        25
## 514 2016  854        15
## 515 2016 1529        NA
## 516 2016 2174         4
## 517 2016 2763        NA
## 518 2018 1115        10
## 519 2018 1775        40
## 520 2018 1884        40
## 521 2018 2127        NA
## 522 2018 2304        NA
##                                                                          occupation
## 1                                          First-line supervisors of gaming workers
## 2                               Miscellaneous social scientists and related workers
## 3                                         Miscellaneous personal appearance workers
## 4                                              Sales and related workers, all other
## 5                                                       Artists and related workers
## 6                                               Miscellaneous legal support workers
## 7                        First-line supervisors of production and operating workers
## 8                                           Musicians, singers, and related workers
## 9                                                           Human resources workers
## 10              First-line supervisors of office and administrative support workers
## 11                                  Athletes, coaches, umpires, and related workers
## 12                                           Driver/sales workers and truck drivers
## 13             First-line supervisors of construction trades and extraction workers
## 14              First-line supervisors of office and administrative support workers
## 15                                          Welding, soldering, and brazing workers
## 16                                           Driver/sales workers and truck drivers
## 17                                           Driver/sales workers and truck drivers
## 18                                                                   Social workers
## 19                                                          Human resources workers
## 20                                          Maintenance and repair workers, general
## 21                                                                   Social workers
## 22                                                    Production workers, all other
## 23                                   First-line supervisors of retail sales workers
## 24                                                    Production workers, all other
## 25                                                                  Cutting workers
## 26              First-line supervisors of office and administrative support workers
## 27                    Photographic process workers and processing machine operators
## 28                                   First-line supervisors of retail sales workers
## 29                                                                   Social workers
## 30                              Miscellaneous social scientists and related workers
## 31                                                      Grounds maintenance workers
## 32                                                          Human resources workers
## 33                                              Hazardous materials removal workers
## 34                                                               Insulation workers
## 35                                                      Grounds maintenance workers
## 36                                  Athletes, coaches, umpires, and related workers
## 37                                                          Human resources workers
## 38                                                         Food preparation workers
## 39                                                                   Social workers
## 40                                          Welding, soldering, and brazing workers
## 41                               First-line supervisors of non-retail sales workers
## 42                                   First-line supervisors of retail sales workers
## 43                                           Driver/sales workers and truck drivers
## 44                                                   Recreation and fitness workers
## 45                              Other installation, maintenance, and repair workers
## 46                                     Personal care and service workers, all other
## 47                                   First-line supervisors of retail sales workers
## 48                                                     Religious workers, all other
## 49                                               Material moving workers, all other
## 50                   First-line supervisors of food preparation and serving workers
## 51                                                                Childcare workers
## 52                                        Miscellaneous personal appearance workers
## 53                                                                Childcare workers
## 54                                              Miscellaneous legal support workers
## 55                                   First-line supervisors of retail sales workers
## 56                                               Material moving workers, all other
## 57                                           Driver/sales workers and truck drivers
## 58                       First-line supervisors of production and operating workers
## 59                                             Sales and related workers, all other
## 60                                             Sales and related workers, all other
## 61                                                    Production workers, all other
## 62                                               Material moving workers, all other
## 63                                                          Human resources workers
## 64             First-line supervisors of construction trades and extraction workers
## 65                                                                Childcare workers
## 66                                           Driver/sales workers and truck drivers
## 67                                               Miscellaneous agricultural workers
## 68              First-line supervisors of office and administrative support workers
## 69                                                    Production workers, all other
## 70                                                                   Social workers
## 71                                                                   Social workers
## 72                                   First-line supervisors of retail sales workers
## 73                    First-line supervisors of housekeeping and janitorial workers
## 74                                          Welding, soldering, and brazing workers
## 75                                           Driver/sales workers and truck drivers
## 76              First-line supervisors of office and administrative support workers
## 77                                          Welding, soldering, and brazing workers
## 78                                          Welding, soldering, and brazing workers
## 79                                           Driver/sales workers and truck drivers
## 80                                           Driver/sales workers and truck drivers
## 81                                   First-line supervisors of retail sales workers
## 82              First-line supervisors of office and administrative support workers
## 83                                                          Human resources workers
## 84              First-line supervisors of office and administrative support workers
## 85                                   First-line supervisors of retail sales workers
## 86                                                                   Social workers
## 87                                             Sales and related workers, all other
## 88                                               Material moving workers, all other
## 89                                   First-line supervisors of retail sales workers
## 90                                                    Production workers, all other
## 91             First-line supervisors of construction trades and extraction workers
## 92                                   First-line supervisors of retail sales workers
## 93                                           Driver/sales workers and truck drivers
## 94                                                                   Social workers
## 95                       First-line supervisors of production and operating workers
## 96                                          Maintenance and repair workers, general
## 97              First-line supervisors of office and administrative support workers
## 98                               First-line supervisors of non-retail sales workers
## 99                   First-line supervisors of food preparation and serving workers
## 100                                  First-line supervisors of retail sales workers
## 101            First-line supervisors of construction trades and extraction workers
## 102                            Office and administrative support workers, all other
## 103                              First-line supervisors of non-retail sales workers
## 104                              First-line supervisors of non-retail sales workers
## 105            First-line supervisors of construction trades and extraction workers
## 106 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 107                                                     Highway maintenance workers
## 108                                                                  Social workers
## 109                                                         Human resources workers
## 110                            Office and administrative support workers, all other
## 111                                                         Human resources workers
## 112                            Office and administrative support workers, all other
## 113                                            Sales and related workers, all other
## 114                                 Athletes, coaches, umpires, and related workers
## 115             First-line supervisors of office and administrative support workers
## 116                       Supervisors of transportation and material moving workers
## 117                                          Driver/sales workers and truck drivers
## 118                                                   Production workers, all other
## 119                                  First-line supervisors of retail sales workers
## 120                                          Driver/sales workers and truck drivers
## 121                                                     Grounds maintenance workers
## 122                                                            Pest control workers
## 123                                                                  Social workers
## 124                                          Driver/sales workers and truck drivers
## 125                                  First-line supervisors of retail sales workers
## 126                             Other installation, maintenance, and repair workers
## 127                      Miscellaneous entertainment attendants and related workers
## 128                                  First-line supervisors of retail sales workers
## 129                      First-line supervisors of production and operating workers
## 130                                                                  Social workers
## 131                                                   Production workers, all other
## 132                       Supervisors of transportation and material moving workers
## 133                                                   Production workers, all other
## 134                     Crushing, grinding, polishing, mixing, and blending workers
## 135                                          Driver/sales workers and truck drivers
## 136                                                  Recreation and fitness workers
## 137                            Office and administrative support workers, all other
## 138                                                   Production workers, all other
## 139                                          Driver/sales workers and truck drivers
## 140                                 Athletes, coaches, umpires, and related workers
## 141                                                               Childcare workers
## 142                  First-line supervisors of food preparation and serving workers
## 143                                                Prepress technicians and workers
## 144                                                         Human resources workers
## 145                                          Driver/sales workers and truck drivers
## 146                                         Welding, soldering, and brazing workers
## 147                                  Other education, training, and library workers
## 148                                                         Human resources workers
## 149                                                     Grounds maintenance workers
## 150                                          Driver/sales workers and truck drivers
## 151                                                        Other extraction workers
## 152                                         Maintenance and repair workers, general
## 153                                  First-line supervisors of retail sales workers
## 154                                  First-line supervisors of retail sales workers
## 155                                  Other education, training, and library workers
## 156             First-line supervisors of office and administrative support workers
## 157                                              Miscellaneous agricultural workers
## 158                First-line supervisors of farming, fishing, and forestry workers
## 159                              First-line supervisors of non-retail sales workers
## 160                                                 Forest and conservation workers
## 161                      First-line supervisors of production and operating workers
## 162             First-line supervisors of office and administrative support workers
## 163                            Office and administrative support workers, all other
## 164                              First-line supervisors of non-retail sales workers
## 165                                                     Artists and related workers
## 166                                                                  Social workers
## 167             First-line supervisors of office and administrative support workers
## 168                                          Driver/sales workers and truck drivers
## 169                     Explosives workers, ordnance handling experts, and blasters
## 170                             Other installation, maintenance, and repair workers
## 171                                                                  Social workers
## 172                                                         Human resources workers
## 173                                  First-line supervisors of retail sales workers
## 174                                          Driver/sales workers and truck drivers
## 175                                                   Production workers, all other
## 176                  First-line supervisors of food preparation and serving workers
## 177                       Supervisors of transportation and material moving workers
## 178                                          Driver/sales workers and truck drivers
## 179             First-line supervisors of office and administrative support workers
## 180                                         Welding, soldering, and brazing workers
## 181                                              Miscellaneous agricultural workers
## 182                              First-line supervisors of non-retail sales workers
## 183                                          Driver/sales workers and truck drivers
## 184                                         Welding, soldering, and brazing workers
## 185             First-line supervisors of office and administrative support workers
## 186                      First-line supervisors of production and operating workers
## 187                                                             Sheet metal workers
## 188                                  First-line supervisors of retail sales workers
## 189                                  Miscellaneous media and communication  workers
## 190                  First-line supervisors of food preparation and serving workers
## 191                                 Judges, magistrates, and other judicial workers
## 192                                                                  Social workers
## 193                                            Sales and related workers, all other
## 194                                         Maintenance and repair workers, general
## 195                                            Sales and related workers, all other
## 196                                              Food processing workers, all other
## 197                              First-line supervisors of non-retail sales workers
## 198             First-line supervisors of office and administrative support workers
## 199                                  First-line supervisors of retail sales workers
## 200                                  First-line supervisors of retail sales workers
## 201                      First-line supervisors of production and operating workers
## 202                                                         Human resources workers
## 203                                                        Food preparation workers
## 204 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 205                      First-line supervisors of production and operating workers
## 206                                         Maintenance and repair workers, general
## 207             First-line supervisors of office and administrative support workers
## 208                                    Metal workers and plastic workers, all other
## 209            First-line supervisors of construction trades and extraction workers
## 210             First-line supervisors of office and administrative support workers
## 211                                  First-line supervisors of retail sales workers
## 212                                 Judges, magistrates, and other judicial workers
## 213                            Office and administrative support workers, all other
## 214                                             Miscellaneous legal support workers
## 215             First-line supervisors of office and administrative support workers
## 216                            Office and administrative support workers, all other
## 217                                  First-line supervisors of retail sales workers
## 218                                         Welding, soldering, and brazing workers
## 219                                                                  Social workers
## 220                                                   Production workers, all other
## 221                                  First-line supervisors of retail sales workers
## 222                                  First-line supervisors of retail sales workers
## 223                                                                  Social workers
## 224                                                         Human resources workers
## 225             First-line supervisors of office and administrative support workers
## 226                                                                Painting workers
## 227                                             Miscellaneous legal support workers
## 228                                         Welding, soldering, and brazing workers
## 229                              First-line supervisors of non-retail sales workers
## 230                                             Miscellaneous legal support workers
## 231                                          Driver/sales workers and truck drivers
## 232             First-line supervisors of office and administrative support workers
## 233                                              Material moving workers, all other
## 234                                                   Production workers, all other
## 235                  First-line supervisors of food preparation and serving workers
## 236                                          Driver/sales workers and truck drivers
## 237                   First-line supervisors of housekeeping and janitorial workers
## 238                                          Driver/sales workers and truck drivers
## 239                          Helpers—installation,  maintenance, and repair workers
## 240                                          Driver/sales workers and truck drivers
## 241                                                     Highway maintenance workers
## 242                                          Driver/sales workers and truck drivers
## 243                                                     Grounds maintenance workers
## 244                                         Welding, soldering, and brazing workers
## 245                              First-line supervisors of non-retail sales workers
## 246             First-line supervisors of office and administrative support workers
## 247                                                    Religious workers, all other
## 248                                          Driver/sales workers and truck drivers
## 249                                                   Production workers, all other
## 250                                                   Production workers, all other
## 251                            Office and administrative support workers, all other
## 252             First-line supervisors of office and administrative support workers
## 253                                              Miscellaneous agricultural workers
## 254                      First-line supervisors of production and operating workers
## 255                                               Structural iron and steel workers
## 256                                          Driver/sales workers and truck drivers
## 257                                         Maintenance and repair workers, general
## 258             First-line supervisors of office and administrative support workers
## 259            First-line supervisors of construction trades and extraction workers
## 260                                                   Production workers, all other
## 261                                         Welding, soldering, and brazing workers
## 262                                                         Human resources workers
## 263             First-line supervisors of office and administrative support workers
## 264                              First-line supervisors of personal service workers
## 265                                  Miscellaneous media and communication  workers
## 266                                          Driver/sales workers and truck drivers
## 267                                  First-line supervisors of retail sales workers
## 268                                                         Human resources workers
## 269                                                     Grounds maintenance workers
## 270                                  First-line supervisors of retail sales workers
## 271                          Helpers—installation,  maintenance, and repair workers
## 272                              First-line supervisors of non-retail sales workers
## 273             First-line supervisors of office and administrative support workers
## 274                                             Print binding and finishing workers
## 275                                          Driver/sales workers and truck drivers
## 276                                         Maintenance and repair workers, general
## 277             First-line supervisors of office and administrative support workers
## 278                                                            Pest control workers
## 279             First-line supervisors of office and administrative support workers
## 280                   First-line supervisors of housekeeping and janitorial workers
## 281                                                                  Social workers
## 282             First-line supervisors of office and administrative support workers
## 283            First-line supervisors of construction trades and extraction workers
## 284                                          Driver/sales workers and truck drivers
## 285                                  First-line supervisors of retail sales workers
## 286                                              Miscellaneous agricultural workers
## 287                      First-line supervisors of production and operating workers
## 288                                          Driver/sales workers and truck drivers
## 289                                  First-line supervisors of retail sales workers
## 290                          Helpers—installation,  maintenance, and repair workers
## 291                                                                  Social workers
## 292                              First-line supervisors of non-retail sales workers
## 293                                  First-line supervisors of retail sales workers
## 294                     Crushing, grinding, polishing, mixing, and blending workers
## 295                                                             Sheet metal workers
## 296                                                                  Social workers
## 297                                             Miscellaneous legal support workers
## 298                                                                  Social workers
## 299                                                     Grounds maintenance workers
## 300                                                        Other extraction workers
## 301                                              Material moving workers, all other
## 302                                          Driver/sales workers and truck drivers
## 303            First-line supervisors of construction trades and extraction workers
## 304                                                        Food preparation workers
## 305             First-line supervisors of office and administrative support workers
## 306             First-line supervisors of office and administrative support workers
## 307             First-line supervisors of office and administrative support workers
## 308                  First-line supervisors of fire fighting and prevention workers
## 309                                                         Human resources workers
## 310                                             Miscellaneous legal support workers
## 311            First-line supervisors of construction trades and extraction workers
## 312                                                     Grounds maintenance workers
## 313                                                     Highway maintenance workers
## 314                                                                  Social workers
## 315                                                     Highway maintenance workers
## 316                                                             Sheet metal workers
## 317                                          Driver/sales workers and truck drivers
## 318                                                        Food preparation workers
## 319            First-line supervisors of construction trades and extraction workers
## 320            First-line supervisors of construction trades and extraction workers
## 321                                  First-line supervisors of retail sales workers
## 322                  First-line supervisors of food preparation and serving workers
## 323                                    Personal care and service workers, all other
## 324                              First-line supervisors of personal service workers
## 325                                          Driver/sales workers and truck drivers
## 326                                            Sales and related workers, all other
## 327            First-line supervisors of construction trades and extraction workers
## 328                                                     Grounds maintenance workers
## 329                                                   Production workers, all other
## 330                  First-line supervisors of food preparation and serving workers
## 331                                  First-line supervisors of retail sales workers
## 332                                                    Religious workers, all other
## 333                      First-line supervisors of production and operating workers
## 334              Combined food preparation and serving workers, including fast food
## 335                                  First-line supervisors of retail sales workers
## 336                                                   Production workers, all other
## 337                                             Miscellaneous legal support workers
## 338                                                                  Social workers
## 339             First-line supervisors of office and administrative support workers
## 340                  First-line supervisors of food preparation and serving workers
## 341            First-line supervisors of construction trades and extraction workers
## 342                                                     Parking enforcement workers
## 343                                                     Grounds maintenance workers
## 344                                                     Grounds maintenance workers
## 345                                  First-line supervisors of retail sales workers
## 346                                          Driver/sales workers and truck drivers
## 347                                       Miscellaneous personal appearance workers
## 348                   Butchers and other meat, poultry, and fish processing workers
## 349                                                               Childcare workers
## 350                                                     Grounds maintenance workers
## 351                                  First-line supervisors of retail sales workers
## 352            First-line supervisors of construction trades and extraction workers
## 353                  First-line supervisors of food preparation and serving workers
## 354 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 355                                                               Childcare workers
## 356                                                          Animal control workers
## 357                            Textile, apparel, and furnishings workers, all other
## 358                                 Athletes, coaches, umpires, and related workers
## 359                                                     Grounds maintenance workers
## 360                            Office and administrative support workers, all other
## 361                              First-line supervisors of non-retail sales workers
## 362            First-line supervisors of construction trades and extraction workers
## 363                                  First-line supervisors of retail sales workers
## 364                                                         Gaming services workers
## 365                                                                  Social workers
## 366                     Crushing, grinding, polishing, mixing, and blending workers
## 367                   First-line supervisors of housekeeping and janitorial workers
## 368                                              Food processing workers, all other
## 369                   Butchers and other meat, poultry, and fish processing workers
## 370              Combined food preparation and serving workers, including fast food
## 371             First-line supervisors of office and administrative support workers
## 372            First-line supervisors of construction trades and extraction workers
## 373              Combined food preparation and serving workers, including fast food
## 374                            Textile, apparel, and furnishings workers, all other
## 375                                          Driver/sales workers and truck drivers
## 376                                                     Grounds maintenance workers
## 377                                                     Grounds maintenance workers
## 378              Combined food preparation and serving workers, including fast food
## 379                                    Personal care and service workers, all other
## 380                                  First-line supervisors of retail sales workers
## 381                                          Driver/sales workers and truck drivers
## 382                                          Driver/sales workers and truck drivers
## 383                                          Driver/sales workers and truck drivers
## 384                                                     Grounds maintenance workers
## 385        Door-to-door sales workers, news and street vendors, and related workers
## 386                                                     Grounds maintenance workers
## 387                          Helpers—installation,  maintenance, and repair workers
## 388                                                    Religious workers, all other
## 389                                            Sales and related workers, all other
## 390                                                                  Social workers
## 391                                       Miscellaneous personal appearance workers
## 392                                          Driver/sales workers and truck drivers
## 393                                 Athletes, coaches, umpires, and related workers
## 394                  First-line supervisors of food preparation and serving workers
## 395                      First-line supervisors of production and operating workers
## 396                                          Driver/sales workers and truck drivers
## 397                                                             Sheet metal workers
## 398              Combined food preparation and serving workers, including fast food
## 399                First-line supervisors of farming, fishing, and forestry workers
## 400                                                               Childcare workers
## 401                                                               Childcare workers
## 402                                                         Human resources workers
## 403                                                               Childcare workers
## 404                                                               Childcare workers
## 405                                    Metal workers and plastic workers, all other
## 406                                                        Food preparation workers
## 407                  First-line supervisors of food preparation and serving workers
## 408                                                               Childcare workers
## 409                                                     Grounds maintenance workers
## 410             First-line supervisors of office and administrative support workers
## 411        Door-to-door sales workers, news and street vendors, and related workers
## 412                                 Athletes, coaches, umpires, and related workers
## 413                                          Driver/sales workers and truck drivers
## 414                                                     Grounds maintenance workers
## 415                                              Miscellaneous agricultural workers
## 416                                                        Food preparation workers
## 417                                         Maintenance and repair workers, general
## 418 First-line supervisors of landscaping, lawn service, and groundskeeping workers
## 419                                                     Grounds maintenance workers
## 420                                  First-line supervisors of retail sales workers
## 421                                          Driver/sales workers and truck drivers
## 422                                                  Recreation and fitness workers
## 423             First-line supervisors of office and administrative support workers
## 424                                                               Childcare workers
## 425                            Office and administrative support workers, all other
## 426                                          Driver/sales workers and truck drivers
## 427                                  First-line supervisors of retail sales workers
## 428                                  First-line supervisors of retail sales workers
## 429                                                         Human resources workers
## 430                                                     Grounds maintenance workers
## 431                                                     Grounds maintenance workers
## 432                                 Athletes, coaches, umpires, and related workers
## 433                                                     Grounds maintenance workers
## 434              Combined food preparation and serving workers, including fast food
## 435                                                               Childcare workers
## 436                                                     Grounds maintenance workers
## 437                                                                  Social workers
## 438                                              Miscellaneous agricultural workers
## 439                                                     Grounds maintenance workers
## 440                                                        Food preparation workers
## 441                First-line supervisors of farming, fishing, and forestry workers
## 442                                                               Childcare workers
## 443                                                    Religious workers, all other
## 444                                                             Sheet metal workers
## 445                                  First-line supervisors of retail sales workers
## 446              Combined food preparation and serving workers, including fast food
## 447                                                               Childcare workers
## 448                                  First-line supervisors of retail sales workers
## 449                                  First-line supervisors of retail sales workers
## 450                                              Miscellaneous agricultural workers
## 451                                                        Food preparation workers
## 452              Combined food preparation and serving workers, including fast food
## 453                                              Miscellaneous agricultural workers
## 454                                                        Food preparation workers
## 455                                              Miscellaneous agricultural workers
## 456                                          Driver/sales workers and truck drivers
## 457                                                        Food preparation workers
## 458                                         Maintenance and repair workers, general
## 459                                    Metal workers and plastic workers, all other
## 460                                                        Food preparation workers
## 461                              First-line supervisors of non-retail sales workers
## 462                                              Miscellaneous agricultural workers
## 463                                              Miscellaneous agricultural workers
## 464              Combined food preparation and serving workers, including fast food
## 465                                            Sales and related workers, all other
## 466                      Miscellaneous entertainment attendants and related workers
## 467                                                               Childcare workers
## 468              Entertainers and performers, sports and related workers, all other
## 469                                    Personal care and service workers, all other
## 470                                                     Artists and related workers
## 471                                         Welding, soldering, and brazing workers
## 472                                                               Childcare workers
## 473                                                     Grounds maintenance workers
## 474             First-line supervisors of office and administrative support workers
## 475                  First-line supervisors of food preparation and serving workers
## 476                                                               Childcare workers
## 477                                                               Childcare workers
## 478                                         Musicians, singers, and related workers
## 479                                                               Childcare workers
## 480                                              Miscellaneous agricultural workers
## 481                                                  Recreation and fitness workers
## 482                                                        Food preparation workers
## 483                                          Driver/sales workers and truck drivers
## 484                                 Athletes, coaches, umpires, and related workers
## 485                                  First-line supervisors of retail sales workers
## 486                                  First-line supervisors of retail sales workers
## 487                                                         Human resources workers
## 488                                                  Recreation and fitness workers
## 489              Combined food preparation and serving workers, including fast food
## 490              Combined food preparation and serving workers, including fast food
## 491                                                Prepress technicians and workers
## 492              Combined food preparation and serving workers, including fast food
## 493            First-line supervisors of construction trades and extraction workers
## 494     Lifeguards and other recreational, and all other protective service workers
## 495                                                  Recreation and fitness workers
## 496              Combined food preparation and serving workers, including fast food
## 497                                    Personal care and service workers, all other
## 498                      Miscellaneous entertainment attendants and related workers
## 499                                                               Childcare workers
## 500                                                        Food preparation workers
## 501                                          Driver/sales workers and truck drivers
## 502                                                               Childcare workers
## 503                                                               Childcare workers
## 504                                                        Food preparation workers
## 505                                         Welding, soldering, and brazing workers
## 506              Combined food preparation and serving workers, including fast food
## 507                                                               Childcare workers
## 508                                                               Childcare workers
## 509              Combined food preparation and serving workers, including fast food
## 510              Combined food preparation and serving workers, including fast food
## 511                                         Welding, soldering, and brazing workers
## 512                                                               Childcare workers
## 513                                       Miscellaneous personal appearance workers
## 514                                              Miscellaneous agricultural workers
## 515             First-line supervisors of office and administrative support workers
## 516                                                     Grounds maintenance workers
## 517                                              Miscellaneous agricultural workers
## 518                                          Driver/sales workers and truck drivers
## 519                                  Miscellaneous construction and related workers
## 520                                                                 Logging workers
## 521                                                               Childcare workers
## 522                                              Miscellaneous agricultural workers
##           age       educ    sex         income income_recode    educ_recode
## 1          68         12 Female $25000 or more         25000           1_hs
## 2          36         20 Female $25000 or more         25000     4_Advanced
## 3          42         16 Female $25000 or more         25000    3_Bachelors
## 4          52         12   Male $25000 or more         25000           1_hs
## 5          58         15   Male $25000 or more         25000 2_some_college
## 6          58         16 Female $25000 or more         25000    3_Bachelors
## 7          49         12 Female $25000 or more         25000           1_hs
## 8          39         18   Male $25000 or more         25000     4_Advanced
## 9          25         13 Female $25000 or more         25000 2_some_college
## 10         51         14 Female $25000 or more         25000 2_some_college
## 11         67         14   Male $25000 or more         25000 2_some_college
## 12         77         12   Male $25000 or more         25000           1_hs
## 13         47         13   Male $25000 or more         25000 2_some_college
## 14         33         18 Female $25000 or more         25000     4_Advanced
## 15         42         12   Male $25000 or more         25000           1_hs
## 16         25         12   Male $25000 or more         25000           1_hs
## 17         44         11   Male $25000 or more         25000      0_no_1_hs
## 18         38         14   Male $25000 or more         25000 2_some_college
## 19         50         19   Male $25000 or more         25000     4_Advanced
## 20         41         12   Male $25000 or more         25000           1_hs
## 21         30         19 Female $25000 or more         25000     4_Advanced
## 22         39         12   Male $25000 or more         25000           1_hs
## 23         58         17   Male $25000 or more         25000     4_Advanced
## 24         32         18 Female $25000 or more         25000     4_Advanced
## 25         53         12   Male $25000 or more         25000           1_hs
## 26         60         16   Male $25000 or more         25000    3_Bachelors
## 27         51         18   Male $25000 or more         25000     4_Advanced
## 28         40         13 Female $25000 or more         25000 2_some_college
## 29         65         16 Female $25000 or more         25000    3_Bachelors
## 30         49         14   Male $25000 or more         25000 2_some_college
## 31         59         11   Male $25000 or more         25000      0_no_1_hs
## 32         44         18   Male $25000 or more         25000     4_Advanced
## 33         52         10   Male $25000 or more         25000      0_no_1_hs
## 34         44          6   Male $25000 or more         25000      0_no_1_hs
## 35         43         12   Male $25000 or more         25000           1_hs
## 36         64         16   Male $25000 or more         25000    3_Bachelors
## 37         28         16   Male $25000 or more         25000    3_Bachelors
## 38         34         13   Male $25000 or more         25000 2_some_college
## 39         42         16 Female $25000 or more         25000    3_Bachelors
## 40         32         12   Male $25000 or more         25000           1_hs
## 41         51         13   Male $25000 or more         25000 2_some_college
## 42         37         14 Female $25000 or more         25000 2_some_college
## 43         58         13   Male $25000 or more         25000 2_some_college
## 44         63         16   Male $25000 or more         25000    3_Bachelors
## 45         42         12   Male $25000 or more         25000           1_hs
## 46         46         12 Female $25000 or more         25000           1_hs
## 47         68         13 Female $25000 or more         25000 2_some_college
## 48         61         12 Female $25000 or more         25000           1_hs
## 49         59         12   Male $25000 or more         25000           1_hs
## 50         27         14   Male $25000 or more         25000 2_some_college
## 51         48         13 Female $25000 or more         25000 2_some_college
## 52         31         14 Female $25000 or more         25000 2_some_college
## 53         56         12 Female $25000 or more         25000           1_hs
## 54         32         18 Female $25000 or more         25000     4_Advanced
## 55         28         16 Female $25000 or more         25000    3_Bachelors
## 56         38         14 Female $25000 or more         25000 2_some_college
## 57         51         12   Male $25000 or more         25000           1_hs
## 58         27         12   Male $25000 or more         25000           1_hs
## 59         34         16 Female $25000 or more         25000    3_Bachelors
## 60         51         15   Male $25000 or more         25000 2_some_college
## 61         23         13   Male $25000 or more         25000 2_some_college
## 62         35         12   Male $25000 or more         25000           1_hs
## 63         30         12   Male $25000 or more         25000           1_hs
## 64         51         12   Male $25000 or more         25000           1_hs
## 65         54         14 Female $25000 or more         25000 2_some_college
## 66         29         12   Male $25000 or more         25000           1_hs
## 67         24         11 Female $25000 or more         25000      0_no_1_hs
## 68         64         16 Female $25000 or more         25000    3_Bachelors
## 69         46         14 Female $25000 or more         25000 2_some_college
## 70         61         16 Female $25000 or more         25000    3_Bachelors
## 71         32         18   Male $25000 or more         25000     4_Advanced
## 72         39         12 Female $25000 or more         25000           1_hs
## 73         43         14 Female $25000 or more         25000 2_some_college
## 74         39         12   Male $25000 or more         25000           1_hs
## 75         65         12   Male $25000 or more         25000           1_hs
## 76         52         18 Female $25000 or more         25000     4_Advanced
## 77         56         10   Male $25000 or more         25000      0_no_1_hs
## 78         58         12   Male $25000 or more         25000           1_hs
## 79         48         12   Male $25000 or more         25000           1_hs
## 80         31         12   Male $25000 or more         25000           1_hs
## 81         35         15   Male $25000 or more         25000 2_some_college
## 82         41         20   Male $25000 or more         25000     4_Advanced
## 83         46         16   Male $25000 or more         25000    3_Bachelors
## 84         27         14 Female $25000 or more         25000 2_some_college
## 85         24         12   Male $25000 or more         25000           1_hs
## 86         28         16 Female $25000 or more         25000    3_Bachelors
## 87         35         16 Female $25000 or more         25000    3_Bachelors
## 88         40         16   Male $25000 or more         25000    3_Bachelors
## 89         30         12   Male $25000 or more         25000           1_hs
## 90         55         12   Male $25000 or more         25000           1_hs
## 91         50         13   Male $25000 or more         25000 2_some_college
## 92         52         16   Male $25000 or more         25000    3_Bachelors
## 93         36         12   Male $25000 or more         25000           1_hs
## 94         26         17 Female $25000 or more         25000     4_Advanced
## 95         47         12   Male $25000 or more         25000           1_hs
## 96         24         15   Male $25000 or more         25000 2_some_college
## 97         54         16 Female $25000 or more         25000    3_Bachelors
## 98         37         19   Male $25000 or more         25000     4_Advanced
## 99         31         14   Male $25000 or more         25000 2_some_college
## 100        83          9   Male $25000 or more         25000      0_no_1_hs
## 101        53         12   Male $25000 or more         25000           1_hs
## 102        31         12 Female $25000 or more         25000           1_hs
## 103        44         14   Male $25000 or more         25000 2_some_college
## 104        50         12 Female $25000 or more         25000           1_hs
## 105        63         12 Female $25000 or more         25000           1_hs
## 106        28         14   Male $25000 or more         25000 2_some_college
## 107        57         12   Male $25000 or more         25000           1_hs
## 108        66         16 Female $25000 or more         25000    3_Bachelors
## 109        48         13   Male $25000 or more         25000 2_some_college
## 110        30         14   Male $25000 or more         25000 2_some_college
## 111        56         17 Female $25000 or more         25000     4_Advanced
## 112        43         13 Female $25000 or more         25000 2_some_college
## 113        27         16   Male $25000 or more         25000    3_Bachelors
## 114        52         18   Male $25000 or more         25000     4_Advanced
## 115        50         16 Female $25000 or more         25000    3_Bachelors
## 116        34         16   Male $25000 or more         25000    3_Bachelors
## 117        41         12   Male $25000 or more         25000           1_hs
## 118        28         12   Male $25000 or more         25000           1_hs
## 119        27         14 Female $25000 or more         25000 2_some_college
## 120        72          8   Male $25000 or more         25000      0_no_1_hs
## 121        65         14   Male $25000 or more         25000 2_some_college
## 122        57         12   Male $25000 or more         25000           1_hs
## 123        36         16 Female $25000 or more         25000    3_Bachelors
## 124        43          9   Male $25000 or more         25000      0_no_1_hs
## 125        53         13 Female $25000 or more         25000 2_some_college
## 126        44         12   Male $25000 or more         25000           1_hs
## 127        52         16 Female $25000 or more         25000    3_Bachelors
## 128        41         14 Female $25000 or more         25000 2_some_college
## 129        58         12   Male $25000 or more         25000           1_hs
## 130        55         16 Female $25000 or more         25000    3_Bachelors
## 131        57         12 Female $25000 or more         25000           1_hs
## 132        44         16   Male $25000 or more         25000    3_Bachelors
## 133        39         19   Male $25000 or more         25000     4_Advanced
## 134        29         16   Male $25000 or more         25000    3_Bachelors
## 135        59         12   Male $25000 or more         25000           1_hs
## 136        32         16   Male $25000 or more         25000    3_Bachelors
## 137        60         19   Male $25000 or more         25000     4_Advanced
## 138        52         12   Male $25000 or more         25000           1_hs
## 139        57         12   Male $25000 or more         25000           1_hs
## 140        60         16 Female $25000 or more         25000    3_Bachelors
## 141        72         12 Female $25000 or more         25000           1_hs
## 142        57         13   Male $25000 or more         25000 2_some_college
## 143        49         12   Male $25000 or more         25000           1_hs
## 144        48         12 Female $25000 or more         25000           1_hs
## 145        45         14   Male $25000 or more         25000 2_some_college
## 146        33         11   Male $25000 or more         25000      0_no_1_hs
## 147        62         19 Female $25000 or more         25000     4_Advanced
## 148        24         16 Female $25000 or more         25000    3_Bachelors
## 149        32         16   Male $25000 or more         25000    3_Bachelors
## 150        29         12   Male $25000 or more         25000           1_hs
## 151        33         10   Male $25000 or more         25000      0_no_1_hs
## 152        54         12   Male $25000 or more         25000           1_hs
## 153        58         14 Female $25000 or more         25000 2_some_college
## 154        46         20 Female $25000 or more         25000     4_Advanced
## 155        52         16 Female $25000 or more         25000    3_Bachelors
## 156        37         13 Female $25000 or more         25000 2_some_college
## 157        49          1   Male $25000 or more         25000      0_no_1_hs
## 158        28         12   Male $25000 or more         25000           1_hs
## 159        52         16 Female $25000 or more         25000    3_Bachelors
## 160        33          9   Male $25000 or more         25000      0_no_1_hs
## 161        31         12 Female $25000 or more         25000           1_hs
## 162        62         16 Female $25000 or more         25000    3_Bachelors
## 163        57         14 Female $25000 or more         25000 2_some_college
## 164        48         12   Male $25000 or more         25000           1_hs
## 165        73         19   Male $25000 or more         25000     4_Advanced
## 166        50         20 Female $25000 or more         25000     4_Advanced
## 167        28         13   Male $25000 or more         25000 2_some_college
## 168        33         12   Male $25000 or more         25000           1_hs
## 169        40         10   Male $25000 or more         25000      0_no_1_hs
## 170        56         16   Male $25000 or more         25000    3_Bachelors
## 171        46         18 Female $25000 or more         25000     4_Advanced
## 172        69         13   Male $25000 or more         25000 2_some_college
## 173        43         18 Female $25000 or more         25000     4_Advanced
## 174        58         14   Male $25000 or more         25000 2_some_college
## 175        35         14   Male $25000 or more         25000 2_some_college
## 176        46         14   Male $25000 or more         25000 2_some_college
## 177        53         12 Female $25000 or more         25000           1_hs
## 178        25         12   Male $25000 or more         25000           1_hs
## 179        24         16   Male $25000 or more         25000    3_Bachelors
## 180        24         12   Male $25000 or more         25000           1_hs
## 181        22         12 Female $25000 or more         25000           1_hs
## 182        48         12   Male $25000 or more         25000           1_hs
## 183        61         12   Male $25000 or more         25000           1_hs
## 184        39         12   Male $25000 or more         25000           1_hs
## 185        50         14   Male $25000 or more         25000 2_some_college
## 186        52         19 Female $25000 or more         25000     4_Advanced
## 187        40         12   Male $25000 or more         25000           1_hs
## 188        40         12   Male $25000 or more         25000           1_hs
## 189        57         20 Female $25000 or more         25000     4_Advanced
## 190        40         13 Female $25000 or more         25000 2_some_college
## 191        42         16   Male $25000 or more         25000    3_Bachelors
## 192        45         16   Male $25000 or more         25000    3_Bachelors
## 193        70         16   Male $25000 or more         25000    3_Bachelors
## 194        55         14   Male $25000 or more         25000 2_some_college
## 195        58         12 Female $25000 or more         25000           1_hs
## 196        46         13   Male $25000 or more         25000 2_some_college
## 197        60         16   Male $25000 or more         25000    3_Bachelors
## 198        38         16 Female $25000 or more         25000    3_Bachelors
## 199        29         13   Male $25000 or more         25000 2_some_college
## 200        47         12   Male $25000 or more         25000           1_hs
## 201        46         14   Male $25000 or more         25000 2_some_college
## 202        33         12 Female $25000 or more         25000           1_hs
## 203        28         17 Female $25000 or more         25000     4_Advanced
## 204        26         13   Male $25000 or more         25000 2_some_college
## 205        36         12   Male $25000 or more         25000           1_hs
## 206        31         12   Male $25000 or more         25000           1_hs
## 207        58         16   Male $25000 or more         25000    3_Bachelors
## 208        51         12   Male $25000 or more         25000           1_hs
## 209        60         12   Male $25000 or more         25000           1_hs
## 210        39         15 Female $25000 or more         25000 2_some_college
## 211        50         12   Male $25000 or more         25000           1_hs
## 212        34         16 Female $25000 or more         25000    3_Bachelors
## 213        26         16 Female $25000 or more         25000    3_Bachelors
## 214        60         20   Male $25000 or more         25000     4_Advanced
## 215        40         16 Female $25000 or more         25000    3_Bachelors
## 216        41         16 Female $25000 or more         25000    3_Bachelors
## 217        34         16   Male $25000 or more         25000    3_Bachelors
## 218        53         13   Male $25000 or more         25000 2_some_college
## 219        49         16 Female $25000 or more         25000    3_Bachelors
## 220        47         12   Male $25000 or more         25000           1_hs
## 221        31         14 Female $25000 or more         25000 2_some_college
## 222        22         12   Male $25000 or more         25000           1_hs
## 223        37         19 Female $25000 or more         25000     4_Advanced
## 224        43         18   Male $25000 or more         25000     4_Advanced
## 225        46         16 Female $25000 or more         25000    3_Bachelors
## 226        33         12   Male $25000 or more         25000           1_hs
## 227        66         17   Male $25000 or more         25000     4_Advanced
## 228        63         12   Male $25000 or more         25000           1_hs
## 229        56         12 Female $25000 or more         25000           1_hs
## 230        53         16 Female $25000 or more         25000    3_Bachelors
## 231        27         12   Male $25000 or more         25000           1_hs
## 232        39         15 Female $25000 or more         25000 2_some_college
## 233        28         12 Female $25000 or more         25000           1_hs
## 234        40         14   Male $25000 or more         25000 2_some_college
## 235        54         15   Male $25000 or more         25000 2_some_college
## 236        33         12   Male $25000 or more         25000           1_hs
## 237        33         12   Male $25000 or more         25000           1_hs
## 238        48         13   Male $25000 or more         25000 2_some_college
## 239        57         14 Female $25000 or more         25000 2_some_college
## 240        30         12   Male $25000 or more         25000           1_hs
## 241        36         12   Male $25000 or more         25000           1_hs
## 242        28          8   Male $25000 or more         25000      0_no_1_hs
## 243        78         10   Male $25000 or more         25000      0_no_1_hs
## 244        25         12   Male $25000 or more         25000           1_hs
## 245        56         17 Female $25000 or more         25000     4_Advanced
## 246        35         16   Male $25000 or more         25000    3_Bachelors
## 247        47         16   Male $25000 or more         25000    3_Bachelors
## 248        56         13   Male $25000 or more         25000 2_some_college
## 249        44         12   Male $25000 or more         25000           1_hs
## 250        57         12   Male $25000 or more         25000           1_hs
## 251        27         15 Female $25000 or more         25000 2_some_college
## 252        32         14 Female $25000 or more         25000 2_some_college
## 253        49          6   Male $25000 or more         25000      0_no_1_hs
## 254        22         13   Male $25000 or more         25000 2_some_college
## 255        32         16   Male $25000 or more         25000    3_Bachelors
## 256        41         16   Male $25000 or more         25000    3_Bachelors
## 257        61         14   Male $25000 or more         25000 2_some_college
## 258        42         14 Female $25000 or more         25000 2_some_college
## 259        58         14   Male $25000 or more         25000 2_some_college
## 260        54         12   Male $25000 or more         25000           1_hs
## 261        65         12   Male $25000 or more         25000           1_hs
## 262        37         14 Female $25000 or more         25000 2_some_college
## 263        60         12 Female $25000 or more         25000           1_hs
## 264        47         17   Male $25000 or more         25000     4_Advanced
## 265        31         16   Male $25000 or more         25000    3_Bachelors
## 266        40          8   Male $25000 or more         25000      0_no_1_hs
## 267        30         14 Female $25000 or more         25000 2_some_college
## 268        46         16 Female $25000 or more         25000    3_Bachelors
## 269        52         12   Male $25000 or more         25000           1_hs
## 270        38         16 Female $25000 or more         25000    3_Bachelors
## 271        28         12   Male $25000 or more         25000           1_hs
## 272        31         16 Female $25000 or more         25000    3_Bachelors
## 273        30         15 Female $25000 or more         25000 2_some_college
## 274        55         12   Male $25000 or more         25000           1_hs
## 275        41         13   Male $25000 or more         25000 2_some_college
## 276        36         14 Female $25000 or more         25000 2_some_college
## 277        30         15 Female $25000 or more         25000 2_some_college
## 278        44          9   Male $25000 or more         25000      0_no_1_hs
## 279        52         13 Female $25000 or more         25000 2_some_college
## 280        49         14   Male $25000 or more         25000 2_some_college
## 281        35         15 Female $25000 or more         25000 2_some_college
## 282        44         13   Male $25000 or more         25000 2_some_college
## 283        71         17 Female $25000 or more         25000     4_Advanced
## 284 No answer         14   Male $25000 or more         25000 2_some_college
## 285        47         12   Male $25000 or more         25000           1_hs
## 286        38          6   Male $25000 or more         25000      0_no_1_hs
## 287        58         11   Male $25000 or more         25000      0_no_1_hs
## 288        32         15 Female $25000 or more         25000 2_some_college
## 289        65         19   Male $25000 or more         25000     4_Advanced
## 290        43         16   Male $25000 or more         25000    3_Bachelors
## 291        73         16   Male $25000 or more         25000    3_Bachelors
## 292        55         12   Male $25000 or more         25000           1_hs
## 293        25         13 Female $25000 or more         25000 2_some_college
## 294        41         16   Male $25000 or more         25000    3_Bachelors
## 295        64         13   Male $25000 or more         25000 2_some_college
## 296        64         18 Female $25000 or more         25000     4_Advanced
## 297        58         12 Female $25000 or more         25000           1_hs
## 298        64         12 Female $25000 or more         25000           1_hs
## 299        27         12   Male $25000 or more         25000           1_hs
## 300        34         11   Male $25000 or more         25000      0_no_1_hs
## 301        49         13   Male $25000 or more         25000 2_some_college
## 302        39         14   Male $25000 or more         25000 2_some_college
## 303        51         14   Male $25000 or more         25000 2_some_college
## 304        30         12 Female $25000 or more         25000           1_hs
## 305        51         14   Male $25000 or more         25000 2_some_college
## 306        59         13   Male $25000 or more         25000 2_some_college
## 307        56         17 Female $25000 or more         25000     4_Advanced
## 308        44         20   Male $25000 or more         25000     4_Advanced
## 309        36         16 Female $25000 or more         25000    3_Bachelors
## 310        62         14 Female $25000 or more         25000 2_some_college
## 311        36          9   Male $25000 or more         25000      0_no_1_hs
## 312        44         12   Male $25000 or more         25000           1_hs
## 313        35         12   Male $25000 or more         25000           1_hs
## 314        28         18   Male $25000 or more         25000     4_Advanced
## 315        64         12   Male $25000 or more         25000           1_hs
## 316        27         12   Male $25000 or more         25000           1_hs
## 317        46          8   Male $25000 or more         25000      0_no_1_hs
## 318        34         14 Female $25000 or more         25000 2_some_college
## 319        32         11   Male $25000 or more         25000      0_no_1_hs
## 320        55         12   Male $25000 or more         25000           1_hs
## 321        34         14 Female $25000 or more         25000 2_some_college
## 322        48         12 Female $25000 or more         25000           1_hs
## 323        43         16   Male $20000 - 24999         22500    3_Bachelors
## 324        40          8 Female $20000 - 24999         22500      0_no_1_hs
## 325        45         12 Female $20000 - 24999         22500           1_hs
## 326        32         14   Male $20000 - 24999         22500 2_some_college
## 327        37         12   Male $20000 - 24999         22500           1_hs
## 328        28         14   Male $20000 - 24999         22500 2_some_college
## 329        57         12 Female $20000 - 24999         22500           1_hs
## 330        29         12   Male $20000 - 24999         22500           1_hs
## 331        81         18   Male $20000 - 24999         22500     4_Advanced
## 332        59         16   Male $20000 - 24999         22500    3_Bachelors
## 333        52         18 Female $20000 - 24999         22500     4_Advanced
## 334        56         12 Female $20000 - 24999         22500           1_hs
## 335        44         12 Female $20000 - 24999         22500           1_hs
## 336        63         14   Male $20000 - 24999         22500 2_some_college
## 337        30         14 Female $20000 - 24999         22500 2_some_college
## 338        33         18   Male $20000 - 24999         22500     4_Advanced
## 339        57         12   Male $20000 - 24999         22500           1_hs
## 340        41         10   Male $20000 - 24999         22500      0_no_1_hs
## 341        21         12   Male $20000 - 24999         22500           1_hs
## 342        67         12   Male $20000 - 24999         22500           1_hs
## 343        18         12   Male $20000 - 24999         22500           1_hs
## 344        49         12   Male $20000 - 24999         22500           1_hs
## 345        25         12   Male $20000 - 24999         22500           1_hs
## 346        34         14   Male $20000 - 24999         22500 2_some_college
## 347        45          6   Male $20000 - 24999         22500      0_no_1_hs
## 348        51         12   Male $20000 - 24999         22500           1_hs
## 349        42         10 Female $20000 - 24999         22500      0_no_1_hs
## 350        69         12   Male $20000 - 24999         22500           1_hs
## 351        28         16   Male $20000 - 24999         22500    3_Bachelors
## 352        50         15   Male $20000 - 24999         22500 2_some_college
## 353        24 Don't know Female $20000 - 24999         22500              0
## 354        65          3   Male $20000 - 24999         22500      0_no_1_hs
## 355        46         12 Female $20000 - 24999         22500           1_hs
## 356        41         12 Female $20000 - 24999         22500           1_hs
## 357        69         14   Male $20000 - 24999         22500 2_some_college
## 358        23         14   Male $20000 - 24999         22500 2_some_college
## 359        22         12   Male $20000 - 24999         22500           1_hs
## 360        53         12 Female $20000 - 24999         22500           1_hs
## 361        26         12   Male $20000 - 24999         22500           1_hs
## 362        35          9   Male $20000 - 24999         22500      0_no_1_hs
## 363        53         13 Female $20000 - 24999         22500 2_some_college
## 364        43         14 Female $20000 - 24999         22500 2_some_college
## 365        59         16 Female $20000 - 24999         22500    3_Bachelors
## 366        43         11   Male $20000 - 24999         22500      0_no_1_hs
## 367        51         10 Female $20000 - 24999         22500      0_no_1_hs
## 368        34          6   Male $20000 - 24999         22500      0_no_1_hs
## 369        53          8 Female $20000 - 24999         22500      0_no_1_hs
## 370        41         12 Female $15000 - 19999         17500           1_hs
## 371        42         12   Male $15000 - 19999         17500           1_hs
## 372        52         15   Male $15000 - 19999         17500 2_some_college
## 373        66         16 Female $15000 - 19999         17500    3_Bachelors
## 374        31         12 Female $15000 - 19999         17500           1_hs
## 375        54         14   Male $15000 - 19999         17500 2_some_college
## 376        24         14   Male $15000 - 19999         17500 2_some_college
## 377        38         12 Female $15000 - 19999         17500           1_hs
## 378        30          9   Male $15000 - 19999         17500      0_no_1_hs
## 379        25         14   Male $15000 - 19999         17500 2_some_college
## 380        43         13   Male $15000 - 19999         17500 2_some_college
## 381        38         12   Male $15000 - 19999         17500           1_hs
## 382        67         12 Female $15000 - 19999         17500           1_hs
## 383        60         11   Male $15000 - 19999         17500      0_no_1_hs
## 384        37         12   Male $15000 - 19999         17500           1_hs
## 385        46          3 Female $15000 - 19999         17500      0_no_1_hs
## 386        25         12 Female $15000 - 19999         17500           1_hs
## 387        57         14   Male $15000 - 19999         17500 2_some_college
## 388        62         17   Male $15000 - 19999         17500     4_Advanced
## 389        53         18 Female $15000 - 19999         17500     4_Advanced
## 390        56         16 Female $15000 - 19999         17500    3_Bachelors
## 391        32         15 Female $15000 - 19999         17500 2_some_college
## 392        39         14 Female $15000 - 19999         17500 2_some_college
## 393        27         16 Female $15000 - 19999         17500    3_Bachelors
## 394        27         15 Female $15000 - 19999         17500 2_some_college
## 395        70         12   Male $15000 - 19999         17500           1_hs
## 396        59         12 Female $15000 - 19999         17500           1_hs
## 397        29         13   Male $15000 - 19999         17500 2_some_college
## 398        33         12 Female $15000 - 19999         17500           1_hs
## 399        42          9 Female $15000 - 19999         17500      0_no_1_hs
## 400        43         12 Female $10000 - 14999         12500           1_hs
## 401        34         16 Female $10000 - 14999         12500    3_Bachelors
## 402        26         17 Female $10000 - 14999         12500     4_Advanced
## 403        49         14 Female $10000 - 14999         12500 2_some_college
## 404        23         14 Female $10000 - 14999         12500 2_some_college
## 405        66          8   Male $10000 - 14999         12500      0_no_1_hs
## 406        28         15 Female $10000 - 14999         12500 2_some_college
## 407        23         13 Female $10000 - 14999         12500 2_some_college
## 408        57         11 Female $10000 - 14999         12500      0_no_1_hs
## 409        57          9   Male $10000 - 14999         12500      0_no_1_hs
## 410        29         14 Female $10000 - 14999         12500 2_some_college
## 411        32         14   Male $10000 - 14999         12500 2_some_college
## 412        46         16 Female $10000 - 14999         12500    3_Bachelors
## 413        63         13   Male $10000 - 14999         12500 2_some_college
## 414        68         16   Male $10000 - 14999         12500    3_Bachelors
## 415        42          6 Female $10000 - 14999         12500      0_no_1_hs
## 416        26         11   Male $10000 - 14999         12500      0_no_1_hs
## 417        50         12   Male $10000 - 14999         12500           1_hs
## 418        19         12   Male $10000 - 14999         12500           1_hs
## 419        38         14   Male $10000 - 14999         12500 2_some_college
## 420        26         16   Male $10000 - 14999         12500    3_Bachelors
## 421        45         14   Male $10000 - 14999         12500 2_some_college
## 422        33         12 Female $10000 - 14999         12500           1_hs
## 423        23          8 Female $10000 - 14999         12500      0_no_1_hs
## 424        29         15 Female $10000 - 14999         12500 2_some_college
## 425        40         18 Female $10000 - 14999         12500     4_Advanced
## 426        58         14   Male $10000 - 14999         12500 2_some_college
## 427        23         13 Female $10000 - 14999         12500 2_some_college
## 428        21          9   Male $10000 - 14999         12500      0_no_1_hs
## 429        44         14 Female $10000 - 14999         12500 2_some_college
## 430        27         15   Male $10000 - 14999         12500 2_some_college
## 431        65         11   Male $10000 - 14999         12500      0_no_1_hs
## 432        54         14   Male $10000 - 14999         12500 2_some_college
## 433        33         10   Male $10000 - 14999         12500      0_no_1_hs
## 434        21         15   Male $10000 - 14999         12500 2_some_college
## 435        28         14 Female $10000 - 14999         12500 2_some_college
## 436        29         12   Male $10000 - 14999         12500           1_hs
## 437        27         18 Female  $8000 to 9999          9000     4_Advanced
## 438        63          6   Male  $8000 to 9999          9000      0_no_1_hs
## 439        81         12   Male  $8000 to 9999          9000           1_hs
## 440        31         12   Male  $8000 to 9999          9000           1_hs
## 441        60          9 Female  $8000 to 9999          9000      0_no_1_hs
## 442        34          9 Female  $8000 to 9999          9000      0_no_1_hs
## 443        54         16 Female  $8000 to 9999          9000    3_Bachelors
## 444        46         12   Male  $8000 to 9999          9000           1_hs
## 445        46         12 Female  $8000 to 9999          9000           1_hs
## 446        39         12 Female  $8000 to 9999          9000           1_hs
## 447        21         14 Female  $7000 to 7999          7500 2_some_college
## 448        30         14 Female  $7000 to 7999          7500 2_some_college
## 449        79         14   Male  $7000 to 7999          7500 2_some_college
## 450        68         12   Male  $7000 to 7999          7500           1_hs
## 451        59         12 Female  $7000 to 7999          7500           1_hs
## 452        26         14 Female  $7000 to 7999          7500 2_some_college
## 453        62         11 Female  $7000 to 7999          7500      0_no_1_hs
## 454        38          9 Female  $7000 to 7999          7500      0_no_1_hs
## 455        59          2   Male  $7000 to 7999          7500      0_no_1_hs
## 456        40         12 Female  $6000 to 6999          6500           1_hs
## 457        40         14 Female  $6000 to 6999          6500 2_some_college
## 458        24         12   Male  $6000 to 6999          6500           1_hs
## 459        42         12   Male  $6000 to 6999          6500           1_hs
## 460        19         11   Male  $6000 to 6999          6500      0_no_1_hs
## 461        64         14 Female  $6000 to 6999          6500 2_some_college
## 462        33          8   Male  $6000 to 6999          6500      0_no_1_hs
## 463        59         20 Female  $6000 to 6999          6500     4_Advanced
## 464        57         16 Female  $6000 to 6999          6500    3_Bachelors
## 465        53         16 Female  $5000 to 5999          5500    3_Bachelors
## 466        38         12 Female  $5000 to 5999          5500           1_hs
## 467        21         13 Female  $5000 to 5999          5500 2_some_college
## 468        26          8 Female  $5000 to 5999          5500      0_no_1_hs
## 469        28         14   Male  $5000 to 5999          5500 2_some_college
## 470        31         15 Female  $5000 to 5999          5500 2_some_college
## 471        28         12   Male  $5000 to 5999          5500           1_hs
## 472        47          9 Female  $5000 to 5999          5500      0_no_1_hs
## 473        30          6   Male  $5000 to 5999          5500      0_no_1_hs
## 474        60         14 Female  $4000 to 4999          4500 2_some_college
## 475        35         14   Male  $4000 to 4999          4500 2_some_college
## 476        52         14 Female  $4000 to 4999          4500 2_some_college
## 477        22          5 Female  $4000 to 4999          4500      0_no_1_hs
## 478        60         14   Male  $4000 to 4999          4500 2_some_college
## 479        67         16 Female  $4000 to 4999          4500    3_Bachelors
## 480        22         11   Male  $4000 to 4999          4500      0_no_1_hs
## 481        21         15   Male  $4000 to 4999          4500 2_some_college
## 482        22         15   Male  $3000 to 3999          3500 2_some_college
## 483        40         13   Male  $3000 to 3999          3500 2_some_college
## 484        27         13   Male  $3000 to 3999          3500 2_some_college
## 485        28         12 Female  $3000 to 3999          3500           1_hs
## 486        39         18   Male  $3000 to 3999          3500     4_Advanced
## 487        33          9 Female  $3000 to 3999          3500      0_no_1_hs
## 488        23         11 Female  $3000 to 3999          3500      0_no_1_hs
## 489        24          8 Female  $3000 to 3999          3500      0_no_1_hs
## 490        25         13 Female  $3000 to 3999          3500 2_some_college
## 491        87         11 Female  $3000 to 3999          3500      0_no_1_hs
## 492        45          4 Female  $3000 to 3999          3500      0_no_1_hs
## 493        37         12   Male  $3000 to 3999          3500           1_hs
## 494        20         13   Male  $1000 to 2999          1500 2_some_college
## 495        19         13 Female  $1000 to 2999          1500 2_some_college
## 496        73         12 Female  $1000 to 2999          1500           1_hs
## 497        44         16 Female  $1000 to 2999          1500    3_Bachelors
## 498        58         14   Male  $1000 to 2999          1500 2_some_college
## 499        58         12 Female  $1000 to 2999          1500           1_hs
## 500        29         11 Female  $1000 to 2999          1500      0_no_1_hs
## 501        63         12 Female  $1000 to 2999          1500           1_hs
## 502        42         10 Female  $1000 to 2999          1500      0_no_1_hs
## 503        20         13 Female  $1000 to 2999          1500 2_some_college
## 504        19         12   Male  $1000 to 2999          1500           1_hs
## 505        29         11   Male  $1000 to 2999          1500      0_no_1_hs
## 506        21         15   Male  $1000 to 2999          1500 2_some_college
## 507        62          8 Female  $1000 to 2999          1500      0_no_1_hs
## 508        19         11 Female  $1000 to 2999          1500      0_no_1_hs
## 509        19         12 Female  $1000 to 2999          1500           1_hs
## 510        24         11 Female  $1000 to 2999          1500      0_no_1_hs
## 511        56         14   Male  $1000 to 2999          1500 2_some_college
## 512        22         12 Female       Lt $1000           500           1_hs
## 513        30         13 Female       Lt $1000           500 2_some_college
## 514        44         12 Female       Lt $1000           500           1_hs
## 515        86         12 Female       Lt $1000           500           1_hs
## 516        71          8   Male       Lt $1000           500      0_no_1_hs
## 517        50         11   Male       Lt $1000           500      0_no_1_hs
## 518        41         12   Male       Lt $1000           500           1_hs
## 519        51          1   Male       Lt $1000           500      0_no_1_hs
## 520        21         12   Male       Lt $1000           500           1_hs
## 521        20         13 Female       Lt $1000           500 2_some_college
## 522        66          6   Male       Lt $1000           500      0_no_1_hs
a4 = subset(a3, sex == 'Male')%>%group_by(educ_recode)%>% summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())
a5 = subset(a3,sex == 'Female')%>%group_by(educ_recode)%>%summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n()) 
a4
## # A tibble: 5 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0_no_1_hs       18122.  22500    49
## 2 1_hs            22176.  25000   111
## 3 2_some_college  19976.  25000    85
## 4 3_Bachelors     24044.  25000    34
## 5 4_Advanced      23522.  25000    23
a5
## # A tibble: 6 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0               22500   22500     1
## 2 0_no_1_hs        9667.   7500    27
## 3 1_hs            17991.  22500    53
## 4 2_some_college  18684.  25000    68
## 5 3_Bachelors     21636.  25000    44
## 6 4_Advanced      22426.  25000    27
ggplot(a4, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+ xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Male income in worker area")
## Warning: Ignoring unknown parameters: varwidth

ggplot(a5, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Female income in worker area")
## Warning: Ignoring unknown parameters: varwidth

a1 = q1%>%
  filter(grepl('teacher',occupation))

a2 = q1%>%
  filter(grepl('Teacher',occupation))
a1
##     year   id hours_wkd                            occupation age educ    sex
## 1   2016   19        40 Elementary and middle school teachers  31   18   Male
## 2   2016   29        NA             Secondary school teachers  74   18   Male
## 3   2016   38        40 Elementary and middle school teachers  43   16 Female
## 4   2016  121        40             Secondary school teachers  55   18 Female
## 5   2016  150        30        Other teachers and instructors  30   16   Male
## 6   2016  259        50 Elementary and middle school teachers  35   20 Female
## 7   2016  261        NA                Postsecondary teachers  62   20 Female
## 8   2016  277        55 Elementary and middle school teachers  44   20 Female
## 9   2016  292        40        Other teachers and instructors  61   16   Male
## 10  2016  300        40        Other teachers and instructors  40   17   Male
## 11  2016  380        24                Postsecondary teachers  68   18 Female
## 12  2016  395        NA                Postsecondary teachers  25   16   Male
## 13  2016  408        30                Postsecondary teachers  59   20 Female
## 14  2016  412        40 Elementary and middle school teachers  37   20   Male
## 15  2016  468        50                Postsecondary teachers  59   20 Female
## 16  2016  471        50             Secondary school teachers  59   18 Female
## 17  2016  488        40                Postsecondary teachers  73   20   Male
## 18  2016  609        40 Elementary and middle school teachers  47   20 Female
## 19  2016  705         1 Elementary and middle school teachers  40   16 Female
## 20  2016  737        60             Secondary school teachers  52   16 Female
## 21  2016  798        27                Postsecondary teachers  70   16 Female
## 22  2016  912        NA Elementary and middle school teachers  27   16 Female
## 23  2016  920        40             Secondary school teachers  51   18 Female
## 24  2016 1007         8        Other teachers and instructors  34   17 Female
## 25  2016 1008        60             Secondary school teachers  32   19 Female
## 26  2016 1010        NA   Preschool and kindergarten teachers  31   20 Female
## 27  2016 1020        55             Secondary school teachers  63   18   Male
## 28  2016 1030        44                Postsecondary teachers  41   20   Male
## 29  2016 1050        60 Elementary and middle school teachers  25   16 Female
## 30  2016 1138        50 Elementary and middle school teachers  47   16 Female
## 31  2016 1244        40                Postsecondary teachers  33   16   Male
## 32  2016 1249        55            Special education teachers  38   20   Male
## 33  2016 1355        62 Elementary and middle school teachers  42   16   Male
## 34  2016 1442        NA Elementary and middle school teachers  31   16 Female
## 35  2016 1490        40             Secondary school teachers  38   19 Female
## 36  2016 1530        60             Secondary school teachers  47   20   Male
## 37  2016 1536        35                Postsecondary teachers  53   18   Male
## 38  2016 1575        45            Special education teachers  42   18 Female
## 39  2016 1590        25             Secondary school teachers  59   14 Female
## 40  2016 1596        48                Postsecondary teachers  52   20 Female
## 41  2016 1700        40   Preschool and kindergarten teachers  59   16 Female
## 42  2016 1705        NA             Secondary school teachers  41   18 Female
## 43  2016 1717        NA             Secondary school teachers  45   16 Female
## 44  2016 1783        NA Elementary and middle school teachers  63   17 Female
## 45  2016 1825        40 Elementary and middle school teachers  50   16   Male
## 46  2016 1889        40                Postsecondary teachers  53   20   Male
## 47  2016 2083        NA Elementary and middle school teachers  39   16 Female
## 48  2016 2130        45             Secondary school teachers  47   16 Female
## 49  2016 2153        NA Elementary and middle school teachers  38   16 Female
## 50  2016 2422        40             Secondary school teachers  37   17 Female
## 51  2016 2431        50            Special education teachers  27   20 Female
## 52  2016 2467        44                Postsecondary teachers  46   20 Female
## 53  2016 2543        45 Elementary and middle school teachers  34   17 Female
## 54  2016 2667        50 Elementary and middle school teachers  26   17 Female
## 55  2016 2672        70        Other teachers and instructors  49   20   Male
## 56  2016 2675        40             Secondary school teachers  42   19 Female
## 57  2016 2698        40                Postsecondary teachers  54   20 Female
## 58  2016 2717        45 Elementary and middle school teachers  34   20 Female
## 59  2016 2721        70             Secondary school teachers  49   20 Female
## 60  2016 2740        40 Elementary and middle school teachers  43   18 Female
## 61  2016 2814         3                Postsecondary teachers  66   18 Female
## 62  2016 2833        50 Elementary and middle school teachers  27   18 Female
## 63  2016 2840         3             Secondary school teachers  52   16   Male
## 64  2018   19        40             Secondary school teachers  40   20 Female
## 65  2018  126        40             Secondary school teachers  48   18   Male
## 66  2018  239        NA Elementary and middle school teachers  65   18   Male
## 67  2018  299        37            Special education teachers  31   20 Female
## 68  2018  319        35            Special education teachers  34   20 Female
## 69  2018  367        40                Postsecondary teachers  70   16 Female
## 70  2018  388        40                Postsecondary teachers  29   20 Female
## 71  2018  454        55 Elementary and middle school teachers  33   16 Female
## 72  2018  477        42        Other teachers and instructors  40   18 Female
## 73  2018  635        40                Postsecondary teachers  62   18   Male
## 74  2018  641        NA                Postsecondary teachers  53   16   Male
## 75  2018  682        NA        Other teachers and instructors  71   15 Female
## 76  2018  683        37        Other teachers and instructors  58   16 Female
## 77  2018  720        40             Secondary school teachers  46   18   Male
## 78  2018  742        40        Other teachers and instructors  46   16   Male
## 79  2018  763        NA        Other teachers and instructors  42   16 Female
## 80  2018  799        70        Other teachers and instructors  59   14 Female
## 81  2018  826        48 Elementary and middle school teachers  54   16 Female
## 82  2018  854        40 Elementary and middle school teachers  53   17 Female
## 83  2018  929        50 Elementary and middle school teachers  59   20 Female
## 84  2018  961        40 Elementary and middle school teachers  38   14   Male
## 85  2018  982        35                Postsecondary teachers  43   16 Female
## 86  2018 1008        NA Elementary and middle school teachers  37   16 Female
## 87  2018 1034        30        Other teachers and instructors  31   16 Female
## 88  2018 1038        40             Secondary school teachers  54   16   Male
## 89  2018 1111        50                Postsecondary teachers  57   12 Female
## 90  2018 1126        40            Special education teachers  29   16   Male
## 91  2018 1160         2             Secondary school teachers  64   16   Male
## 92  2018 1204        NA             Secondary school teachers  34   16 Female
## 93  2018 1228        50                Postsecondary teachers  25   13 Female
## 94  2018 1290        20                Postsecondary teachers  73   15   Male
## 95  2018 1380        40 Elementary and middle school teachers  29   16 Female
## 96  2018 1400        40             Secondary school teachers  40   16   Male
## 97  2018 1438        40             Secondary school teachers  29   17 Female
## 98  2018 1454        NA        Other teachers and instructors  48   18 Female
## 99  2018 1558        25                Postsecondary teachers  44   17 Female
## 100 2018 1570        15             Secondary school teachers  37   17   Male
## 101 2018 1694        NA Elementary and middle school teachers  57   18 Female
## 102 2018 1726        40                Postsecondary teachers  52   18   Male
## 103 2018 1761        40             Secondary school teachers  47   16 Female
## 104 2018 1788        20                Postsecondary teachers  33   16 Female
## 105 2018 1806        16                Postsecondary teachers  70   17 Female
## 106 2018 1832        40             Secondary school teachers  49   16 Female
## 107 2018 1860        36 Elementary and middle school teachers  28   18 Female
## 108 2018 1912        20             Secondary school teachers  35   20 Female
## 109 2018 1957        50             Secondary school teachers  49   17 Female
## 110 2018 2004        40 Elementary and middle school teachers  55   17 Female
## 111 2018 2026        NA             Secondary school teachers  26   16 Female
## 112 2018 2042        40 Elementary and middle school teachers  53   20   Male
## 113 2018 2133        50 Elementary and middle school teachers  38   20 Female
## 114 2018 2207        50 Elementary and middle school teachers  33   20 Female
## 115 2018 2211        45             Secondary school teachers  50   20 Female
## 116 2018 2252        NA Elementary and middle school teachers  30   19 Female
## 117 2018 2261        40 Elementary and middle school teachers  24   16 Female
## 118 2018 2318        NA                Postsecondary teachers  36   20 Female
## 119 2016   57        40   Preschool and kindergarten teachers  40   17 Female
## 120 2016  415        40   Preschool and kindergarten teachers  34   12 Female
## 121 2016  677        42            Special education teachers  27   16   Male
## 122 2016  732        NA Elementary and middle school teachers  37   14 Female
## 123 2016 1027        40   Preschool and kindergarten teachers  42   17 Female
## 124 2016 1672         3                Postsecondary teachers  67   16 Female
## 125 2016 2021        NA Elementary and middle school teachers  41   16 Female
## 126 2018  802        38   Preschool and kindergarten teachers  19   12 Female
## 127 2018 1278        NA                Postsecondary teachers  30   20 Female
## 128 2018 1564        36             Secondary school teachers  61   19 Female
## 129 2018 1756        40   Preschool and kindergarten teachers  35   16 Female
## 130 2016  154        45             Secondary school teachers  61   18 Female
## 131 2016  494        NA                Postsecondary teachers  32   20   Male
## 132 2016 1014        NA Elementary and middle school teachers  34   16 Female
## 133 2016 1124        NA                Postsecondary teachers  23   17   Male
## 134 2016 1620        40            Special education teachers  53   16 Female
## 135 2016 1680        NA                Postsecondary teachers  66   20   Male
## 136 2018  996        25        Other teachers and instructors  34   15 Female
## 137 2018 1745        NA        Other teachers and instructors  63   16 Female
## 138 2016  356        32 Elementary and middle school teachers  62   19 Female
## 139 2016  751        40   Preschool and kindergarten teachers  38   14 Female
## 140 2016 1037        70        Other teachers and instructors  43   19   Male
## 141 2016 1177        NA        Other teachers and instructors  67   17 Female
## 142 2016 1667        NA                Postsecondary teachers  50   20 Female
## 143 2018  140         6             Secondary school teachers  25   15 Female
## 144 2018  870        NA   Preschool and kindergarten teachers  29   15 Female
## 145 2018 2279        16        Other teachers and instructors  68   17 Female
## 146 2016   59        40                Postsecondary teachers  59   20 Female
## 147 2016 1779        20             Secondary school teachers  61   16 Female
## 148 2018  536        18                Postsecondary teachers  33   14 Female
## 149 2018 1709        NA                Postsecondary teachers  28   19 Female
## 150 2018 2138         6                Postsecondary teachers  72   16 Female
## 151 2018  668        40 Elementary and middle school teachers  30   17 Female
## 152 2016 1379        30                Postsecondary teachers  31   17   Male
## 153 2018  158        30 Elementary and middle school teachers  20   14 Female
## 154 2018  426        18            Special education teachers  74   20 Female
## 155 2016  864        NA   Preschool and kindergarten teachers  28   16 Female
## 156 2016 1394        NA Elementary and middle school teachers  57   20   Male
## 157 2016  378        NA   Preschool and kindergarten teachers  29   16 Female
## 158 2016 2073        40                Postsecondary teachers  54   16 Female
## 159 2018 1715        NA                Postsecondary teachers  24   17   Male
## 160 2018 2064         3        Other teachers and instructors  54   18 Female
## 161 2016  264        NA   Preschool and kindergarten teachers  30   13 Female
## 162 2016 1116         5        Other teachers and instructors  69   16 Female
## 163 2016 1546        NA Elementary and middle school teachers  66   18   Male
## 164 2016 1715        40   Preschool and kindergarten teachers  41   16 Female
## 165 2016 1898        40        Other teachers and instructors  27   13   Male
## 166 2016 1464        27   Preschool and kindergarten teachers  31   11 Female
## 167 2018 1615        36                Postsecondary teachers  20   14 Female
## 168 2016  235        25             Secondary school teachers  23   16   Male
##             income income_recode    educ_recode
## 1   $25000 or more         25000     4_Advanced
## 2   $25000 or more         25000     4_Advanced
## 3   $25000 or more         25000    3_Bachelors
## 4   $25000 or more         25000     4_Advanced
## 5   $25000 or more         25000    3_Bachelors
## 6   $25000 or more         25000     4_Advanced
## 7   $25000 or more         25000     4_Advanced
## 8   $25000 or more         25000     4_Advanced
## 9   $25000 or more         25000    3_Bachelors
## 10  $25000 or more         25000     4_Advanced
## 11  $25000 or more         25000     4_Advanced
## 12  $25000 or more         25000    3_Bachelors
## 13  $25000 or more         25000     4_Advanced
## 14  $25000 or more         25000     4_Advanced
## 15  $25000 or more         25000     4_Advanced
## 16  $25000 or more         25000     4_Advanced
## 17  $25000 or more         25000     4_Advanced
## 18  $25000 or more         25000     4_Advanced
## 19  $25000 or more         25000    3_Bachelors
## 20  $25000 or more         25000    3_Bachelors
## 21  $25000 or more         25000    3_Bachelors
## 22  $25000 or more         25000    3_Bachelors
## 23  $25000 or more         25000     4_Advanced
## 24  $25000 or more         25000     4_Advanced
## 25  $25000 or more         25000     4_Advanced
## 26  $25000 or more         25000     4_Advanced
## 27  $25000 or more         25000     4_Advanced
## 28  $25000 or more         25000     4_Advanced
## 29  $25000 or more         25000    3_Bachelors
## 30  $25000 or more         25000    3_Bachelors
## 31  $25000 or more         25000    3_Bachelors
## 32  $25000 or more         25000     4_Advanced
## 33  $25000 or more         25000    3_Bachelors
## 34  $25000 or more         25000    3_Bachelors
## 35  $25000 or more         25000     4_Advanced
## 36  $25000 or more         25000     4_Advanced
## 37  $25000 or more         25000     4_Advanced
## 38  $25000 or more         25000     4_Advanced
## 39  $25000 or more         25000 2_some_college
## 40  $25000 or more         25000     4_Advanced
## 41  $25000 or more         25000    3_Bachelors
## 42  $25000 or more         25000     4_Advanced
## 43  $25000 or more         25000    3_Bachelors
## 44  $25000 or more         25000     4_Advanced
## 45  $25000 or more         25000    3_Bachelors
## 46  $25000 or more         25000     4_Advanced
## 47  $25000 or more         25000    3_Bachelors
## 48  $25000 or more         25000    3_Bachelors
## 49  $25000 or more         25000    3_Bachelors
## 50  $25000 or more         25000     4_Advanced
## 51  $25000 or more         25000     4_Advanced
## 52  $25000 or more         25000     4_Advanced
## 53  $25000 or more         25000     4_Advanced
## 54  $25000 or more         25000     4_Advanced
## 55  $25000 or more         25000     4_Advanced
## 56  $25000 or more         25000     4_Advanced
## 57  $25000 or more         25000     4_Advanced
## 58  $25000 or more         25000     4_Advanced
## 59  $25000 or more         25000     4_Advanced
## 60  $25000 or more         25000     4_Advanced
## 61  $25000 or more         25000     4_Advanced
## 62  $25000 or more         25000     4_Advanced
## 63  $25000 or more         25000    3_Bachelors
## 64  $25000 or more         25000     4_Advanced
## 65  $25000 or more         25000     4_Advanced
## 66  $25000 or more         25000     4_Advanced
## 67  $25000 or more         25000     4_Advanced
## 68  $25000 or more         25000     4_Advanced
## 69  $25000 or more         25000    3_Bachelors
## 70  $25000 or more         25000     4_Advanced
## 71  $25000 or more         25000    3_Bachelors
## 72  $25000 or more         25000     4_Advanced
## 73  $25000 or more         25000     4_Advanced
## 74  $25000 or more         25000    3_Bachelors
## 75  $25000 or more         25000 2_some_college
## 76  $25000 or more         25000    3_Bachelors
## 77  $25000 or more         25000     4_Advanced
## 78  $25000 or more         25000    3_Bachelors
## 79  $25000 or more         25000    3_Bachelors
## 80  $25000 or more         25000 2_some_college
## 81  $25000 or more         25000    3_Bachelors
## 82  $25000 or more         25000     4_Advanced
## 83  $25000 or more         25000     4_Advanced
## 84  $25000 or more         25000 2_some_college
## 85  $25000 or more         25000    3_Bachelors
## 86  $25000 or more         25000    3_Bachelors
## 87  $25000 or more         25000    3_Bachelors
## 88  $25000 or more         25000    3_Bachelors
## 89  $25000 or more         25000           1_hs
## 90  $25000 or more         25000    3_Bachelors
## 91  $25000 or more         25000    3_Bachelors
## 92  $25000 or more         25000    3_Bachelors
## 93  $25000 or more         25000 2_some_college
## 94  $25000 or more         25000 2_some_college
## 95  $25000 or more         25000    3_Bachelors
## 96  $25000 or more         25000    3_Bachelors
## 97  $25000 or more         25000     4_Advanced
## 98  $25000 or more         25000     4_Advanced
## 99  $25000 or more         25000     4_Advanced
## 100 $25000 or more         25000     4_Advanced
## 101 $25000 or more         25000     4_Advanced
## 102 $25000 or more         25000     4_Advanced
## 103 $25000 or more         25000    3_Bachelors
## 104 $25000 or more         25000    3_Bachelors
## 105 $25000 or more         25000     4_Advanced
## 106 $25000 or more         25000    3_Bachelors
## 107 $25000 or more         25000     4_Advanced
## 108 $25000 or more         25000     4_Advanced
## 109 $25000 or more         25000     4_Advanced
## 110 $25000 or more         25000     4_Advanced
## 111 $25000 or more         25000    3_Bachelors
## 112 $25000 or more         25000     4_Advanced
## 113 $25000 or more         25000     4_Advanced
## 114 $25000 or more         25000     4_Advanced
## 115 $25000 or more         25000     4_Advanced
## 116 $25000 or more         25000     4_Advanced
## 117 $25000 or more         25000    3_Bachelors
## 118 $25000 or more         25000     4_Advanced
## 119 $20000 - 24999         22500     4_Advanced
## 120 $20000 - 24999         22500           1_hs
## 121 $20000 - 24999         22500    3_Bachelors
## 122 $20000 - 24999         22500 2_some_college
## 123 $20000 - 24999         22500     4_Advanced
## 124 $20000 - 24999         22500    3_Bachelors
## 125 $20000 - 24999         22500    3_Bachelors
## 126 $20000 - 24999         22500           1_hs
## 127 $20000 - 24999         22500     4_Advanced
## 128 $20000 - 24999         22500     4_Advanced
## 129 $20000 - 24999         22500    3_Bachelors
## 130 $15000 - 19999         17500     4_Advanced
## 131 $15000 - 19999         17500     4_Advanced
## 132 $15000 - 19999         17500    3_Bachelors
## 133 $15000 - 19999         17500     4_Advanced
## 134 $15000 - 19999         17500    3_Bachelors
## 135 $15000 - 19999         17500     4_Advanced
## 136 $15000 - 19999         17500 2_some_college
## 137 $15000 - 19999         17500    3_Bachelors
## 138 $10000 - 14999         12500     4_Advanced
## 139 $10000 - 14999         12500 2_some_college
## 140 $10000 - 14999         12500     4_Advanced
## 141 $10000 - 14999         12500     4_Advanced
## 142 $10000 - 14999         12500     4_Advanced
## 143 $10000 - 14999         12500 2_some_college
## 144 $10000 - 14999         12500 2_some_college
## 145 $10000 - 14999         12500     4_Advanced
## 146  $8000 to 9999          9000     4_Advanced
## 147  $8000 to 9999          9000    3_Bachelors
## 148  $8000 to 9999          9000 2_some_college
## 149  $8000 to 9999          9000     4_Advanced
## 150  $8000 to 9999          9000    3_Bachelors
## 151  $7000 to 7999          7500     4_Advanced
## 152  $6000 to 6999          6500     4_Advanced
## 153  $6000 to 6999          6500 2_some_college
## 154  $6000 to 6999          6500     4_Advanced
## 155  $5000 to 5999          5500    3_Bachelors
## 156  $5000 to 5999          5500     4_Advanced
## 157  $4000 to 4999          4500    3_Bachelors
## 158  $4000 to 4999          4500    3_Bachelors
## 159  $4000 to 4999          4500     4_Advanced
## 160  $4000 to 4999          4500     4_Advanced
## 161  $3000 to 3999          3500 2_some_college
## 162  $3000 to 3999          3500    3_Bachelors
## 163  $3000 to 3999          3500     4_Advanced
## 164  $3000 to 3999          3500    3_Bachelors
## 165  $3000 to 3999          3500 2_some_college
## 166  $1000 to 2999          1500      0_no_1_hs
## 167  $1000 to 2999          1500 2_some_college
## 168       Lt $1000           500    3_Bachelors
a2
##    year   id hours_wkd         occupation age educ    sex         income
## 1  2016  257        40 Teacher assistants  30   16 Female $25000 or more
## 2  2016  963        NA Teacher assistants  46   12   Male $25000 or more
## 3  2016 2745        40 Teacher assistants  61   15 Female $25000 or more
## 4  2018  124        30 Teacher assistants  59   16 Female $25000 or more
## 5  2018  656        NA Teacher assistants  29   16 Female $25000 or more
## 6  2016 1147        60 Teacher assistants  49   17 Female $20000 - 24999
## 7  2016 2426        64 Teacher assistants  42   12   Male $20000 - 24999
## 8  2016 2845        40 Teacher assistants  24   14 Female $20000 - 24999
## 9  2018 1022        35 Teacher assistants  35   12 Female $20000 - 24999
## 10 2016   37        25 Teacher assistants  59   16   Male $15000 - 19999
## 11 2016 1470        26 Teacher assistants  63   14 Female $15000 - 19999
## 12 2016 1916        50 Teacher assistants  39   15 Female $15000 - 19999
## 13 2016 2489        31 Teacher assistants  31   14 Female $10000 - 14999
## 14 2016 2809        NA Teacher assistants  58   12 Female $10000 - 14999
## 15 2018  274        35 Teacher assistants  65   19 Female $10000 - 14999
## 16 2018  873        28 Teacher assistants  52   16 Female $10000 - 14999
## 17 2018 2111        45 Teacher assistants  34   14 Female $10000 - 14999
## 18 2016 2433        NA Teacher assistants  38   14 Female  $7000 to 7999
## 19 2016 1247        21 Teacher assistants  19   13   Male  $6000 to 6999
## 20 2016 1267        NA Teacher assistants  25   16 Female  $5000 to 5999
##    income_recode    educ_recode
## 1          25000    3_Bachelors
## 2          25000           1_hs
## 3          25000 2_some_college
## 4          25000    3_Bachelors
## 5          25000    3_Bachelors
## 6          22500     4_Advanced
## 7          22500           1_hs
## 8          22500 2_some_college
## 9          22500           1_hs
## 10         17500    3_Bachelors
## 11         17500 2_some_college
## 12         17500 2_some_college
## 13         12500 2_some_college
## 14         12500           1_hs
## 15         12500     4_Advanced
## 16         12500    3_Bachelors
## 17         12500 2_some_college
## 18          7500 2_some_college
## 19          6500 2_some_college
## 20          5500    3_Bachelors
a3 = rbind(a1,a2)
a3
##     year   id hours_wkd                            occupation age educ    sex
## 1   2016   19        40 Elementary and middle school teachers  31   18   Male
## 2   2016   29        NA             Secondary school teachers  74   18   Male
## 3   2016   38        40 Elementary and middle school teachers  43   16 Female
## 4   2016  121        40             Secondary school teachers  55   18 Female
## 5   2016  150        30        Other teachers and instructors  30   16   Male
## 6   2016  259        50 Elementary and middle school teachers  35   20 Female
## 7   2016  261        NA                Postsecondary teachers  62   20 Female
## 8   2016  277        55 Elementary and middle school teachers  44   20 Female
## 9   2016  292        40        Other teachers and instructors  61   16   Male
## 10  2016  300        40        Other teachers and instructors  40   17   Male
## 11  2016  380        24                Postsecondary teachers  68   18 Female
## 12  2016  395        NA                Postsecondary teachers  25   16   Male
## 13  2016  408        30                Postsecondary teachers  59   20 Female
## 14  2016  412        40 Elementary and middle school teachers  37   20   Male
## 15  2016  468        50                Postsecondary teachers  59   20 Female
## 16  2016  471        50             Secondary school teachers  59   18 Female
## 17  2016  488        40                Postsecondary teachers  73   20   Male
## 18  2016  609        40 Elementary and middle school teachers  47   20 Female
## 19  2016  705         1 Elementary and middle school teachers  40   16 Female
## 20  2016  737        60             Secondary school teachers  52   16 Female
## 21  2016  798        27                Postsecondary teachers  70   16 Female
## 22  2016  912        NA Elementary and middle school teachers  27   16 Female
## 23  2016  920        40             Secondary school teachers  51   18 Female
## 24  2016 1007         8        Other teachers and instructors  34   17 Female
## 25  2016 1008        60             Secondary school teachers  32   19 Female
## 26  2016 1010        NA   Preschool and kindergarten teachers  31   20 Female
## 27  2016 1020        55             Secondary school teachers  63   18   Male
## 28  2016 1030        44                Postsecondary teachers  41   20   Male
## 29  2016 1050        60 Elementary and middle school teachers  25   16 Female
## 30  2016 1138        50 Elementary and middle school teachers  47   16 Female
## 31  2016 1244        40                Postsecondary teachers  33   16   Male
## 32  2016 1249        55            Special education teachers  38   20   Male
## 33  2016 1355        62 Elementary and middle school teachers  42   16   Male
## 34  2016 1442        NA Elementary and middle school teachers  31   16 Female
## 35  2016 1490        40             Secondary school teachers  38   19 Female
## 36  2016 1530        60             Secondary school teachers  47   20   Male
## 37  2016 1536        35                Postsecondary teachers  53   18   Male
## 38  2016 1575        45            Special education teachers  42   18 Female
## 39  2016 1590        25             Secondary school teachers  59   14 Female
## 40  2016 1596        48                Postsecondary teachers  52   20 Female
## 41  2016 1700        40   Preschool and kindergarten teachers  59   16 Female
## 42  2016 1705        NA             Secondary school teachers  41   18 Female
## 43  2016 1717        NA             Secondary school teachers  45   16 Female
## 44  2016 1783        NA Elementary and middle school teachers  63   17 Female
## 45  2016 1825        40 Elementary and middle school teachers  50   16   Male
## 46  2016 1889        40                Postsecondary teachers  53   20   Male
## 47  2016 2083        NA Elementary and middle school teachers  39   16 Female
## 48  2016 2130        45             Secondary school teachers  47   16 Female
## 49  2016 2153        NA Elementary and middle school teachers  38   16 Female
## 50  2016 2422        40             Secondary school teachers  37   17 Female
## 51  2016 2431        50            Special education teachers  27   20 Female
## 52  2016 2467        44                Postsecondary teachers  46   20 Female
## 53  2016 2543        45 Elementary and middle school teachers  34   17 Female
## 54  2016 2667        50 Elementary and middle school teachers  26   17 Female
## 55  2016 2672        70        Other teachers and instructors  49   20   Male
## 56  2016 2675        40             Secondary school teachers  42   19 Female
## 57  2016 2698        40                Postsecondary teachers  54   20 Female
## 58  2016 2717        45 Elementary and middle school teachers  34   20 Female
## 59  2016 2721        70             Secondary school teachers  49   20 Female
## 60  2016 2740        40 Elementary and middle school teachers  43   18 Female
## 61  2016 2814         3                Postsecondary teachers  66   18 Female
## 62  2016 2833        50 Elementary and middle school teachers  27   18 Female
## 63  2016 2840         3             Secondary school teachers  52   16   Male
## 64  2018   19        40             Secondary school teachers  40   20 Female
## 65  2018  126        40             Secondary school teachers  48   18   Male
## 66  2018  239        NA Elementary and middle school teachers  65   18   Male
## 67  2018  299        37            Special education teachers  31   20 Female
## 68  2018  319        35            Special education teachers  34   20 Female
## 69  2018  367        40                Postsecondary teachers  70   16 Female
## 70  2018  388        40                Postsecondary teachers  29   20 Female
## 71  2018  454        55 Elementary and middle school teachers  33   16 Female
## 72  2018  477        42        Other teachers and instructors  40   18 Female
## 73  2018  635        40                Postsecondary teachers  62   18   Male
## 74  2018  641        NA                Postsecondary teachers  53   16   Male
## 75  2018  682        NA        Other teachers and instructors  71   15 Female
## 76  2018  683        37        Other teachers and instructors  58   16 Female
## 77  2018  720        40             Secondary school teachers  46   18   Male
## 78  2018  742        40        Other teachers and instructors  46   16   Male
## 79  2018  763        NA        Other teachers and instructors  42   16 Female
## 80  2018  799        70        Other teachers and instructors  59   14 Female
## 81  2018  826        48 Elementary and middle school teachers  54   16 Female
## 82  2018  854        40 Elementary and middle school teachers  53   17 Female
## 83  2018  929        50 Elementary and middle school teachers  59   20 Female
## 84  2018  961        40 Elementary and middle school teachers  38   14   Male
## 85  2018  982        35                Postsecondary teachers  43   16 Female
## 86  2018 1008        NA Elementary and middle school teachers  37   16 Female
## 87  2018 1034        30        Other teachers and instructors  31   16 Female
## 88  2018 1038        40             Secondary school teachers  54   16   Male
## 89  2018 1111        50                Postsecondary teachers  57   12 Female
## 90  2018 1126        40            Special education teachers  29   16   Male
## 91  2018 1160         2             Secondary school teachers  64   16   Male
## 92  2018 1204        NA             Secondary school teachers  34   16 Female
## 93  2018 1228        50                Postsecondary teachers  25   13 Female
## 94  2018 1290        20                Postsecondary teachers  73   15   Male
## 95  2018 1380        40 Elementary and middle school teachers  29   16 Female
## 96  2018 1400        40             Secondary school teachers  40   16   Male
## 97  2018 1438        40             Secondary school teachers  29   17 Female
## 98  2018 1454        NA        Other teachers and instructors  48   18 Female
## 99  2018 1558        25                Postsecondary teachers  44   17 Female
## 100 2018 1570        15             Secondary school teachers  37   17   Male
## 101 2018 1694        NA Elementary and middle school teachers  57   18 Female
## 102 2018 1726        40                Postsecondary teachers  52   18   Male
## 103 2018 1761        40             Secondary school teachers  47   16 Female
## 104 2018 1788        20                Postsecondary teachers  33   16 Female
## 105 2018 1806        16                Postsecondary teachers  70   17 Female
## 106 2018 1832        40             Secondary school teachers  49   16 Female
## 107 2018 1860        36 Elementary and middle school teachers  28   18 Female
## 108 2018 1912        20             Secondary school teachers  35   20 Female
## 109 2018 1957        50             Secondary school teachers  49   17 Female
## 110 2018 2004        40 Elementary and middle school teachers  55   17 Female
## 111 2018 2026        NA             Secondary school teachers  26   16 Female
## 112 2018 2042        40 Elementary and middle school teachers  53   20   Male
## 113 2018 2133        50 Elementary and middle school teachers  38   20 Female
## 114 2018 2207        50 Elementary and middle school teachers  33   20 Female
## 115 2018 2211        45             Secondary school teachers  50   20 Female
## 116 2018 2252        NA Elementary and middle school teachers  30   19 Female
## 117 2018 2261        40 Elementary and middle school teachers  24   16 Female
## 118 2018 2318        NA                Postsecondary teachers  36   20 Female
## 119 2016   57        40   Preschool and kindergarten teachers  40   17 Female
## 120 2016  415        40   Preschool and kindergarten teachers  34   12 Female
## 121 2016  677        42            Special education teachers  27   16   Male
## 122 2016  732        NA Elementary and middle school teachers  37   14 Female
## 123 2016 1027        40   Preschool and kindergarten teachers  42   17 Female
## 124 2016 1672         3                Postsecondary teachers  67   16 Female
## 125 2016 2021        NA Elementary and middle school teachers  41   16 Female
## 126 2018  802        38   Preschool and kindergarten teachers  19   12 Female
## 127 2018 1278        NA                Postsecondary teachers  30   20 Female
## 128 2018 1564        36             Secondary school teachers  61   19 Female
## 129 2018 1756        40   Preschool and kindergarten teachers  35   16 Female
## 130 2016  154        45             Secondary school teachers  61   18 Female
## 131 2016  494        NA                Postsecondary teachers  32   20   Male
## 132 2016 1014        NA Elementary and middle school teachers  34   16 Female
## 133 2016 1124        NA                Postsecondary teachers  23   17   Male
## 134 2016 1620        40            Special education teachers  53   16 Female
## 135 2016 1680        NA                Postsecondary teachers  66   20   Male
## 136 2018  996        25        Other teachers and instructors  34   15 Female
## 137 2018 1745        NA        Other teachers and instructors  63   16 Female
## 138 2016  356        32 Elementary and middle school teachers  62   19 Female
## 139 2016  751        40   Preschool and kindergarten teachers  38   14 Female
## 140 2016 1037        70        Other teachers and instructors  43   19   Male
## 141 2016 1177        NA        Other teachers and instructors  67   17 Female
## 142 2016 1667        NA                Postsecondary teachers  50   20 Female
## 143 2018  140         6             Secondary school teachers  25   15 Female
## 144 2018  870        NA   Preschool and kindergarten teachers  29   15 Female
## 145 2018 2279        16        Other teachers and instructors  68   17 Female
## 146 2016   59        40                Postsecondary teachers  59   20 Female
## 147 2016 1779        20             Secondary school teachers  61   16 Female
## 148 2018  536        18                Postsecondary teachers  33   14 Female
## 149 2018 1709        NA                Postsecondary teachers  28   19 Female
## 150 2018 2138         6                Postsecondary teachers  72   16 Female
## 151 2018  668        40 Elementary and middle school teachers  30   17 Female
## 152 2016 1379        30                Postsecondary teachers  31   17   Male
## 153 2018  158        30 Elementary and middle school teachers  20   14 Female
## 154 2018  426        18            Special education teachers  74   20 Female
## 155 2016  864        NA   Preschool and kindergarten teachers  28   16 Female
## 156 2016 1394        NA Elementary and middle school teachers  57   20   Male
## 157 2016  378        NA   Preschool and kindergarten teachers  29   16 Female
## 158 2016 2073        40                Postsecondary teachers  54   16 Female
## 159 2018 1715        NA                Postsecondary teachers  24   17   Male
## 160 2018 2064         3        Other teachers and instructors  54   18 Female
## 161 2016  264        NA   Preschool and kindergarten teachers  30   13 Female
## 162 2016 1116         5        Other teachers and instructors  69   16 Female
## 163 2016 1546        NA Elementary and middle school teachers  66   18   Male
## 164 2016 1715        40   Preschool and kindergarten teachers  41   16 Female
## 165 2016 1898        40        Other teachers and instructors  27   13   Male
## 166 2016 1464        27   Preschool and kindergarten teachers  31   11 Female
## 167 2018 1615        36                Postsecondary teachers  20   14 Female
## 168 2016  235        25             Secondary school teachers  23   16   Male
## 169 2016  257        40                    Teacher assistants  30   16 Female
## 170 2016  963        NA                    Teacher assistants  46   12   Male
## 171 2016 2745        40                    Teacher assistants  61   15 Female
## 172 2018  124        30                    Teacher assistants  59   16 Female
## 173 2018  656        NA                    Teacher assistants  29   16 Female
## 174 2016 1147        60                    Teacher assistants  49   17 Female
## 175 2016 2426        64                    Teacher assistants  42   12   Male
## 176 2016 2845        40                    Teacher assistants  24   14 Female
## 177 2018 1022        35                    Teacher assistants  35   12 Female
## 178 2016   37        25                    Teacher assistants  59   16   Male
## 179 2016 1470        26                    Teacher assistants  63   14 Female
## 180 2016 1916        50                    Teacher assistants  39   15 Female
## 181 2016 2489        31                    Teacher assistants  31   14 Female
## 182 2016 2809        NA                    Teacher assistants  58   12 Female
## 183 2018  274        35                    Teacher assistants  65   19 Female
## 184 2018  873        28                    Teacher assistants  52   16 Female
## 185 2018 2111        45                    Teacher assistants  34   14 Female
## 186 2016 2433        NA                    Teacher assistants  38   14 Female
## 187 2016 1247        21                    Teacher assistants  19   13   Male
## 188 2016 1267        NA                    Teacher assistants  25   16 Female
##             income income_recode    educ_recode
## 1   $25000 or more         25000     4_Advanced
## 2   $25000 or more         25000     4_Advanced
## 3   $25000 or more         25000    3_Bachelors
## 4   $25000 or more         25000     4_Advanced
## 5   $25000 or more         25000    3_Bachelors
## 6   $25000 or more         25000     4_Advanced
## 7   $25000 or more         25000     4_Advanced
## 8   $25000 or more         25000     4_Advanced
## 9   $25000 or more         25000    3_Bachelors
## 10  $25000 or more         25000     4_Advanced
## 11  $25000 or more         25000     4_Advanced
## 12  $25000 or more         25000    3_Bachelors
## 13  $25000 or more         25000     4_Advanced
## 14  $25000 or more         25000     4_Advanced
## 15  $25000 or more         25000     4_Advanced
## 16  $25000 or more         25000     4_Advanced
## 17  $25000 or more         25000     4_Advanced
## 18  $25000 or more         25000     4_Advanced
## 19  $25000 or more         25000    3_Bachelors
## 20  $25000 or more         25000    3_Bachelors
## 21  $25000 or more         25000    3_Bachelors
## 22  $25000 or more         25000    3_Bachelors
## 23  $25000 or more         25000     4_Advanced
## 24  $25000 or more         25000     4_Advanced
## 25  $25000 or more         25000     4_Advanced
## 26  $25000 or more         25000     4_Advanced
## 27  $25000 or more         25000     4_Advanced
## 28  $25000 or more         25000     4_Advanced
## 29  $25000 or more         25000    3_Bachelors
## 30  $25000 or more         25000    3_Bachelors
## 31  $25000 or more         25000    3_Bachelors
## 32  $25000 or more         25000     4_Advanced
## 33  $25000 or more         25000    3_Bachelors
## 34  $25000 or more         25000    3_Bachelors
## 35  $25000 or more         25000     4_Advanced
## 36  $25000 or more         25000     4_Advanced
## 37  $25000 or more         25000     4_Advanced
## 38  $25000 or more         25000     4_Advanced
## 39  $25000 or more         25000 2_some_college
## 40  $25000 or more         25000     4_Advanced
## 41  $25000 or more         25000    3_Bachelors
## 42  $25000 or more         25000     4_Advanced
## 43  $25000 or more         25000    3_Bachelors
## 44  $25000 or more         25000     4_Advanced
## 45  $25000 or more         25000    3_Bachelors
## 46  $25000 or more         25000     4_Advanced
## 47  $25000 or more         25000    3_Bachelors
## 48  $25000 or more         25000    3_Bachelors
## 49  $25000 or more         25000    3_Bachelors
## 50  $25000 or more         25000     4_Advanced
## 51  $25000 or more         25000     4_Advanced
## 52  $25000 or more         25000     4_Advanced
## 53  $25000 or more         25000     4_Advanced
## 54  $25000 or more         25000     4_Advanced
## 55  $25000 or more         25000     4_Advanced
## 56  $25000 or more         25000     4_Advanced
## 57  $25000 or more         25000     4_Advanced
## 58  $25000 or more         25000     4_Advanced
## 59  $25000 or more         25000     4_Advanced
## 60  $25000 or more         25000     4_Advanced
## 61  $25000 or more         25000     4_Advanced
## 62  $25000 or more         25000     4_Advanced
## 63  $25000 or more         25000    3_Bachelors
## 64  $25000 or more         25000     4_Advanced
## 65  $25000 or more         25000     4_Advanced
## 66  $25000 or more         25000     4_Advanced
## 67  $25000 or more         25000     4_Advanced
## 68  $25000 or more         25000     4_Advanced
## 69  $25000 or more         25000    3_Bachelors
## 70  $25000 or more         25000     4_Advanced
## 71  $25000 or more         25000    3_Bachelors
## 72  $25000 or more         25000     4_Advanced
## 73  $25000 or more         25000     4_Advanced
## 74  $25000 or more         25000    3_Bachelors
## 75  $25000 or more         25000 2_some_college
## 76  $25000 or more         25000    3_Bachelors
## 77  $25000 or more         25000     4_Advanced
## 78  $25000 or more         25000    3_Bachelors
## 79  $25000 or more         25000    3_Bachelors
## 80  $25000 or more         25000 2_some_college
## 81  $25000 or more         25000    3_Bachelors
## 82  $25000 or more         25000     4_Advanced
## 83  $25000 or more         25000     4_Advanced
## 84  $25000 or more         25000 2_some_college
## 85  $25000 or more         25000    3_Bachelors
## 86  $25000 or more         25000    3_Bachelors
## 87  $25000 or more         25000    3_Bachelors
## 88  $25000 or more         25000    3_Bachelors
## 89  $25000 or more         25000           1_hs
## 90  $25000 or more         25000    3_Bachelors
## 91  $25000 or more         25000    3_Bachelors
## 92  $25000 or more         25000    3_Bachelors
## 93  $25000 or more         25000 2_some_college
## 94  $25000 or more         25000 2_some_college
## 95  $25000 or more         25000    3_Bachelors
## 96  $25000 or more         25000    3_Bachelors
## 97  $25000 or more         25000     4_Advanced
## 98  $25000 or more         25000     4_Advanced
## 99  $25000 or more         25000     4_Advanced
## 100 $25000 or more         25000     4_Advanced
## 101 $25000 or more         25000     4_Advanced
## 102 $25000 or more         25000     4_Advanced
## 103 $25000 or more         25000    3_Bachelors
## 104 $25000 or more         25000    3_Bachelors
## 105 $25000 or more         25000     4_Advanced
## 106 $25000 or more         25000    3_Bachelors
## 107 $25000 or more         25000     4_Advanced
## 108 $25000 or more         25000     4_Advanced
## 109 $25000 or more         25000     4_Advanced
## 110 $25000 or more         25000     4_Advanced
## 111 $25000 or more         25000    3_Bachelors
## 112 $25000 or more         25000     4_Advanced
## 113 $25000 or more         25000     4_Advanced
## 114 $25000 or more         25000     4_Advanced
## 115 $25000 or more         25000     4_Advanced
## 116 $25000 or more         25000     4_Advanced
## 117 $25000 or more         25000    3_Bachelors
## 118 $25000 or more         25000     4_Advanced
## 119 $20000 - 24999         22500     4_Advanced
## 120 $20000 - 24999         22500           1_hs
## 121 $20000 - 24999         22500    3_Bachelors
## 122 $20000 - 24999         22500 2_some_college
## 123 $20000 - 24999         22500     4_Advanced
## 124 $20000 - 24999         22500    3_Bachelors
## 125 $20000 - 24999         22500    3_Bachelors
## 126 $20000 - 24999         22500           1_hs
## 127 $20000 - 24999         22500     4_Advanced
## 128 $20000 - 24999         22500     4_Advanced
## 129 $20000 - 24999         22500    3_Bachelors
## 130 $15000 - 19999         17500     4_Advanced
## 131 $15000 - 19999         17500     4_Advanced
## 132 $15000 - 19999         17500    3_Bachelors
## 133 $15000 - 19999         17500     4_Advanced
## 134 $15000 - 19999         17500    3_Bachelors
## 135 $15000 - 19999         17500     4_Advanced
## 136 $15000 - 19999         17500 2_some_college
## 137 $15000 - 19999         17500    3_Bachelors
## 138 $10000 - 14999         12500     4_Advanced
## 139 $10000 - 14999         12500 2_some_college
## 140 $10000 - 14999         12500     4_Advanced
## 141 $10000 - 14999         12500     4_Advanced
## 142 $10000 - 14999         12500     4_Advanced
## 143 $10000 - 14999         12500 2_some_college
## 144 $10000 - 14999         12500 2_some_college
## 145 $10000 - 14999         12500     4_Advanced
## 146  $8000 to 9999          9000     4_Advanced
## 147  $8000 to 9999          9000    3_Bachelors
## 148  $8000 to 9999          9000 2_some_college
## 149  $8000 to 9999          9000     4_Advanced
## 150  $8000 to 9999          9000    3_Bachelors
## 151  $7000 to 7999          7500     4_Advanced
## 152  $6000 to 6999          6500     4_Advanced
## 153  $6000 to 6999          6500 2_some_college
## 154  $6000 to 6999          6500     4_Advanced
## 155  $5000 to 5999          5500    3_Bachelors
## 156  $5000 to 5999          5500     4_Advanced
## 157  $4000 to 4999          4500    3_Bachelors
## 158  $4000 to 4999          4500    3_Bachelors
## 159  $4000 to 4999          4500     4_Advanced
## 160  $4000 to 4999          4500     4_Advanced
## 161  $3000 to 3999          3500 2_some_college
## 162  $3000 to 3999          3500    3_Bachelors
## 163  $3000 to 3999          3500     4_Advanced
## 164  $3000 to 3999          3500    3_Bachelors
## 165  $3000 to 3999          3500 2_some_college
## 166  $1000 to 2999          1500      0_no_1_hs
## 167  $1000 to 2999          1500 2_some_college
## 168       Lt $1000           500    3_Bachelors
## 169 $25000 or more         25000    3_Bachelors
## 170 $25000 or more         25000           1_hs
## 171 $25000 or more         25000 2_some_college
## 172 $25000 or more         25000    3_Bachelors
## 173 $25000 or more         25000    3_Bachelors
## 174 $20000 - 24999         22500     4_Advanced
## 175 $20000 - 24999         22500           1_hs
## 176 $20000 - 24999         22500 2_some_college
## 177 $20000 - 24999         22500           1_hs
## 178 $15000 - 19999         17500    3_Bachelors
## 179 $15000 - 19999         17500 2_some_college
## 180 $15000 - 19999         17500 2_some_college
## 181 $10000 - 14999         12500 2_some_college
## 182 $10000 - 14999         12500           1_hs
## 183 $10000 - 14999         12500     4_Advanced
## 184 $10000 - 14999         12500    3_Bachelors
## 185 $10000 - 14999         12500 2_some_college
## 186  $7000 to 7999          7500 2_some_college
## 187  $6000 to 6999          6500 2_some_college
## 188  $5000 to 5999          5500    3_Bachelors
a4 = subset(a3, sex == 'Male')%>%group_by(educ_recode)%>% summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())
a5 = subset(a3,sex == 'Female')%>%group_by(educ_recode)%>%summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n()) 
a4
## # A tibble: 4 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 1_hs            23750   23750     2
## 2 2_some_college  15000   15750     4
## 3 3_Bachelors     22844.  25000    16
## 4 4_Advanced      20741.  25000    27
a5
## # A tibble: 5 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0_no_1_hs        1500    1500     1
## 2 1_hs            21000   22500     5
## 3 2_some_college  15650   15000    20
## 4 3_Bachelors     20707.  25000    46
## 5 4_Advanced      22448.  25000    67
ggplot(a4, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+ xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Male income in educational area")
## Warning: Ignoring unknown parameters: varwidth

ggplot(a5, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Female income in educational area")
## Warning: Ignoring unknown parameters: varwidth

a1 = q1%>%
  filter(grepl('teacher',occupation))

a2 = q1%>%
  filter(grepl('Teacher',occupation))
a1
##     year   id hours_wkd                            occupation age educ    sex
## 1   2016   19        40 Elementary and middle school teachers  31   18   Male
## 2   2016   29        NA             Secondary school teachers  74   18   Male
## 3   2016   38        40 Elementary and middle school teachers  43   16 Female
## 4   2016  121        40             Secondary school teachers  55   18 Female
## 5   2016  150        30        Other teachers and instructors  30   16   Male
## 6   2016  259        50 Elementary and middle school teachers  35   20 Female
## 7   2016  261        NA                Postsecondary teachers  62   20 Female
## 8   2016  277        55 Elementary and middle school teachers  44   20 Female
## 9   2016  292        40        Other teachers and instructors  61   16   Male
## 10  2016  300        40        Other teachers and instructors  40   17   Male
## 11  2016  380        24                Postsecondary teachers  68   18 Female
## 12  2016  395        NA                Postsecondary teachers  25   16   Male
## 13  2016  408        30                Postsecondary teachers  59   20 Female
## 14  2016  412        40 Elementary and middle school teachers  37   20   Male
## 15  2016  468        50                Postsecondary teachers  59   20 Female
## 16  2016  471        50             Secondary school teachers  59   18 Female
## 17  2016  488        40                Postsecondary teachers  73   20   Male
## 18  2016  609        40 Elementary and middle school teachers  47   20 Female
## 19  2016  705         1 Elementary and middle school teachers  40   16 Female
## 20  2016  737        60             Secondary school teachers  52   16 Female
## 21  2016  798        27                Postsecondary teachers  70   16 Female
## 22  2016  912        NA Elementary and middle school teachers  27   16 Female
## 23  2016  920        40             Secondary school teachers  51   18 Female
## 24  2016 1007         8        Other teachers and instructors  34   17 Female
## 25  2016 1008        60             Secondary school teachers  32   19 Female
## 26  2016 1010        NA   Preschool and kindergarten teachers  31   20 Female
## 27  2016 1020        55             Secondary school teachers  63   18   Male
## 28  2016 1030        44                Postsecondary teachers  41   20   Male
## 29  2016 1050        60 Elementary and middle school teachers  25   16 Female
## 30  2016 1138        50 Elementary and middle school teachers  47   16 Female
## 31  2016 1244        40                Postsecondary teachers  33   16   Male
## 32  2016 1249        55            Special education teachers  38   20   Male
## 33  2016 1355        62 Elementary and middle school teachers  42   16   Male
## 34  2016 1442        NA Elementary and middle school teachers  31   16 Female
## 35  2016 1490        40             Secondary school teachers  38   19 Female
## 36  2016 1530        60             Secondary school teachers  47   20   Male
## 37  2016 1536        35                Postsecondary teachers  53   18   Male
## 38  2016 1575        45            Special education teachers  42   18 Female
## 39  2016 1590        25             Secondary school teachers  59   14 Female
## 40  2016 1596        48                Postsecondary teachers  52   20 Female
## 41  2016 1700        40   Preschool and kindergarten teachers  59   16 Female
## 42  2016 1705        NA             Secondary school teachers  41   18 Female
## 43  2016 1717        NA             Secondary school teachers  45   16 Female
## 44  2016 1783        NA Elementary and middle school teachers  63   17 Female
## 45  2016 1825        40 Elementary and middle school teachers  50   16   Male
## 46  2016 1889        40                Postsecondary teachers  53   20   Male
## 47  2016 2083        NA Elementary and middle school teachers  39   16 Female
## 48  2016 2130        45             Secondary school teachers  47   16 Female
## 49  2016 2153        NA Elementary and middle school teachers  38   16 Female
## 50  2016 2422        40             Secondary school teachers  37   17 Female
## 51  2016 2431        50            Special education teachers  27   20 Female
## 52  2016 2467        44                Postsecondary teachers  46   20 Female
## 53  2016 2543        45 Elementary and middle school teachers  34   17 Female
## 54  2016 2667        50 Elementary and middle school teachers  26   17 Female
## 55  2016 2672        70        Other teachers and instructors  49   20   Male
## 56  2016 2675        40             Secondary school teachers  42   19 Female
## 57  2016 2698        40                Postsecondary teachers  54   20 Female
## 58  2016 2717        45 Elementary and middle school teachers  34   20 Female
## 59  2016 2721        70             Secondary school teachers  49   20 Female
## 60  2016 2740        40 Elementary and middle school teachers  43   18 Female
## 61  2016 2814         3                Postsecondary teachers  66   18 Female
## 62  2016 2833        50 Elementary and middle school teachers  27   18 Female
## 63  2016 2840         3             Secondary school teachers  52   16   Male
## 64  2018   19        40             Secondary school teachers  40   20 Female
## 65  2018  126        40             Secondary school teachers  48   18   Male
## 66  2018  239        NA Elementary and middle school teachers  65   18   Male
## 67  2018  299        37            Special education teachers  31   20 Female
## 68  2018  319        35            Special education teachers  34   20 Female
## 69  2018  367        40                Postsecondary teachers  70   16 Female
## 70  2018  388        40                Postsecondary teachers  29   20 Female
## 71  2018  454        55 Elementary and middle school teachers  33   16 Female
## 72  2018  477        42        Other teachers and instructors  40   18 Female
## 73  2018  635        40                Postsecondary teachers  62   18   Male
## 74  2018  641        NA                Postsecondary teachers  53   16   Male
## 75  2018  682        NA        Other teachers and instructors  71   15 Female
## 76  2018  683        37        Other teachers and instructors  58   16 Female
## 77  2018  720        40             Secondary school teachers  46   18   Male
## 78  2018  742        40        Other teachers and instructors  46   16   Male
## 79  2018  763        NA        Other teachers and instructors  42   16 Female
## 80  2018  799        70        Other teachers and instructors  59   14 Female
## 81  2018  826        48 Elementary and middle school teachers  54   16 Female
## 82  2018  854        40 Elementary and middle school teachers  53   17 Female
## 83  2018  929        50 Elementary and middle school teachers  59   20 Female
## 84  2018  961        40 Elementary and middle school teachers  38   14   Male
## 85  2018  982        35                Postsecondary teachers  43   16 Female
## 86  2018 1008        NA Elementary and middle school teachers  37   16 Female
## 87  2018 1034        30        Other teachers and instructors  31   16 Female
## 88  2018 1038        40             Secondary school teachers  54   16   Male
## 89  2018 1111        50                Postsecondary teachers  57   12 Female
## 90  2018 1126        40            Special education teachers  29   16   Male
## 91  2018 1160         2             Secondary school teachers  64   16   Male
## 92  2018 1204        NA             Secondary school teachers  34   16 Female
## 93  2018 1228        50                Postsecondary teachers  25   13 Female
## 94  2018 1290        20                Postsecondary teachers  73   15   Male
## 95  2018 1380        40 Elementary and middle school teachers  29   16 Female
## 96  2018 1400        40             Secondary school teachers  40   16   Male
## 97  2018 1438        40             Secondary school teachers  29   17 Female
## 98  2018 1454        NA        Other teachers and instructors  48   18 Female
## 99  2018 1558        25                Postsecondary teachers  44   17 Female
## 100 2018 1570        15             Secondary school teachers  37   17   Male
## 101 2018 1694        NA Elementary and middle school teachers  57   18 Female
## 102 2018 1726        40                Postsecondary teachers  52   18   Male
## 103 2018 1761        40             Secondary school teachers  47   16 Female
## 104 2018 1788        20                Postsecondary teachers  33   16 Female
## 105 2018 1806        16                Postsecondary teachers  70   17 Female
## 106 2018 1832        40             Secondary school teachers  49   16 Female
## 107 2018 1860        36 Elementary and middle school teachers  28   18 Female
## 108 2018 1912        20             Secondary school teachers  35   20 Female
## 109 2018 1957        50             Secondary school teachers  49   17 Female
## 110 2018 2004        40 Elementary and middle school teachers  55   17 Female
## 111 2018 2026        NA             Secondary school teachers  26   16 Female
## 112 2018 2042        40 Elementary and middle school teachers  53   20   Male
## 113 2018 2133        50 Elementary and middle school teachers  38   20 Female
## 114 2018 2207        50 Elementary and middle school teachers  33   20 Female
## 115 2018 2211        45             Secondary school teachers  50   20 Female
## 116 2018 2252        NA Elementary and middle school teachers  30   19 Female
## 117 2018 2261        40 Elementary and middle school teachers  24   16 Female
## 118 2018 2318        NA                Postsecondary teachers  36   20 Female
## 119 2016   57        40   Preschool and kindergarten teachers  40   17 Female
## 120 2016  415        40   Preschool and kindergarten teachers  34   12 Female
## 121 2016  677        42            Special education teachers  27   16   Male
## 122 2016  732        NA Elementary and middle school teachers  37   14 Female
## 123 2016 1027        40   Preschool and kindergarten teachers  42   17 Female
## 124 2016 1672         3                Postsecondary teachers  67   16 Female
## 125 2016 2021        NA Elementary and middle school teachers  41   16 Female
## 126 2018  802        38   Preschool and kindergarten teachers  19   12 Female
## 127 2018 1278        NA                Postsecondary teachers  30   20 Female
## 128 2018 1564        36             Secondary school teachers  61   19 Female
## 129 2018 1756        40   Preschool and kindergarten teachers  35   16 Female
## 130 2016  154        45             Secondary school teachers  61   18 Female
## 131 2016  494        NA                Postsecondary teachers  32   20   Male
## 132 2016 1014        NA Elementary and middle school teachers  34   16 Female
## 133 2016 1124        NA                Postsecondary teachers  23   17   Male
## 134 2016 1620        40            Special education teachers  53   16 Female
## 135 2016 1680        NA                Postsecondary teachers  66   20   Male
## 136 2018  996        25        Other teachers and instructors  34   15 Female
## 137 2018 1745        NA        Other teachers and instructors  63   16 Female
## 138 2016  356        32 Elementary and middle school teachers  62   19 Female
## 139 2016  751        40   Preschool and kindergarten teachers  38   14 Female
## 140 2016 1037        70        Other teachers and instructors  43   19   Male
## 141 2016 1177        NA        Other teachers and instructors  67   17 Female
## 142 2016 1667        NA                Postsecondary teachers  50   20 Female
## 143 2018  140         6             Secondary school teachers  25   15 Female
## 144 2018  870        NA   Preschool and kindergarten teachers  29   15 Female
## 145 2018 2279        16        Other teachers and instructors  68   17 Female
## 146 2016   59        40                Postsecondary teachers  59   20 Female
## 147 2016 1779        20             Secondary school teachers  61   16 Female
## 148 2018  536        18                Postsecondary teachers  33   14 Female
## 149 2018 1709        NA                Postsecondary teachers  28   19 Female
## 150 2018 2138         6                Postsecondary teachers  72   16 Female
## 151 2018  668        40 Elementary and middle school teachers  30   17 Female
## 152 2016 1379        30                Postsecondary teachers  31   17   Male
## 153 2018  158        30 Elementary and middle school teachers  20   14 Female
## 154 2018  426        18            Special education teachers  74   20 Female
## 155 2016  864        NA   Preschool and kindergarten teachers  28   16 Female
## 156 2016 1394        NA Elementary and middle school teachers  57   20   Male
## 157 2016  378        NA   Preschool and kindergarten teachers  29   16 Female
## 158 2016 2073        40                Postsecondary teachers  54   16 Female
## 159 2018 1715        NA                Postsecondary teachers  24   17   Male
## 160 2018 2064         3        Other teachers and instructors  54   18 Female
## 161 2016  264        NA   Preschool and kindergarten teachers  30   13 Female
## 162 2016 1116         5        Other teachers and instructors  69   16 Female
## 163 2016 1546        NA Elementary and middle school teachers  66   18   Male
## 164 2016 1715        40   Preschool and kindergarten teachers  41   16 Female
## 165 2016 1898        40        Other teachers and instructors  27   13   Male
## 166 2016 1464        27   Preschool and kindergarten teachers  31   11 Female
## 167 2018 1615        36                Postsecondary teachers  20   14 Female
## 168 2016  235        25             Secondary school teachers  23   16   Male
##             income income_recode    educ_recode
## 1   $25000 or more         25000     4_Advanced
## 2   $25000 or more         25000     4_Advanced
## 3   $25000 or more         25000    3_Bachelors
## 4   $25000 or more         25000     4_Advanced
## 5   $25000 or more         25000    3_Bachelors
## 6   $25000 or more         25000     4_Advanced
## 7   $25000 or more         25000     4_Advanced
## 8   $25000 or more         25000     4_Advanced
## 9   $25000 or more         25000    3_Bachelors
## 10  $25000 or more         25000     4_Advanced
## 11  $25000 or more         25000     4_Advanced
## 12  $25000 or more         25000    3_Bachelors
## 13  $25000 or more         25000     4_Advanced
## 14  $25000 or more         25000     4_Advanced
## 15  $25000 or more         25000     4_Advanced
## 16  $25000 or more         25000     4_Advanced
## 17  $25000 or more         25000     4_Advanced
## 18  $25000 or more         25000     4_Advanced
## 19  $25000 or more         25000    3_Bachelors
## 20  $25000 or more         25000    3_Bachelors
## 21  $25000 or more         25000    3_Bachelors
## 22  $25000 or more         25000    3_Bachelors
## 23  $25000 or more         25000     4_Advanced
## 24  $25000 or more         25000     4_Advanced
## 25  $25000 or more         25000     4_Advanced
## 26  $25000 or more         25000     4_Advanced
## 27  $25000 or more         25000     4_Advanced
## 28  $25000 or more         25000     4_Advanced
## 29  $25000 or more         25000    3_Bachelors
## 30  $25000 or more         25000    3_Bachelors
## 31  $25000 or more         25000    3_Bachelors
## 32  $25000 or more         25000     4_Advanced
## 33  $25000 or more         25000    3_Bachelors
## 34  $25000 or more         25000    3_Bachelors
## 35  $25000 or more         25000     4_Advanced
## 36  $25000 or more         25000     4_Advanced
## 37  $25000 or more         25000     4_Advanced
## 38  $25000 or more         25000     4_Advanced
## 39  $25000 or more         25000 2_some_college
## 40  $25000 or more         25000     4_Advanced
## 41  $25000 or more         25000    3_Bachelors
## 42  $25000 or more         25000     4_Advanced
## 43  $25000 or more         25000    3_Bachelors
## 44  $25000 or more         25000     4_Advanced
## 45  $25000 or more         25000    3_Bachelors
## 46  $25000 or more         25000     4_Advanced
## 47  $25000 or more         25000    3_Bachelors
## 48  $25000 or more         25000    3_Bachelors
## 49  $25000 or more         25000    3_Bachelors
## 50  $25000 or more         25000     4_Advanced
## 51  $25000 or more         25000     4_Advanced
## 52  $25000 or more         25000     4_Advanced
## 53  $25000 or more         25000     4_Advanced
## 54  $25000 or more         25000     4_Advanced
## 55  $25000 or more         25000     4_Advanced
## 56  $25000 or more         25000     4_Advanced
## 57  $25000 or more         25000     4_Advanced
## 58  $25000 or more         25000     4_Advanced
## 59  $25000 or more         25000     4_Advanced
## 60  $25000 or more         25000     4_Advanced
## 61  $25000 or more         25000     4_Advanced
## 62  $25000 or more         25000     4_Advanced
## 63  $25000 or more         25000    3_Bachelors
## 64  $25000 or more         25000     4_Advanced
## 65  $25000 or more         25000     4_Advanced
## 66  $25000 or more         25000     4_Advanced
## 67  $25000 or more         25000     4_Advanced
## 68  $25000 or more         25000     4_Advanced
## 69  $25000 or more         25000    3_Bachelors
## 70  $25000 or more         25000     4_Advanced
## 71  $25000 or more         25000    3_Bachelors
## 72  $25000 or more         25000     4_Advanced
## 73  $25000 or more         25000     4_Advanced
## 74  $25000 or more         25000    3_Bachelors
## 75  $25000 or more         25000 2_some_college
## 76  $25000 or more         25000    3_Bachelors
## 77  $25000 or more         25000     4_Advanced
## 78  $25000 or more         25000    3_Bachelors
## 79  $25000 or more         25000    3_Bachelors
## 80  $25000 or more         25000 2_some_college
## 81  $25000 or more         25000    3_Bachelors
## 82  $25000 or more         25000     4_Advanced
## 83  $25000 or more         25000     4_Advanced
## 84  $25000 or more         25000 2_some_college
## 85  $25000 or more         25000    3_Bachelors
## 86  $25000 or more         25000    3_Bachelors
## 87  $25000 or more         25000    3_Bachelors
## 88  $25000 or more         25000    3_Bachelors
## 89  $25000 or more         25000           1_hs
## 90  $25000 or more         25000    3_Bachelors
## 91  $25000 or more         25000    3_Bachelors
## 92  $25000 or more         25000    3_Bachelors
## 93  $25000 or more         25000 2_some_college
## 94  $25000 or more         25000 2_some_college
## 95  $25000 or more         25000    3_Bachelors
## 96  $25000 or more         25000    3_Bachelors
## 97  $25000 or more         25000     4_Advanced
## 98  $25000 or more         25000     4_Advanced
## 99  $25000 or more         25000     4_Advanced
## 100 $25000 or more         25000     4_Advanced
## 101 $25000 or more         25000     4_Advanced
## 102 $25000 or more         25000     4_Advanced
## 103 $25000 or more         25000    3_Bachelors
## 104 $25000 or more         25000    3_Bachelors
## 105 $25000 or more         25000     4_Advanced
## 106 $25000 or more         25000    3_Bachelors
## 107 $25000 or more         25000     4_Advanced
## 108 $25000 or more         25000     4_Advanced
## 109 $25000 or more         25000     4_Advanced
## 110 $25000 or more         25000     4_Advanced
## 111 $25000 or more         25000    3_Bachelors
## 112 $25000 or more         25000     4_Advanced
## 113 $25000 or more         25000     4_Advanced
## 114 $25000 or more         25000     4_Advanced
## 115 $25000 or more         25000     4_Advanced
## 116 $25000 or more         25000     4_Advanced
## 117 $25000 or more         25000    3_Bachelors
## 118 $25000 or more         25000     4_Advanced
## 119 $20000 - 24999         22500     4_Advanced
## 120 $20000 - 24999         22500           1_hs
## 121 $20000 - 24999         22500    3_Bachelors
## 122 $20000 - 24999         22500 2_some_college
## 123 $20000 - 24999         22500     4_Advanced
## 124 $20000 - 24999         22500    3_Bachelors
## 125 $20000 - 24999         22500    3_Bachelors
## 126 $20000 - 24999         22500           1_hs
## 127 $20000 - 24999         22500     4_Advanced
## 128 $20000 - 24999         22500     4_Advanced
## 129 $20000 - 24999         22500    3_Bachelors
## 130 $15000 - 19999         17500     4_Advanced
## 131 $15000 - 19999         17500     4_Advanced
## 132 $15000 - 19999         17500    3_Bachelors
## 133 $15000 - 19999         17500     4_Advanced
## 134 $15000 - 19999         17500    3_Bachelors
## 135 $15000 - 19999         17500     4_Advanced
## 136 $15000 - 19999         17500 2_some_college
## 137 $15000 - 19999         17500    3_Bachelors
## 138 $10000 - 14999         12500     4_Advanced
## 139 $10000 - 14999         12500 2_some_college
## 140 $10000 - 14999         12500     4_Advanced
## 141 $10000 - 14999         12500     4_Advanced
## 142 $10000 - 14999         12500     4_Advanced
## 143 $10000 - 14999         12500 2_some_college
## 144 $10000 - 14999         12500 2_some_college
## 145 $10000 - 14999         12500     4_Advanced
## 146  $8000 to 9999          9000     4_Advanced
## 147  $8000 to 9999          9000    3_Bachelors
## 148  $8000 to 9999          9000 2_some_college
## 149  $8000 to 9999          9000     4_Advanced
## 150  $8000 to 9999          9000    3_Bachelors
## 151  $7000 to 7999          7500     4_Advanced
## 152  $6000 to 6999          6500     4_Advanced
## 153  $6000 to 6999          6500 2_some_college
## 154  $6000 to 6999          6500     4_Advanced
## 155  $5000 to 5999          5500    3_Bachelors
## 156  $5000 to 5999          5500     4_Advanced
## 157  $4000 to 4999          4500    3_Bachelors
## 158  $4000 to 4999          4500    3_Bachelors
## 159  $4000 to 4999          4500     4_Advanced
## 160  $4000 to 4999          4500     4_Advanced
## 161  $3000 to 3999          3500 2_some_college
## 162  $3000 to 3999          3500    3_Bachelors
## 163  $3000 to 3999          3500     4_Advanced
## 164  $3000 to 3999          3500    3_Bachelors
## 165  $3000 to 3999          3500 2_some_college
## 166  $1000 to 2999          1500      0_no_1_hs
## 167  $1000 to 2999          1500 2_some_college
## 168       Lt $1000           500    3_Bachelors
a2
##    year   id hours_wkd         occupation age educ    sex         income
## 1  2016  257        40 Teacher assistants  30   16 Female $25000 or more
## 2  2016  963        NA Teacher assistants  46   12   Male $25000 or more
## 3  2016 2745        40 Teacher assistants  61   15 Female $25000 or more
## 4  2018  124        30 Teacher assistants  59   16 Female $25000 or more
## 5  2018  656        NA Teacher assistants  29   16 Female $25000 or more
## 6  2016 1147        60 Teacher assistants  49   17 Female $20000 - 24999
## 7  2016 2426        64 Teacher assistants  42   12   Male $20000 - 24999
## 8  2016 2845        40 Teacher assistants  24   14 Female $20000 - 24999
## 9  2018 1022        35 Teacher assistants  35   12 Female $20000 - 24999
## 10 2016   37        25 Teacher assistants  59   16   Male $15000 - 19999
## 11 2016 1470        26 Teacher assistants  63   14 Female $15000 - 19999
## 12 2016 1916        50 Teacher assistants  39   15 Female $15000 - 19999
## 13 2016 2489        31 Teacher assistants  31   14 Female $10000 - 14999
## 14 2016 2809        NA Teacher assistants  58   12 Female $10000 - 14999
## 15 2018  274        35 Teacher assistants  65   19 Female $10000 - 14999
## 16 2018  873        28 Teacher assistants  52   16 Female $10000 - 14999
## 17 2018 2111        45 Teacher assistants  34   14 Female $10000 - 14999
## 18 2016 2433        NA Teacher assistants  38   14 Female  $7000 to 7999
## 19 2016 1247        21 Teacher assistants  19   13   Male  $6000 to 6999
## 20 2016 1267        NA Teacher assistants  25   16 Female  $5000 to 5999
##    income_recode    educ_recode
## 1          25000    3_Bachelors
## 2          25000           1_hs
## 3          25000 2_some_college
## 4          25000    3_Bachelors
## 5          25000    3_Bachelors
## 6          22500     4_Advanced
## 7          22500           1_hs
## 8          22500 2_some_college
## 9          22500           1_hs
## 10         17500    3_Bachelors
## 11         17500 2_some_college
## 12         17500 2_some_college
## 13         12500 2_some_college
## 14         12500           1_hs
## 15         12500     4_Advanced
## 16         12500    3_Bachelors
## 17         12500 2_some_college
## 18          7500 2_some_college
## 19          6500 2_some_college
## 20          5500    3_Bachelors
a3 = rbind(a1,a2)
a3
##     year   id hours_wkd                            occupation age educ    sex
## 1   2016   19        40 Elementary and middle school teachers  31   18   Male
## 2   2016   29        NA             Secondary school teachers  74   18   Male
## 3   2016   38        40 Elementary and middle school teachers  43   16 Female
## 4   2016  121        40             Secondary school teachers  55   18 Female
## 5   2016  150        30        Other teachers and instructors  30   16   Male
## 6   2016  259        50 Elementary and middle school teachers  35   20 Female
## 7   2016  261        NA                Postsecondary teachers  62   20 Female
## 8   2016  277        55 Elementary and middle school teachers  44   20 Female
## 9   2016  292        40        Other teachers and instructors  61   16   Male
## 10  2016  300        40        Other teachers and instructors  40   17   Male
## 11  2016  380        24                Postsecondary teachers  68   18 Female
## 12  2016  395        NA                Postsecondary teachers  25   16   Male
## 13  2016  408        30                Postsecondary teachers  59   20 Female
## 14  2016  412        40 Elementary and middle school teachers  37   20   Male
## 15  2016  468        50                Postsecondary teachers  59   20 Female
## 16  2016  471        50             Secondary school teachers  59   18 Female
## 17  2016  488        40                Postsecondary teachers  73   20   Male
## 18  2016  609        40 Elementary and middle school teachers  47   20 Female
## 19  2016  705         1 Elementary and middle school teachers  40   16 Female
## 20  2016  737        60             Secondary school teachers  52   16 Female
## 21  2016  798        27                Postsecondary teachers  70   16 Female
## 22  2016  912        NA Elementary and middle school teachers  27   16 Female
## 23  2016  920        40             Secondary school teachers  51   18 Female
## 24  2016 1007         8        Other teachers and instructors  34   17 Female
## 25  2016 1008        60             Secondary school teachers  32   19 Female
## 26  2016 1010        NA   Preschool and kindergarten teachers  31   20 Female
## 27  2016 1020        55             Secondary school teachers  63   18   Male
## 28  2016 1030        44                Postsecondary teachers  41   20   Male
## 29  2016 1050        60 Elementary and middle school teachers  25   16 Female
## 30  2016 1138        50 Elementary and middle school teachers  47   16 Female
## 31  2016 1244        40                Postsecondary teachers  33   16   Male
## 32  2016 1249        55            Special education teachers  38   20   Male
## 33  2016 1355        62 Elementary and middle school teachers  42   16   Male
## 34  2016 1442        NA Elementary and middle school teachers  31   16 Female
## 35  2016 1490        40             Secondary school teachers  38   19 Female
## 36  2016 1530        60             Secondary school teachers  47   20   Male
## 37  2016 1536        35                Postsecondary teachers  53   18   Male
## 38  2016 1575        45            Special education teachers  42   18 Female
## 39  2016 1590        25             Secondary school teachers  59   14 Female
## 40  2016 1596        48                Postsecondary teachers  52   20 Female
## 41  2016 1700        40   Preschool and kindergarten teachers  59   16 Female
## 42  2016 1705        NA             Secondary school teachers  41   18 Female
## 43  2016 1717        NA             Secondary school teachers  45   16 Female
## 44  2016 1783        NA Elementary and middle school teachers  63   17 Female
## 45  2016 1825        40 Elementary and middle school teachers  50   16   Male
## 46  2016 1889        40                Postsecondary teachers  53   20   Male
## 47  2016 2083        NA Elementary and middle school teachers  39   16 Female
## 48  2016 2130        45             Secondary school teachers  47   16 Female
## 49  2016 2153        NA Elementary and middle school teachers  38   16 Female
## 50  2016 2422        40             Secondary school teachers  37   17 Female
## 51  2016 2431        50            Special education teachers  27   20 Female
## 52  2016 2467        44                Postsecondary teachers  46   20 Female
## 53  2016 2543        45 Elementary and middle school teachers  34   17 Female
## 54  2016 2667        50 Elementary and middle school teachers  26   17 Female
## 55  2016 2672        70        Other teachers and instructors  49   20   Male
## 56  2016 2675        40             Secondary school teachers  42   19 Female
## 57  2016 2698        40                Postsecondary teachers  54   20 Female
## 58  2016 2717        45 Elementary and middle school teachers  34   20 Female
## 59  2016 2721        70             Secondary school teachers  49   20 Female
## 60  2016 2740        40 Elementary and middle school teachers  43   18 Female
## 61  2016 2814         3                Postsecondary teachers  66   18 Female
## 62  2016 2833        50 Elementary and middle school teachers  27   18 Female
## 63  2016 2840         3             Secondary school teachers  52   16   Male
## 64  2018   19        40             Secondary school teachers  40   20 Female
## 65  2018  126        40             Secondary school teachers  48   18   Male
## 66  2018  239        NA Elementary and middle school teachers  65   18   Male
## 67  2018  299        37            Special education teachers  31   20 Female
## 68  2018  319        35            Special education teachers  34   20 Female
## 69  2018  367        40                Postsecondary teachers  70   16 Female
## 70  2018  388        40                Postsecondary teachers  29   20 Female
## 71  2018  454        55 Elementary and middle school teachers  33   16 Female
## 72  2018  477        42        Other teachers and instructors  40   18 Female
## 73  2018  635        40                Postsecondary teachers  62   18   Male
## 74  2018  641        NA                Postsecondary teachers  53   16   Male
## 75  2018  682        NA        Other teachers and instructors  71   15 Female
## 76  2018  683        37        Other teachers and instructors  58   16 Female
## 77  2018  720        40             Secondary school teachers  46   18   Male
## 78  2018  742        40        Other teachers and instructors  46   16   Male
## 79  2018  763        NA        Other teachers and instructors  42   16 Female
## 80  2018  799        70        Other teachers and instructors  59   14 Female
## 81  2018  826        48 Elementary and middle school teachers  54   16 Female
## 82  2018  854        40 Elementary and middle school teachers  53   17 Female
## 83  2018  929        50 Elementary and middle school teachers  59   20 Female
## 84  2018  961        40 Elementary and middle school teachers  38   14   Male
## 85  2018  982        35                Postsecondary teachers  43   16 Female
## 86  2018 1008        NA Elementary and middle school teachers  37   16 Female
## 87  2018 1034        30        Other teachers and instructors  31   16 Female
## 88  2018 1038        40             Secondary school teachers  54   16   Male
## 89  2018 1111        50                Postsecondary teachers  57   12 Female
## 90  2018 1126        40            Special education teachers  29   16   Male
## 91  2018 1160         2             Secondary school teachers  64   16   Male
## 92  2018 1204        NA             Secondary school teachers  34   16 Female
## 93  2018 1228        50                Postsecondary teachers  25   13 Female
## 94  2018 1290        20                Postsecondary teachers  73   15   Male
## 95  2018 1380        40 Elementary and middle school teachers  29   16 Female
## 96  2018 1400        40             Secondary school teachers  40   16   Male
## 97  2018 1438        40             Secondary school teachers  29   17 Female
## 98  2018 1454        NA        Other teachers and instructors  48   18 Female
## 99  2018 1558        25                Postsecondary teachers  44   17 Female
## 100 2018 1570        15             Secondary school teachers  37   17   Male
## 101 2018 1694        NA Elementary and middle school teachers  57   18 Female
## 102 2018 1726        40                Postsecondary teachers  52   18   Male
## 103 2018 1761        40             Secondary school teachers  47   16 Female
## 104 2018 1788        20                Postsecondary teachers  33   16 Female
## 105 2018 1806        16                Postsecondary teachers  70   17 Female
## 106 2018 1832        40             Secondary school teachers  49   16 Female
## 107 2018 1860        36 Elementary and middle school teachers  28   18 Female
## 108 2018 1912        20             Secondary school teachers  35   20 Female
## 109 2018 1957        50             Secondary school teachers  49   17 Female
## 110 2018 2004        40 Elementary and middle school teachers  55   17 Female
## 111 2018 2026        NA             Secondary school teachers  26   16 Female
## 112 2018 2042        40 Elementary and middle school teachers  53   20   Male
## 113 2018 2133        50 Elementary and middle school teachers  38   20 Female
## 114 2018 2207        50 Elementary and middle school teachers  33   20 Female
## 115 2018 2211        45             Secondary school teachers  50   20 Female
## 116 2018 2252        NA Elementary and middle school teachers  30   19 Female
## 117 2018 2261        40 Elementary and middle school teachers  24   16 Female
## 118 2018 2318        NA                Postsecondary teachers  36   20 Female
## 119 2016   57        40   Preschool and kindergarten teachers  40   17 Female
## 120 2016  415        40   Preschool and kindergarten teachers  34   12 Female
## 121 2016  677        42            Special education teachers  27   16   Male
## 122 2016  732        NA Elementary and middle school teachers  37   14 Female
## 123 2016 1027        40   Preschool and kindergarten teachers  42   17 Female
## 124 2016 1672         3                Postsecondary teachers  67   16 Female
## 125 2016 2021        NA Elementary and middle school teachers  41   16 Female
## 126 2018  802        38   Preschool and kindergarten teachers  19   12 Female
## 127 2018 1278        NA                Postsecondary teachers  30   20 Female
## 128 2018 1564        36             Secondary school teachers  61   19 Female
## 129 2018 1756        40   Preschool and kindergarten teachers  35   16 Female
## 130 2016  154        45             Secondary school teachers  61   18 Female
## 131 2016  494        NA                Postsecondary teachers  32   20   Male
## 132 2016 1014        NA Elementary and middle school teachers  34   16 Female
## 133 2016 1124        NA                Postsecondary teachers  23   17   Male
## 134 2016 1620        40            Special education teachers  53   16 Female
## 135 2016 1680        NA                Postsecondary teachers  66   20   Male
## 136 2018  996        25        Other teachers and instructors  34   15 Female
## 137 2018 1745        NA        Other teachers and instructors  63   16 Female
## 138 2016  356        32 Elementary and middle school teachers  62   19 Female
## 139 2016  751        40   Preschool and kindergarten teachers  38   14 Female
## 140 2016 1037        70        Other teachers and instructors  43   19   Male
## 141 2016 1177        NA        Other teachers and instructors  67   17 Female
## 142 2016 1667        NA                Postsecondary teachers  50   20 Female
## 143 2018  140         6             Secondary school teachers  25   15 Female
## 144 2018  870        NA   Preschool and kindergarten teachers  29   15 Female
## 145 2018 2279        16        Other teachers and instructors  68   17 Female
## 146 2016   59        40                Postsecondary teachers  59   20 Female
## 147 2016 1779        20             Secondary school teachers  61   16 Female
## 148 2018  536        18                Postsecondary teachers  33   14 Female
## 149 2018 1709        NA                Postsecondary teachers  28   19 Female
## 150 2018 2138         6                Postsecondary teachers  72   16 Female
## 151 2018  668        40 Elementary and middle school teachers  30   17 Female
## 152 2016 1379        30                Postsecondary teachers  31   17   Male
## 153 2018  158        30 Elementary and middle school teachers  20   14 Female
## 154 2018  426        18            Special education teachers  74   20 Female
## 155 2016  864        NA   Preschool and kindergarten teachers  28   16 Female
## 156 2016 1394        NA Elementary and middle school teachers  57   20   Male
## 157 2016  378        NA   Preschool and kindergarten teachers  29   16 Female
## 158 2016 2073        40                Postsecondary teachers  54   16 Female
## 159 2018 1715        NA                Postsecondary teachers  24   17   Male
## 160 2018 2064         3        Other teachers and instructors  54   18 Female
## 161 2016  264        NA   Preschool and kindergarten teachers  30   13 Female
## 162 2016 1116         5        Other teachers and instructors  69   16 Female
## 163 2016 1546        NA Elementary and middle school teachers  66   18   Male
## 164 2016 1715        40   Preschool and kindergarten teachers  41   16 Female
## 165 2016 1898        40        Other teachers and instructors  27   13   Male
## 166 2016 1464        27   Preschool and kindergarten teachers  31   11 Female
## 167 2018 1615        36                Postsecondary teachers  20   14 Female
## 168 2016  235        25             Secondary school teachers  23   16   Male
## 169 2016  257        40                    Teacher assistants  30   16 Female
## 170 2016  963        NA                    Teacher assistants  46   12   Male
## 171 2016 2745        40                    Teacher assistants  61   15 Female
## 172 2018  124        30                    Teacher assistants  59   16 Female
## 173 2018  656        NA                    Teacher assistants  29   16 Female
## 174 2016 1147        60                    Teacher assistants  49   17 Female
## 175 2016 2426        64                    Teacher assistants  42   12   Male
## 176 2016 2845        40                    Teacher assistants  24   14 Female
## 177 2018 1022        35                    Teacher assistants  35   12 Female
## 178 2016   37        25                    Teacher assistants  59   16   Male
## 179 2016 1470        26                    Teacher assistants  63   14 Female
## 180 2016 1916        50                    Teacher assistants  39   15 Female
## 181 2016 2489        31                    Teacher assistants  31   14 Female
## 182 2016 2809        NA                    Teacher assistants  58   12 Female
## 183 2018  274        35                    Teacher assistants  65   19 Female
## 184 2018  873        28                    Teacher assistants  52   16 Female
## 185 2018 2111        45                    Teacher assistants  34   14 Female
## 186 2016 2433        NA                    Teacher assistants  38   14 Female
## 187 2016 1247        21                    Teacher assistants  19   13   Male
## 188 2016 1267        NA                    Teacher assistants  25   16 Female
##             income income_recode    educ_recode
## 1   $25000 or more         25000     4_Advanced
## 2   $25000 or more         25000     4_Advanced
## 3   $25000 or more         25000    3_Bachelors
## 4   $25000 or more         25000     4_Advanced
## 5   $25000 or more         25000    3_Bachelors
## 6   $25000 or more         25000     4_Advanced
## 7   $25000 or more         25000     4_Advanced
## 8   $25000 or more         25000     4_Advanced
## 9   $25000 or more         25000    3_Bachelors
## 10  $25000 or more         25000     4_Advanced
## 11  $25000 or more         25000     4_Advanced
## 12  $25000 or more         25000    3_Bachelors
## 13  $25000 or more         25000     4_Advanced
## 14  $25000 or more         25000     4_Advanced
## 15  $25000 or more         25000     4_Advanced
## 16  $25000 or more         25000     4_Advanced
## 17  $25000 or more         25000     4_Advanced
## 18  $25000 or more         25000     4_Advanced
## 19  $25000 or more         25000    3_Bachelors
## 20  $25000 or more         25000    3_Bachelors
## 21  $25000 or more         25000    3_Bachelors
## 22  $25000 or more         25000    3_Bachelors
## 23  $25000 or more         25000     4_Advanced
## 24  $25000 or more         25000     4_Advanced
## 25  $25000 or more         25000     4_Advanced
## 26  $25000 or more         25000     4_Advanced
## 27  $25000 or more         25000     4_Advanced
## 28  $25000 or more         25000     4_Advanced
## 29  $25000 or more         25000    3_Bachelors
## 30  $25000 or more         25000    3_Bachelors
## 31  $25000 or more         25000    3_Bachelors
## 32  $25000 or more         25000     4_Advanced
## 33  $25000 or more         25000    3_Bachelors
## 34  $25000 or more         25000    3_Bachelors
## 35  $25000 or more         25000     4_Advanced
## 36  $25000 or more         25000     4_Advanced
## 37  $25000 or more         25000     4_Advanced
## 38  $25000 or more         25000     4_Advanced
## 39  $25000 or more         25000 2_some_college
## 40  $25000 or more         25000     4_Advanced
## 41  $25000 or more         25000    3_Bachelors
## 42  $25000 or more         25000     4_Advanced
## 43  $25000 or more         25000    3_Bachelors
## 44  $25000 or more         25000     4_Advanced
## 45  $25000 or more         25000    3_Bachelors
## 46  $25000 or more         25000     4_Advanced
## 47  $25000 or more         25000    3_Bachelors
## 48  $25000 or more         25000    3_Bachelors
## 49  $25000 or more         25000    3_Bachelors
## 50  $25000 or more         25000     4_Advanced
## 51  $25000 or more         25000     4_Advanced
## 52  $25000 or more         25000     4_Advanced
## 53  $25000 or more         25000     4_Advanced
## 54  $25000 or more         25000     4_Advanced
## 55  $25000 or more         25000     4_Advanced
## 56  $25000 or more         25000     4_Advanced
## 57  $25000 or more         25000     4_Advanced
## 58  $25000 or more         25000     4_Advanced
## 59  $25000 or more         25000     4_Advanced
## 60  $25000 or more         25000     4_Advanced
## 61  $25000 or more         25000     4_Advanced
## 62  $25000 or more         25000     4_Advanced
## 63  $25000 or more         25000    3_Bachelors
## 64  $25000 or more         25000     4_Advanced
## 65  $25000 or more         25000     4_Advanced
## 66  $25000 or more         25000     4_Advanced
## 67  $25000 or more         25000     4_Advanced
## 68  $25000 or more         25000     4_Advanced
## 69  $25000 or more         25000    3_Bachelors
## 70  $25000 or more         25000     4_Advanced
## 71  $25000 or more         25000    3_Bachelors
## 72  $25000 or more         25000     4_Advanced
## 73  $25000 or more         25000     4_Advanced
## 74  $25000 or more         25000    3_Bachelors
## 75  $25000 or more         25000 2_some_college
## 76  $25000 or more         25000    3_Bachelors
## 77  $25000 or more         25000     4_Advanced
## 78  $25000 or more         25000    3_Bachelors
## 79  $25000 or more         25000    3_Bachelors
## 80  $25000 or more         25000 2_some_college
## 81  $25000 or more         25000    3_Bachelors
## 82  $25000 or more         25000     4_Advanced
## 83  $25000 or more         25000     4_Advanced
## 84  $25000 or more         25000 2_some_college
## 85  $25000 or more         25000    3_Bachelors
## 86  $25000 or more         25000    3_Bachelors
## 87  $25000 or more         25000    3_Bachelors
## 88  $25000 or more         25000    3_Bachelors
## 89  $25000 or more         25000           1_hs
## 90  $25000 or more         25000    3_Bachelors
## 91  $25000 or more         25000    3_Bachelors
## 92  $25000 or more         25000    3_Bachelors
## 93  $25000 or more         25000 2_some_college
## 94  $25000 or more         25000 2_some_college
## 95  $25000 or more         25000    3_Bachelors
## 96  $25000 or more         25000    3_Bachelors
## 97  $25000 or more         25000     4_Advanced
## 98  $25000 or more         25000     4_Advanced
## 99  $25000 or more         25000     4_Advanced
## 100 $25000 or more         25000     4_Advanced
## 101 $25000 or more         25000     4_Advanced
## 102 $25000 or more         25000     4_Advanced
## 103 $25000 or more         25000    3_Bachelors
## 104 $25000 or more         25000    3_Bachelors
## 105 $25000 or more         25000     4_Advanced
## 106 $25000 or more         25000    3_Bachelors
## 107 $25000 or more         25000     4_Advanced
## 108 $25000 or more         25000     4_Advanced
## 109 $25000 or more         25000     4_Advanced
## 110 $25000 or more         25000     4_Advanced
## 111 $25000 or more         25000    3_Bachelors
## 112 $25000 or more         25000     4_Advanced
## 113 $25000 or more         25000     4_Advanced
## 114 $25000 or more         25000     4_Advanced
## 115 $25000 or more         25000     4_Advanced
## 116 $25000 or more         25000     4_Advanced
## 117 $25000 or more         25000    3_Bachelors
## 118 $25000 or more         25000     4_Advanced
## 119 $20000 - 24999         22500     4_Advanced
## 120 $20000 - 24999         22500           1_hs
## 121 $20000 - 24999         22500    3_Bachelors
## 122 $20000 - 24999         22500 2_some_college
## 123 $20000 - 24999         22500     4_Advanced
## 124 $20000 - 24999         22500    3_Bachelors
## 125 $20000 - 24999         22500    3_Bachelors
## 126 $20000 - 24999         22500           1_hs
## 127 $20000 - 24999         22500     4_Advanced
## 128 $20000 - 24999         22500     4_Advanced
## 129 $20000 - 24999         22500    3_Bachelors
## 130 $15000 - 19999         17500     4_Advanced
## 131 $15000 - 19999         17500     4_Advanced
## 132 $15000 - 19999         17500    3_Bachelors
## 133 $15000 - 19999         17500     4_Advanced
## 134 $15000 - 19999         17500    3_Bachelors
## 135 $15000 - 19999         17500     4_Advanced
## 136 $15000 - 19999         17500 2_some_college
## 137 $15000 - 19999         17500    3_Bachelors
## 138 $10000 - 14999         12500     4_Advanced
## 139 $10000 - 14999         12500 2_some_college
## 140 $10000 - 14999         12500     4_Advanced
## 141 $10000 - 14999         12500     4_Advanced
## 142 $10000 - 14999         12500     4_Advanced
## 143 $10000 - 14999         12500 2_some_college
## 144 $10000 - 14999         12500 2_some_college
## 145 $10000 - 14999         12500     4_Advanced
## 146  $8000 to 9999          9000     4_Advanced
## 147  $8000 to 9999          9000    3_Bachelors
## 148  $8000 to 9999          9000 2_some_college
## 149  $8000 to 9999          9000     4_Advanced
## 150  $8000 to 9999          9000    3_Bachelors
## 151  $7000 to 7999          7500     4_Advanced
## 152  $6000 to 6999          6500     4_Advanced
## 153  $6000 to 6999          6500 2_some_college
## 154  $6000 to 6999          6500     4_Advanced
## 155  $5000 to 5999          5500    3_Bachelors
## 156  $5000 to 5999          5500     4_Advanced
## 157  $4000 to 4999          4500    3_Bachelors
## 158  $4000 to 4999          4500    3_Bachelors
## 159  $4000 to 4999          4500     4_Advanced
## 160  $4000 to 4999          4500     4_Advanced
## 161  $3000 to 3999          3500 2_some_college
## 162  $3000 to 3999          3500    3_Bachelors
## 163  $3000 to 3999          3500     4_Advanced
## 164  $3000 to 3999          3500    3_Bachelors
## 165  $3000 to 3999          3500 2_some_college
## 166  $1000 to 2999          1500      0_no_1_hs
## 167  $1000 to 2999          1500 2_some_college
## 168       Lt $1000           500    3_Bachelors
## 169 $25000 or more         25000    3_Bachelors
## 170 $25000 or more         25000           1_hs
## 171 $25000 or more         25000 2_some_college
## 172 $25000 or more         25000    3_Bachelors
## 173 $25000 or more         25000    3_Bachelors
## 174 $20000 - 24999         22500     4_Advanced
## 175 $20000 - 24999         22500           1_hs
## 176 $20000 - 24999         22500 2_some_college
## 177 $20000 - 24999         22500           1_hs
## 178 $15000 - 19999         17500    3_Bachelors
## 179 $15000 - 19999         17500 2_some_college
## 180 $15000 - 19999         17500 2_some_college
## 181 $10000 - 14999         12500 2_some_college
## 182 $10000 - 14999         12500           1_hs
## 183 $10000 - 14999         12500     4_Advanced
## 184 $10000 - 14999         12500    3_Bachelors
## 185 $10000 - 14999         12500 2_some_college
## 186  $7000 to 7999          7500 2_some_college
## 187  $6000 to 6999          6500 2_some_college
## 188  $5000 to 5999          5500    3_Bachelors
a4 = subset(a3, sex == 'Male')%>%group_by(educ_recode)%>% summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n())
a5 = subset(a3,sex == 'Female')%>%group_by(educ_recode)%>%summarize(tot_pay = mean(income_recode), median = median(income_recode), count = n()) 
a4
## # A tibble: 4 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 1_hs            23750   23750     2
## 2 2_some_college  15000   15750     4
## 3 3_Bachelors     22844.  25000    16
## 4 4_Advanced      20741.  25000    27
a5
## # A tibble: 5 x 4
##   educ_recode    tot_pay median count
##   <chr>            <dbl>  <dbl> <int>
## 1 0_no_1_hs        1500    1500     1
## 2 1_hs            21000   22500     5
## 3 2_some_college  15650   15000    20
## 4 3_Bachelors     20707.  25000    46
## 5 4_Advanced      22448.  25000    67
ggplot(a4, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+ xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Male income in educational area")
## Warning: Ignoring unknown parameters: varwidth

ggplot(a5, aes(educ_recode, tot_pay)) + 
    geom_point(varwidth = TRUE)+xlab("Education Level") +
  ylab("Income measure") +
  ggtitle(" Female income in educational area")
## Warning: Ignoring unknown parameters: varwidth