Question: ### Problem 6 HW3 RStudio a) b) d) The dataset $bf it BodyFat$ gives the percent of weight made up of body fat for 100

### Problem 6 HW3 RStudio a) b) d) The dataset $\bf \it BodyFat$ gives the percent of weight made up of body fat for 100 men as well as other variables such as Age, Weight (in pounds), Height (in inches), and circumference (in cm) measurements for the Neck, Chest, Abdomen, Ankle, Biceps, and Wrist.Data from Johnson R., "Fitting percentage of body fat to simple body measurments," Journal of Statistics Education, 1996 have been used to create the dataset.

a) Import the dataset from the textbook website and label it $\it bodyfat$

```{r} it_bodyfat=read.csv("http://www.lock5stat.com/datasets1e/bodyfat.csv") #it_bodyfat ```

b) If weight is used as an explanatory variable and Body Fat as the response variable, compute the correlation between these two variables, and draw the scattered plot along with the least square regression line. Compute the residuals and find the value with the largest positive residual.

```{r} # Insert R code here

```

c) If Abdomen Circumference is used as an explanatory variable and Body Fat as the response variable, compute the correlation between these two variables, and draw the scattered plot along with the least square regression line. Compute the residuals and find the value with the largest positive residual.

```{r} # Insert R code here

```

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 Databases Questions!