Aan de slagGa gratis aan de slag

Hourly pay vs. citizenship status

Using the acs12 data, and specifically the variables income, hrs_work, and citizen, summarize, visualize, and compare the distributions of hourly pay rate for citizens and non-citizens.

Deze oefening maakt deel uit van de cursus

Inference for Numerical Data in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Filter for non-missing hrly_pay and non-missing citizen
acs12_complete_hrlypay_citizen <- acs12 %>%
  ___
Code bewerken en uitvoeren