Methods for Describing Sets of Data

Methods for Describing Sets of Data 

The relevant R codes and outputs must be attached for full credit. 

1. The Lamp data set (the sample was collected randomly) contains the lifetimes, in hours, of fifty 40-watt, 110-volt internally frosted incandescent lamps, taken from forced life tests. Use RStudio for all computations. The data set can be found in the excel file Lamp with a variable name Lifetimes. 

Source: Walpole, R.E., Myers, R.H., Myers, S.L., & Ye, K. (2012). Probability & Statistics for Engineers & Scientists. Boston, MA: Pearson.

a) Report sample mean and median of lifetimes. (total 4 points, 2 points each)

b) Report sample standard deviation and IQR (Interquartile range) of lifetimes. 

(total 4 points, 2 points each)

c) Report the mode of the lifetimes. Classify the distribution based on mode. (3+1 = 4 points)

d) Report a five-number summary of the lifetimes in the following table in the order (report one decimal place). (total 7.5 points, 0.5 point each box)