Question
Using the dataset in 1.1. Use R studio or R to answer these questions. This dataset is already a part of R. you just have
Using the dataset in 1.1. Use R studio or R to answer these questions.
This dataset is already a part of R. you just have to open It by inputting library(car).
1.1. Access the Salaries dataset by using the code: library(car); library(carData); data(Salaries)
1.6. Run a linear regression model that predicts salary (DV: salary) based on the number of service years (IV: yrs.service). And interpret your results of the above regression analysis. Hint: Focus on (1) estimated coefficient and (2) R-squared.
1.7. If a new professor who has 10-year experience of service joins ISU next semester, then your prediction based on the model of her/his salary is...?
1.8. Run a linear regression model (model.1) that predicts salary (DV: salary) based on the following independent variables, yrs.since.phd, yrs.service, sex, rank, discipline. And interpret your results of the above regression analysis. Hint: Focus on (1) estimated coefficients, (2) R-squared, and (3) Adjusted R-squared.
1.9. Check "multicollinearity" in the model.1 by using Variance Inflation Factor (VIF).
1.10. Run a linear regression model (model.2) by dropping a variable whose VIF or GVIF is the highest from model.1. And interpret your results of the above regression analysis. Hint: Focus on (1) estimated coefficients, (2) R-squared, and (3) Adjusted R-squared.
1.11. Compare the two models (i.e., model.1 and model.2) by using (1) R-squared & Adjusted R-squared, (2) visualization, and (3) formal statistical test.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started