The data file on contains responses from survey respondents to a hypothetical survey as to which fruit they prefer from among several choices

profileJacobttyl
IMSQ7Fall20201.pdf

MATH 403 – Intro to Math Stat Quiz #7

(1) The data file Fruit.csv on D2L contains responses from survey respondents to a

hypothetical survey as to which fruit they prefer from among several choices.

a. Use R to create a frequency table of the responses. Include it here.

b. Use R to create a bar chart of the responses. Include it here.

c. Use R to create a pie chart of the responses. Include it here.

(2) The data file PimaIndiansNew.csv on D2L contains observations of medical variables

for a number of variables of medical interest.

a. Create a histogram of the glucose variable. Include it here and describe it in

terms of shape, center, outliers.

b. Create a boxplot of the bmi variable. Include it here and describe it in terms of

shape, center, outliers.

c. Calculate the mean, median and standard deviation of the bmi variable and

include the R output here.