Math 318, Summer 2021, Garren

Required R Homework #1

due Thursday, May 20, 3 p.m.

Using the data from problem #1.56 on p. 44, use R to do the following:

(A) Enter the data, and label the variable as "alcohol".

(B) Compute the sample mean, sample 10% trimmed mean, sample median, sample standard deviation, sample variance.

(C) Highlight in YELLOW the statistics computed in part (B).

(D) Construct the boxplot. State which observations the boxplot considers to be outliers.

(E) Construct the histogram.

(F) Construct the stem-and-leaf display.

(G) Although you are allowed to receive help from others, list the names of those who helped you and the names of those whom you helped, as well as what type of help was given. If you did not give or receive help, then write, "No help."

(H) Show your R-code and R-output. Turn in all appropriate output from R in the order in which the problems are assigned, including the original data (listed in R) in part (A), source code, and output. Do NOT include coding errors. Submit your homework as a .pdf to Canvas.

Return to Dr. Garren's home page.