Vocabulary score vs. self identified social class

Inference for Numerical Data in R

Mine Cetinkaya-Rundel

Associate Professor of the Practice, Duke University

Vocabulary score and self identified social class

  • wordsum: 10 question vocabulary test (scores range from 0 to 10)
  • class: self identified social class (lower, working, middle, upper)
   wordsum  class 
1        6 MIDDLE  
2        9 WORKING 
3        6 WORKING 
4        5 WORKING 
5        6 WORKING 
6        6 WORKING 
...    ...     ...     
795      9 MIDDLE  
Inference for Numerical Data in R
  1. SPACE (school, noon, captain, room, board, don't know)
  2. BROADEN (efface, make level, elapse, embroider, widen, don't know)
  3. EMANATE (populate, free, prominent, rival, come, don't know)
  4. EDIBLE (auspicious, eligible, fit to eat, sagacious, able to speak, don't know)
  5. ANIMOSITY (hatred, animation, disobedience, diversity, friendship, don't know)
  6. PACT (puissance, remonstrance, agreement, skillet, pressure, don't know)
  7. CLOISTERED (miniature, bunched, arched, malady, secluded, don't know)
  8. CAPRICE (value, a star, grimace, whim, inducement, don't know)
  9. ACCUSTOM (disappoint, customary, encounter, get used to, business, don't know)
  10. ALLUSION (reference, dream, eulogy, illusion, aria, don't know)
Inference for Numerical Data in R

Distribution of vocabulary score

ggplot(data = gss, aes(x = wordsum)) +
  geom_histogram(binwidth = 1)

Histogram of wordsum

Inference for Numerical Data in R

Self identified social class: `class`

If you were asked to use one of four names for your social class, which would you say you belong in: the lower class, the working class, the middle class, or the upper class?

ggplot(data = gss, aes(x = wordsum)) +
  geom_histogram(binwidth = 1)

Bar plot of class

Inference for Numerical Data in R

Let's practice!

Inference for Numerical Data in R

Preparing Video For Download...