Statistics · real student question

Fifteen participants were measured before and after a treatment. Before: 9.7, 10.8, 16.0, 34.7, 10.9, 45.6, 23.4, 22.9, 17.6, 43.7, 25.4, 17.0, 35.7, 24.7, 36.3. After: 7.8, 8.8, 14.8, 33.2, 9.2, 42.5, 21.8, 21.4, 16.4, 41.5, 22.8, 13.0, 37.8, 26.5, 38.2. Find the mean and sample standard deviation of each set.

Question

Fifteen participants were measured (in per cent) before and after a treatment.

Before: 9.7, 10.8, 16.0, 34.7, 10.9, 45.6, 23.4, 22.9, 17.6, 43.7, 25.4, 17.0, 35.7, 24.7, 36.39.7,\ 10.8,\ 16.0,\ 34.7,\ 10.9,\ 45.6,\ 23.4,\ 22.9,\ 17.6,\ 43.7,\ 25.4,\ 17.0,\ 35.7,\ 24.7,\ 36.3

After: 7.8, 8.8, 14.8, 33.2, 9.2, 42.5, 21.8, 21.4, 16.4, 41.5, 22.8, 13.0, 37.8, 26.5, 38.27.8,\ 8.8,\ 14.8,\ 33.2,\ 9.2,\ 42.5,\ 21.8,\ 21.4,\ 16.4,\ 41.5,\ 22.8,\ 13.0,\ 37.8,\ 26.5,\ 38.2

Find the mean and the sample standard deviation of each set.

Step-by-step solution

  1. Compute the two means from the totals. The before values sum to 374.4374.4 and the after values to 355.7355.7, so with n=15n=15

    xˉbefore=374.415=24.96,xˉafter=355.715=23.713\bar x_{\text{before}}=\frac{374.4}{15}=24.96,\qquad \bar x_{\text{after}}=\frac{355.7}{15}=23.71\overline{3}

    Correction to the printed table: the worksheet lists the before-mean as 24.9924.99, but the fifteen listed values average 24.9624.96. The after-mean of 23.7123.71 does check out. Always re-add the column rather than trusting the printed total.

  2. Choose the sample (n − 1) formula. These fifteen people are a sample from a larger population, so divide the squared deviations by n1=14n-1=14:

    s=(xixˉ)2n1s=\sqrt{\frac{\sum(x_i-\bar x)^{2}}{n-1}}

    Using nn instead would understate the spread — a mistake that has been found repeatedly in worked solutions to this kind of table.

  3. Accumulate the before deviations. With xˉ=24.96\bar x=24.96, the squared deviations run from (9.724.96)2=232.87(9.7-24.96)^2=232.87 down to (24.724.96)2=0.0676(24.7-24.96)^2=0.0676 and up to (45.624.96)2=426.01(45.6-24.96)^2=426.01. Their total is

    (xixˉ)2=1951.816\sum(x_i-\bar x)^{2}=1951.816

  4. Finish the before standard deviation.

    sbefore=1951.81614=139.4154=11.807s_{\text{before}}=\sqrt{\frac{1951.816}{14}}=\sqrt{139.4154}=11.807

  5. Repeat for the after data. With xˉ=23.713\bar x=23.713, the squared deviations total 2119.1972119.197, so

    safter=2119.19714=151.3712=12.303s_{\text{after}}=\sqrt{\frac{2119.197}{14}}=\sqrt{151.3712}=12.303

  6. State and interpret the results.

    xˉbefore=24.96, sbefore=11.81;xˉafter=23.71, safter=12.30\boxed{\bar x_{\text{before}}=24.96,\ s_{\text{before}}=11.81;\qquad \bar x_{\text{after}}=23.71,\ s_{\text{after}}=12.30}

    The mean fell by about 1.251.25 percentage points, but the spread rose slightly, so the treatment did not make the group more uniform. (For reference, the population standard deviations, dividing by 1515, would be 11.4111.41 and 11.8911.89.)

  7. Check with the computational formula. For the before data x=374.4\sum x=374.4 and x2=11296.84\sum x^{2}=11296.84, so x2(x)2n=11296.849345.024=1951.816\sum x^{2}-\tfrac{(\sum x)^2}{n}=11296.84-9345.024=1951.816 — matching the deviation sum found above, which confirms both the mean and the squared-deviation total.

Answer

Before: xˉ=24.96, s=11.81;After: xˉ=23.71, s=12.30\text{Before: }\bar x=24.96,\ s=11.81;\quad\text{After: }\bar x=23.71,\ s=12.30

Need to solve a different problem like this? Open the solver →