Predicting Salaries with Holland Codes

Jamison R. Crawford, MPA
14 August 2019

The Question


Have you ever wondered:

What careers best fit my personality?

How much do others like me earn each year?


We have the data…

The Data

The U.S. Department of Labor

We can model the relationship between personality and salary.

Every occupation has a Standard Occupational Classification.

O*NET occupations have Holland Codes, i.e. 6 personality traits.

The Model

Once joined, we model wage as a function of each Holland type.

m <- lm(wage ~ ar + co + en + iv + re + so, mrg)
data.frame(m$coef)
               m.coef
(Intercept) 45927.547
ar          -1806.498
co          -3812.028
en           4914.710
iv           9900.074
re          -3011.119
so          -1655.726

The App

In Shiny, users can predict salaries based on their Holland codes.


Visit the app. View the documentation.