Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
