Chat with us, powered by LiveChat who is familiar with the r studio statistics? Problem - STUDENT SOLUTION USA

who is familiar with the r studio statistics?

Problem Set 5

The dataset salarydata.sav contains information about faculty salaries at a four year-college. The dataset contains 5 variables.

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

Part I.

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.

Part II.

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?s gender? Specify an appropriate statistical model to address this question, and interpret the results.

error: Content is protected !!