Question

# Hellocan you help me with rstudio assignment

1. Suppose a hospital tested the age and body fat data for 18 randomly selected adults with the following results:

age: 23- 23 -27 -27 -39- 41- 47 -49 -50

%fat: 9.5 -26.5 -7.8 -17.8 -31.4- 25.9 - 27.4 -27.2 -31.2

age: 52 - 54 - 54 - 56- 57- 58- 58- 60 - 61

%fat: 34.6 - 42.5 - 28.8- 33.4- 30.2 - 34.1 - 32.9 - 41.2 - 35.7

Use R to answer the following questions. Include your R code with your submission, and plots (where applicable, you can take screenshots) and submit electronically.

(a) Calculate the mean, median and standard deviation of age and %fat.

(b) Draw the boxplots for age and %fat and interpret the results.

(c) Draw a scatter plot and interpret the results.

(d) Check the distribution of these two attributes.

(e) Calculate the correlation between these two attributes. Are these attributes positively or negatively correlated?

(f) Compute their covariance. Interpret the results.

2.    Use the following methods to normalize the following group of data:

200, 300, 400, 600, 1000

(a)  min-max normalization by setting min = 0 and max = 1

(b)  min-max normalization by setting min = -1 and max = 1

(c)  z-score normalization

(d)  normalization by decimal scaling

(e)  Explain why data analysts need to normalize their numeric variables.

Suppose a hospital tested the age and body fat data for 18 randomly selected adults with the following results: 23- 23 -27 -27 -39- 41- 47 -49 -50...

372,107 students got unstuck by Course
Hero in the last week

Our Expert Tutors provide step by step solutions to help you excel in your courses