Answered step by step
Verified Expert Solution
Question
1 Approved Answer
R Script Read in the dataset salary from Blackboard. The dataset contains salaries (salary), anxiety levels (anxiety) on a scale that goes from 0 (no
R Script Read in the dataset salary from Blackboard. The dataset contains salaries ("salary"), anxiety levels ("anxiety") on a scale that goes from 0 (no anxiety) to 7 (very anxious), and education level ("education"). Answer the following questions: 1. Create a figure that displays the relationship between salaries, anxiety, and education levels. Make sure that the labels and the title are interpretable. Interpret in detail the relationships that you see. 2. Subset the whole dataset into three datasets by different education levels. 3. Let salary be the response variable, and anxiety level be the predictor. Construct a simple linear regression based on the each of the subset you just create. 4. Interpret the linear regression results
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