# Problems from Absolute deviation and standard deviation

The height of the students of a class is measured, grouping the results in the following table. Calculate the standard deviation.

 $$x_i$$ $$f_i$$ $$[140, 155)$$ $$147,5$$ $$3$$ $$[155,165)$$ $$160$$ $$6$$ $$[165,175)$$ $$170$$ $$17$$ $$[175,190)$$ $$182,5$$ $$5$$
See development and solution

### Development:

The table is filled in to make easier to calculate the average and the standard deviation:

 $$x_i$$ $$f_i$$ $$x_i f_i$$ $$|x_i-\overline{x}|$$ $$|x_i-\overline{x}|\cdot f_i$$ $$[140, 155)$$ $$147,5$$ $$3$$ $$442,5$$ $$[155,165)$$ $$160$$ $$6$$ $$960$$ $$[165,175)$$ $$170$$ $$17$$ $$2890$$ $$[175,190)$$ $$182,5$$ $$5$$ $$912,5$$ $$5205$$

To be able to fill in the last 2 columns the average is calculated $$\overline{x}=\dfrac{5205}{31}=167,9$$

 $$x_i$$ $$f_i$$ $$x_i f_i$$ $$|x_i-\overline{x}|$$ $$|x_i-\overline{x}|\cdot f_i$$ $$[140, 155)$$ $$147,5$$ $$3$$ $$442,5$$ $$20,4$$ $$61,2$$ $$[155,165)$$ $$160$$ $$6$$ $$960$$ $$7,9$$ $$47,4$$ $$[165,175)$$ $$170$$ $$17$$ $$2890$$ $$2,1$$ $$35,7$$ $$[175,190)$$ $$182,5$$ $$5$$ $$912,5$$ $$14,6$$ $$73$$ $$5205$$ $$217,3$$

The standard deviation is then $$D_{\overline{x}}=\dfrac{217,3}{31}=7,01$$.

### Solution:

With these values, we have $$D_{\overline{x}}=7,01$$

Hide solution and development

Next the results of the handball league are shown. Calculate the total goals of every match. With the obtained result, calculate the absolute deviations of every match.

 Team Team Final Score TEAM A TEAM B $$30-28$$ TEAM C TEAM D $$30-28$$ TEAM E TEAM F $$34-23$$ TEAM G TEAM H $$37-32$$ TEAM I TEAM J $$26-27$$ TEAM K TEAM L $$33-27$$ TEAM M TEAM N $$29-30$$
See development and solution

### Solution:

$$D_{\overline{x}}\simeq 14,35$$

Hide solution and development

In the following table the results of throwing $$20$$ times a dice are shown. Find the standard deviation.

 $$x_i$$ $$f_i$$ $$1$$ $$4$$ $$2$$ $$2$$ $$3$$ $$4$$ $$4$$ $$3$$ $$5$$ $$4$$ $$6$$ $$3$$
See development and solution

### Development:

We add a column to help with the calculation of the average:

 $$x_i$$ $$f_i$$ $$x_i f_i$$ $$1$$ $$4$$ $$4$$ $$2$$ $$2$$ $$4$$ $$3$$ $$4$$ $$12$$ $$4$$ $$3$$ $$12$$ $$5$$ $$4$$ $$20$$ $$6$$ $$3$$ $$18$$ $$70$$

Find then the average $$\overline{x}=\dfrac{70}{20}=3,5$$, and find the two columns that simplify the calculation of the standard deviation:

 $$x_i$$ $$f_i$$ $$x_i f_i$$ $$|x_i-\overline{x}|$$ $$|x_i-\overline{x}|\cdot f_i$$ $$1$$ $$4$$ $$4$$ $$2,5$$ $$10$$ $$2$$ $$2$$ $$4$$ $$1,5$$ $$3$$ $$3$$ $$4$$ $$12$$ $$0,5$$ $$2$$ $$4$$ $$3$$ $$12$$ $$0,5$$ $$1,5$$ $$5$$ $$4$$ $$20$$ $$1,5$$ $$6$$ $$6$$ $$3$$ $$18$$ $$2,5$$ $$7,5$$ $$70$$ $$30$$

The standard deviation is then: $$D_{\overline{x}}=\dfrac{30}{20}=1,5$$.

### Solution:

$$D_{\overline{x}}=1,5$$

Hide solution and development

We throw $$10$$ times a dice, obtaining the following results: $$1, 1, 1, 3, 3, 4, 4, 5, 6, 6$$. Calculate the absolute deviation of each thrown.

See development and solution

### Development:

We must know the average before applying the formula $$D_i=x_i-\overline{x}$$.

To find the average we add up all the terms and divide by the number of throws: $$\overline{x}=\dfrac{1+1+1+3+3+4+4+5+6+6}{10}=\dfrac{34}{10}=3,4$$$Again the deviations are classified in a table, regardless of the frequencies:  Result of the throw $$D_i=x_i-\overline{x}=x_i-3,4$$ $$1$$ $$-2,4$$ $$3$$ $$-0,4$$ $$4$$ $$0,6$$ $$5$$ $$1,6$$ $$6$$ $$2,6$$ ### Solution: Taking $$1, 1, 1, 3, 3, 4, 4, 5, 6, 6$$ as samples , we have:  Result of the throw $$D_i$$ $$1$$ $$-2,4$$ $$3$$ $$-0,4$$ $$4$$ $$0,6$$ $$5$$ $$1,6$$ $$6$$ $$2,6$$ Hide solution and development Albert scored $$14$$ points in the basketball match, this supposes an absolute deviation from his team of $$3,2$$ points. His friend Marc scored only $$3$$ points. Calculate: a) The average points of the team. b) The absolute deviation of Marc's scoring with respect to the team average. See development and solution ### Development: a) Applying the formula $$\overline{x}=x_i-D_i=14-3,2=10,8$$$ the average is found.

b) Next, we apply the equation $$D_i=x_i-\overline{x}=3-10,8 = -7,8$$\$ to find the deviation of Marc's scoring with regard to the average.

### Solution:

a) $$\overline{x}=10,8$$

b) $$D_i=-7,8$$

Hide solution and development