Problem Set 5
Salary: Faculty salaries in US dollars for a nine-month term.
Gender: Self-reported, coded as male =1, female = 0.
Market: A continuous variable describing a discipline’s marketability – roughly, how much professors in that discipline get paid compared to those in other disciplines.
Yearsdg: Time since the professor obtained their Ph.D. (in years).
Rank: Faculty Rank (categorical):
1= Assistant Professor
2= Associate Professor
3 = Full Professor
Is there a nonlinear relationship between Yearsdg and Salary for faculty at a four-year college? Create a new quadratic term by squaring the Yearsdg variable. Then, regress Salary on both Yearsdg and squared Yearsdg, and interpret the results.
Does gender moderate the relationship between professor rank and salary? In other words, does the relationship between professor rank and salary differ depending on the professor