In: Statistics and Probability
Name | MidtermScore | FinalExamScore |
John | 71 | 78 |
Leon | 78 | 84 |
Mary | 85 | 90 |
Alice | 80 | 92 |
Juan | 72 | 87 |
Abdul | 81 | 86 |
Fay | 79 | 79 |
Raymnd | 85 | 89 |
Felix | 83 | 87 |
Beth | 91 | 95 |
Tasha | 84 | 87 |
Emily | 70 | 74 |
Doris | 84 | 88 |
Xao | 83 | 96 |
1. Use ggplot R coding to create a scatterplot in order to investigate if there is a linear relationship between MidtermScore and FinalExamScore. Let MidtermScore be designated x and FinalExamScore be designated y.
2. Use R coding to find the correlation coefficient. Also, using two or three sentences, comment on the strength and the direction of the scatter plot. Would it be appropriate to apply a linear regression model to this data set?
3. Use R coding to find the coefficients of the Linear Regression Equation. Write the Linear Regression (Least Squares Regression) equation.
4. Write an interpretation of the slope for the equation from problem 3.
5. Use R coding to produce the output table that gives the p values for each coefficient, the t values for each coefficient, the Standard error for each coefficient , and the Multiple-R Squared value.
6. Interpret the p values for each estimate in the table that you produced from problem 4. Also interpret the Multiple-R Squared value in the table.
7. Use your equation from problem 3 to predict a Final Exam Score given a Midterm Score of 87.
8. Find the residual for the observational score of 80 and determine if that score is above or below average.