This data set contains teacher salaries from 2009-2010 for 71 teachers employed by the St. Louis Public School in Michigan, as well as several covariates.
A data frame with 71 observations on the following 8 variables.
Identification code for each teacher, assigned randomly.
Highest educational degree attained:
BA (bachelor's degree) or
MA (master's degree).
Full-time enrollment status: full-time
1 or part-time
Number of years employed by the school district.
Base annual salary, in dollars.
Amount paid into Social Security and Medicare per year through the Federal Insurance Contribution Act (FICA), in dollars.
Amount paid into the retirement fund of the teacher per year, in dollars.
Total annual salary of the teacher, resulting from the sum of base salary + fica + retirement, in dollars.
Originally posted on SODA Developers (dev.socrata.com/data), removed in 2020.
library(ggplot2) # Salary and education level ggplot(teacher, aes(x = degree, y = base)) + geom_boxplot() + labs( x = "Highest educational degree attained", y = "Base annual salary, in $", color = "Degree", title = "Salary and education level" ) # Salary and years of employment ggplot(teacher, aes(x = years, y = base, color = degree)) + geom_point() + labs( x = "Number of years employed by the school district", y = "Base annual salary, in $", color = "Degree", title = "Salary and years of employment" )