\(~\)

Problem 1: a. Calculate the mean, median, first quartile and 3rd quartile.

5.501

The mean weight of tea bags is 5.501 grams. The computed mean weight from the sample minimally differs from the labeled weight of a tea bag which is 5 grams.

\(~\)

5.515

The median weight of tea bags is 5.515 grams. The median weight of tea bags is greater than the mean weight computed as well as the labeled weight of 5 grams.

\(~\)

25%
5.44
75%
5.57

The first quartile is 5.44 grams while the third quartile is 5.57 grams.

\(~\)

  1. Calculate the variance, standard deviation, and coefficient of variation.

0.0112

The variance is 0.0112 squared.

0.1058

The standard deviation is 0.1058 grams.

## [1] 1.92%

The Coefficient of variation is 1.92%.

\(~\)

  1. Why should the company be concerned about the central tendency and variation measures?

The company should be concerned with the measures of central tendency and variation in order to monitor the production process and make necessary adjustments should there be problems as indicated by these measures.

\(~\)

  1. Boxplot of data

The boxplot shows that there is some degree of skewness of the data. Particularly, it can be seen that the data is skewed to the right where a greater number of lower values have higher frequencies.

\(~\)

  1. Based on the sample data, it can be seen that the company somehow meets the requirement set forth regarding the weight of tea bags as presented on the label. The labeled weight is 5.5 grams while the computed mean weight is 5.501 grams. The computed median, on the other hand, is 5.515 grams.

\(~\)

Problem 2: Rosner’s Test on Data

## Warning in pander.default(ros.out): No pander.method for "gofOutlier", reverting
## to default.

The Rosner’s Test shows that there are no significant outliers in the data.

\(~\)

Problem 3:

  1. Compute for the mean, standard deviation, and coefficient of variation for each group. Interpret these measures.

_43.7__30.32__16.93__7.128_

  [1] 38.74%
  [1] 23.51%

The mean time it takes for smokers to fall asleep is 43.7 minutes, while it takes the nonsmokers only 30.32 minutes.

The standard deviation for smokers is greater than that of nonsmokers where we have 16.93 and 7.128 minutes for smokers and nonsmokers respectively.

The data for nonsmokers is less variable as indicated by the coefficient of variation of 23.51% as compared to a CV value of 38.74% for smokers.

\(~\)

  1. Comment on what kind of impact smoking appears to have on the time required to fall sleep.

Smoking appears to prolong the time required to fall asleep.