Question 7: Draw a correlation plot showing all pairwise associations among the following variables: attend, termGPA, priGPA
Question:
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7bed8365_1026668e7beb1f10.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7bf2a4a9_1036668e7bf1d5c9.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7bf78c67_1036668e7bf554e2.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7bfc3b67_1036668e7bfb1c15.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c014c25_1046668e7c003e6a.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c0660cd_1046668e7c052c5d.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c0b8d08_1046668e7c0a2f30.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c12995f_1046668e7c0ee76e.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c1894d7_1056668e7c166364.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c1dd299_1056668e7c1c19b9.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c2268fa_1066668e7c216c9c.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c26f537_1066668e7c251ba6.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c2df270_1066668e7c2af9c0.jpg)
Question 7: Draw a correlation plot showing all pairwise associations among the following variables: "attend", "termGPA", "priGPA" and "ACT". Next, add the variables "final" ,"atndrte" and "hwrte" to a correlation plot. Which pair of variables has the highest positive correlation? What is the correlation statistic? Does it make sense? why or why not. Which sets of variables have the next highest correlation? The correlations among variables give us some insights as to what students should do to improve their GPA (termGPA and priGPA). Accoridng to the data, between attendance rate ("atndrte") and the rate of homework turned in ("hwrte"), which is more effective way to improve GPA's? (note you don't need to test differences in correlations; use eyeballing). ## Question 8: scatter plot with a linear regression line for the variables "priGPA" and "termGPA". Draw a separate regression line for sophomore and non-sophomore group and compare the slope of the line. Assign "plot" to the chart created. What can you tell about the strengths of the relationships between priGPA and termGPA? Hint: to introduce a third variable (moderator) to the scatter plot of x and y, you can add "color = factor(soph)". You may also use facet. No one can remember everything, so you should utilize help() function in RStudio as often as you need to solve a problem. You can also google what you are looking for. ## Question 9: Use the function "ggplotly()" and pass the "plot" through it. Move your cursor over the plots to feel the interactiveness. Also, label your plot with the variable "soph". ## Question 10: Save your plot created in Question 8 as an image file with the following name: "myplot.png".
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c351ce6_1076668e7c336b97.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c39aac8_1076668e7c383463.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c3df6a5_1076668e7c3cf14d.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c42e5c0_1086668e7c41e2c1.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c47fc6a_1086668e7c45df8c.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c4ba4d7_1086668e7c4ab563.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c50ffac_1086668e7c4efa1d.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c571c22_1096668e7c553b1a.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c5c6441_1096668e7c5b408c.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c616e35_1106668e7c607431.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c65a548_1106668e7c647e58.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c6b9b68_1106668e7c69a9da.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/06/6668e7c72f4ef_1116668e7c708748.jpg)