Question: 2. Making scatterplots. Use the ggplot2 function to create the four scatterplots given below Add a regression line to each scatterplot [code for first scatterplot

 2. Making scatterplots. Use the ggplot2 function to create the four

2. Making scatterplots. Use the ggplot2 function to create the four scatterplots given below Add a regression line to each scatterplot [code for first scatterplot provided in the template]. Arrange the scatterplots in one figure. a) Make a scatterplot of BetaPlasma (y) on BetaDiet (x) and calculate the correlation coefficient, r. Report the correlation and describe the joint relationship between the two variables. b) Make a scatterplot of In (BetaPlasma (y)) on BetaDiet (x) and calculate the correlation coefficient, r. Report the correlation and describe the joint relationship between the two variables. c) Make a scatterplot of BetaPlasma (y) on In (BetaDiet (x)) and calculate the correlation coefficient, r. Report the correlation and describe the joint relationship between the two variables. d) Make a scatterplot of In (BetaPlasma) on In (BetaDiet) and calculate the correlation coefficient, r. Report the correlation and describe the joint relationship between the two variables. e) Based on your scatterplots and the histograms from Problem 1, do you recommend trying a natural log transformation for either variable or both to better meet assumptions for simple linear regression modeling? Briefly explain

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!