r studio who is familiar with the r studio statistics Problem Set 5 The dataset salarydata.sav contains information about faculty salaries at a four year-

Click here to Order a Custom answer to this Question from our writers. It’s fast and plagiarism-free.

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.

Place your order now for a similar assignment and have exceptional work written by one of our experts, guaranteeing you an A result.

Need an Essay Written?

This sample is available to anyone. If you want a unique paper order it from one of our professional writers.

Get help with your academic paper right away

Quality & Timely Delivery

Free Editing & Plagiarism Check

Security, Privacy & Confidentiality