Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

### 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions