A simple random sample of eight college freshmen were asked how many hours of sleep they typically got per night. The results were

8.5
7.5
6.5
9
6
24
8.5
8

(a) The data contain an outlier that is clearly a mistake. Eliminate the outlier, then construct a 90% confidence interval for the mean amount of sleep. Round the answers to at least two decimal places.

3 answers

To identify and eliminate the outlier from the data, we can observe that the value "24" is significantly higher than the other values. Hence, we will remove it from the dataset.

The corrected data set after removing the outlier is:

  • 8.5
  • 7.5
  • 6.5
  • 9
  • 6
  • 8.5
  • 8

Step 1: Calculate the Mean and Standard Deviation

  1. Calculate the mean (x¯): x¯=(8.5+7.5+6.5+9+6+8.5+8)7=54.577.7857

  2. Calculate the sample standard deviation (s): s=1n1(xix¯)2 =16((8.57.7857)2+(7.57.7857)2+(6.57.7857)2+(97.7857)2+(67.7857)2+(8.57.7857)2+(87.7857)2)

Calculating the squared differences:

  • (8.57.7857)20.5102
  • (7.57.7857)20.0802
  • (6.57.7857)21.6510
  • (97.7857)21.4596
  • (67.7857)23.1623
  • (8.57.7857)20.5102
  • (87.7857)20.0460

Now sum these squared differences: =0.5102+0.0802+1.6510+1.4596+3.1623+0.5102+0.04607.4195

Now plug into the standard deviation formula: s=7.419561.23661.11

Step 2: Construct the Confidence Interval

We'll use the t-distribution to calculate the 90% confidence interval since the sample size is small (n=7).

  1. Degrees of freedom: df=n1=6

  2. Find the t-value for a 90% confidence interval: Using a t-table, the t-score for df=6 at 90% confidence is approximately t0.05,61.943.

  3. Calculate the margin of error (ME): ME=t×sn=1.943×1.1171.943×1.112.64581.943×0.4190.8134

  4. Construct the confidence interval: Lower Limit=x¯ME7.78570.81346.9723 Upper Limit=x¯+ME7.7857+0.81348.5991

Step 3: Round to Two Decimal Places

Thus, the 90% confidence interval for the mean amount of sleep is approximately: (6.97,8.60)

(b) Leave the outlier in and construct the 90% confidence interval. Round the answers to at least two decimal places.

To construct the 90% confidence interval for the mean amount of sleep including the outlier (24), we'll follow the same steps as before but use the full dataset.

Full Dataset

The dataset including the outlier is:

  • 8.5
  • 7.5
  • 6.5
  • 9
  • 6
  • 24
  • 8.5
  • 8

Step 1: Calculate the Mean and Standard Deviation

  1. Calculate the mean (x¯): x¯=(8.5+7.5+6.5+9+6+24+8.5+8)8=708=8.75

  2. Calculate the sample standard deviation (s): We first calculate the squared differences from the mean:

    s=1n1(xix¯)2

Calculating the squared differences:

  • (8.58.75)20.0625
  • (7.58.75)21.5625
  • (6.58.75)25.0625
  • (98.75)20.0625
  • (68.75)27.5625
  • (248.75)2234.0625
  • (8.58.75)20.0625
  • (88.75)20.5625

Now sum these squared differences: =0.0625+1.5625+5.0625+0.0625+7.5625+234.0625+0.0625+0.5625248.5

Now plug into the standard deviation formula: s=248.5735.55.96

Step 2: Construct the Confidence Interval

We'll use the t-distribution to calculate the 90% confidence interval since the sample size is small (n=8).

  1. Degrees of freedom: df=n1=7

  2. Find the t-value for a 90% confidence interval: Using a t-table, the t-score for df=7 at 90% confidence is approximately t0.05,71.895.

  3. Calculate the margin of error (ME): ME=t×sn=1.895×5.9681.895×5.962.8281.895×2.114.002

  4. Construct the confidence interval: Lower Limit=x¯ME8.754.0024.748 Upper Limit=x¯+ME8.75+4.00212.752

Step 3: Round to Two Decimal Places

Thus, the 90% confidence interval for the mean amount of sleep including the outlier is approximately: (4.75,12.75)