Question: ### Problem 6 HW3 RStudio d) e) f) g) The dataset $bf it BodyFat$ gives the percent of weight made up of body fat for
### Problem 6 HW3 RStudio d) e) f) g) 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 ```
d) If one person has a very large abdomen circumference of about 127 cm. Estimate the actual body fat percent for this person as well as the predicted body fat percent.
```{r} # Insert R code here
```
e) Estimate the abdomen circumference for the person with about 40 % body fat. In addition, estimate the residual for this person.
```{r} # Insert R code here
```
f) If Neck 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
```
g) Based on above-obtained results which explanatory variable seems to be the best predictor for the body fat content.
```{r} # Insert R code here
```
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
