Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In the car package, you can find the Salaries dataset where it records nine-month academic salary for Assistant Professors, Associate Professors and Professors in a

image text in transcribed
In the car package, you can find the Salaries dataset where it records nine-month academic salary for Assistant Professors, Associate Professors and Professors in a college in the U.S. You can find more information about the dataset in R documents. We are interested in which factors are associated with a professor's salary. Since the response salary is right skewed, a log transformation should be applied to salary. (a) Fit a full model to log(salary) using R. For the dummy variable rank, what is the baseline level chosen by R? (2 marks) (b) For the full model in (a), write out the model fitted. Clearly define variables. (3 marks) (c) Suppose we want to compare the expected salaries on the log-scale for two hypo- thetical professors, A and B. Professor A is a male associate professor in the applied department. Professor B is a female professor in the theoretical department. A and B obtained their PhD degree at the same year. However, A has been teaching for 2 years whereas B has been teaching for 5 years. What is the expected log(salary) difference between A and B

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Java Programming, Comprehensive Version

Authors: Y. Daniel Liang

10th Edition

133761312, 978-0133761313

More Books

Students also viewed these Economics questions