One-variable descriptive statistics
An election poll, the average house price in your neighbourhood, youth unemployment by region: economics and the social sciences run on data. Before giving an opinion about data, you need to know how to summarise it properly, with the right numbers, and to know what happens to those numbers when the data change. That is one-variable descriptive statistics.
Statistical variables: population, sample and types of data
In a study on the use of social networks at a secondary school, the following variables were identified. Classify each of them as qualitative, discrete quantitative, or…
In a study on the use of social networks at a secondary school, the following variables were identified. Classify each of them as qualitative, discrete quantitative, or continuous quantitative:
- a) Favourite social network (TikTok, Instagram, Twitter, etc.).
- b) Number of followers on the main account.
- c) Daily time (in minutes) spent using a mobile phone.
- d) Mobile phone brand (Apple, Samsung, Xiaomi, etc.).
- e) Numerical mark obtained in the last Mathematics exam.
A local council wants to know teenagers' opinions on the city's new skate parks. To do this, it randomly selects $200$ young people aged between $14$ and $18$ who attend…
A local council wants to know teenagers' opinions on the city's new skate parks. To do this, it randomly selects $200$ young people aged between $14$ and $18$ who attend youth centres in different neighbourhoods.
State the population under study and the chosen sample. Do you think the sample is representative if only youth centres are surveyed?
Frequency tables and statistical graphs
A group of $20$ 1st Baccalaureate students were asked how many books they have read for pleasure over the past year. The data obtained are as follows:…
A group of $20$ 1st Baccalaureate students were asked how many books they have read for pleasure over the past year. The data obtained are as follows:
$2, 1, 0, 3, 2, 1, 1, 4, 2, 0, 1, 2, 3, 1, 2, 0, 1, 2, 1, 5$
Organise these data into a frequency table including the absolute frequency ($n_i$), relative frequency ($f_i$) and cumulative absolute frequency ($N_i$).
A survey was conducted on the number of siblings the students in a class have. The cumulative absolute frequency table ($N_i$) is as follows: | No. of siblings ($x_i$) |…
A survey was conducted on the number of siblings the students in a class have. The cumulative absolute frequency table ($N_i$) is as follows:
| No. of siblings ($x_i$) | $N_i$ |
|---|---|
| $0$ | $6$ |
| $1$ | $18$ |
| $2$ | $26$ |
| $3$ | $30$ |
Answer the following questions, giving reasons for your answers:
- a) How many students are only children?
- b) How many students have exactly $2$ siblings?
- c) What is the total number of students in the class?
A retail chain wants to show off its sales and produces two graphs with the same quarterly data: in panel A the vertical axis starts at $0$, and in panel B it is…
A retail chain wants to show off its sales and produces two graphs with the same quarterly data: in panel A the vertical axis starts at $0$, and in panel B it is truncated.
- a) Calculate the actual percentage change in sales between the first and third quarters.
- b) What visual effect does the truncated axis in panel B produce? How does it differ from the impression given by panel A?
- c) Which of the two graphs would you use in an honest report for shareholders? And which version might a competitor use to alarm the market? Justify both answers.
Measures of central tendency: mean, median and mode
The marks obtained by $7$ friends on an Economics project are: $6,5; \quad 8,0; \quad 4,5; \quad 7,0; \quad 9,5; \quad 6,5; \quad 5,0$ Calculate the arithmetic mean…
The marks obtained by $7$ friends on an Economics project are:
$6,5; \quad 8,0; \quad 4,5; \quad 7,0; \quad 9,5; \quad 6,5; \quad 5,0$
Calculate the arithmetic mean ($\bar{x}$) and the median ($Me$) of the marks.
A telephone company measured the duration (in minutes) of 50 calls made during the morning. As it is a continuous variable, the data have been grouped into the following…
A telephone company measured the duration (in minutes) of 50 calls made during the morning. As it is a continuous variable, the data have been grouped into the following intervals:
| Duration (min) | $[0, 5)$ | $[5, 10)$ | $[10, 15)$ | $[15, 20)$ | $[20, 25)$ |
|---|---|---|---|---|---|
| No. of calls | $12$ | $18$ | $10$ | $7$ | $3$ |
- a) Calculate the class midpoint of each interval.
- b) Calculate the arithmetic mean and standard deviation of the call durations.
- c) What percentage of calls last 10 minutes or more?
A study was carried out on the weekly leisure spending of students at a secondary school. The data are presented grouped into equal-width intervals in the following…
A study was carried out on the weekly leisure spending of students at a secondary school. The data are presented grouped into equal-width intervals in the following table, but the absolute frequencies for two middle intervals ($n_2$ and $n_3$) are missing:
| Spending (€) | $x_i$ (Class midpoint) | $n_i$ |
|---|---|---|
| $[0, 20)$ | $10$ | $8$ |
| $[20, 40)$ | $30$ | $n_2$ |
| $[40, 60)$ | $50$ | $n_3$ |
| $[60, 80)$ | $70$ | $12$ |
Given that the sample size is $N = 60$ and the arithmetic mean of spending is $\bar{x} = 44$ €, calculate the values of $n_2$ and $n_3$. Once the table is complete, determine the exact value of the median using linear interpolation.
Measures of position: quartiles and box plot
From the following box plot showing the reaction time (in milliseconds) of a group of people to a visual stimulus: a) Identify the values corresponding to the minimum,…
From the following box plot showing the reaction time (in milliseconds) of a group of people to a visual stimulus:
- a) Identify the values corresponding to the minimum, maximum, $Q_1$, $Q_2$ (median), and $Q_3$, knowing that the scale is linear and the edges of the box are at $210$ and $290$.
- b) Calculate the interquartile range and interpret it.
- c) Can it be stated that $50\%$ of the population has a reaction time greater than the median? Justify your answer.
The figure shows the box-and-whisker plot of the reaction times of a group of simulator pilots. a) Read the minimum, maximum, quartiles, and median from the graph, and…
The figure shows the box-and-whisker plot of the reaction times of a group of simulator pilots.
- a) Read the minimum, maximum, quartiles, and median from the graph, and calculate the range and interquartile range.
- b) Between which two values is the central $50 \%$ of the data concentrated? What percentage of the data lies below $Q_1$?
- c) In view of the position of the median inside the box and the length of the whiskers, does the distribution appear symmetric or skewed? In which direction?
Measures of spread: variance, standard deviation and coefficient of variation
In a small company, the mean monthly salary of the 10 employees is $1450$ € with a standard deviation of $120$ €. Due to good annual results, management decides to apply…
In a small company, the mean monthly salary of the 10 employees is $1450$ € with a standard deviation of $120$ €. Due to good annual results, management decides to apply a linear pay rise to all workers consisting of a fixed amount of $50$ € and a variable amount of $3\%$ on the current basic salary ($y_i = 1,03 \cdot x_i + 50$).
- a) Calculate what the new mean salary of the workforce will be.
- b) Calculate the new standard deviation.
- c) Has the coefficient of variation changed? Justify mathematically how these transformations affect the relative dispersion.
We want to compare the consistency of set menu prices in two different areas of a city. The data obtained (in euros) are: Area A: $12, 13, 12, 15, 14, 12, 16, 11$ Area…
We want to compare the consistency of set menu prices in two different areas of a city. The data obtained (in euros) are:
-
Area A: $12, 13, 12, 15, 14, 12, 16, 11$
-
Area B: $9, 10, 18, 15, 11, 14, 10, 21$
- a) Calculate the mean and standard deviation of the prices in each area.
- b) In which area are the prices more dispersed in absolute terms (standard deviation)?
- c) In which area are the prices more heterogeneous in relative terms? Use the coefficient of variation to compare both distributions.
A nutritionist analyzes the sugar content (in grams per 100 ml) of two brands of "zero" soft drinks, A and B. The results are summarized in the following box plots. Read…
A nutritionist analyzes the sugar content (in grams per 100 ml) of two brands of "zero" soft drinks, A and B. The results are summarized in the following box plots. Read the values from the scale of the horizontal axis.
Looking at the graphs:
- a) Which of the two brands has a more spread-out distribution in the middle $50\%$ of its data? Justify your answer by calculating the interquartile range of each brand from the scale of the graph.
- b) If brand A has a mean of $0,5$ g and brand B a mean of $0,8$ g, and both have identical standard deviations, which of the two is more "reliable" or consistent in its production? Use the appropriate statistical parameter to compare both brands.
What happens if we change the data: errors, new data and scales
In a prestigious esports academy, the analyst team is studying the reaction time (in milliseconds) of 50 professional players. Upon reviewing the final report, they…
In a prestigious esports academy, the analyst team is studying the reaction time (in milliseconds) of 50 professional players. Upon reviewing the final report, they realise that a coffee stain has smudged part of the frequency table records. Only the following data remain: the arithmetic mean of the distribution is $\bar{x} = 182$ ms, the standard deviation is $\sigma = 12$ ms, and it is known that reaction time follows an approximately symmetric distribution. If a new player is added whose reaction time is $160$ ms, reason mathematically how the coefficient of variation of the original sample will change, and determine the exact value of the new variance after including this data point.
A set of 10 numerical data points has a mean of $\bar{x} = 15$ and a variance of $s^2 = 20$. Due to a transcription error, one of the data points which was $12$ was…
A set of 10 numerical data points has a mean of $\bar{x} = 15$ and a variance of $s^2 = 20$. Due to a transcription error, one of the data points which was $12$ was recorded as $22$.
- a) Calculate the true mean of the dataset after correcting the error.
- b) Calculate the exact value of the true variance of the set. (Hint: Use the relationship between the variance and the sum of the squares of the data, $\sum x_i^2$).
The waiting times (in minutes) of $15$ patients at a health centre were: $5, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, 15, 16, 18, 42$. a) Calculate the median and the lower…
The waiting times (in minutes) of $15$ patients at a health centre were: $5, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, 15, 16, 18, 42$.
- a) Calculate the median and the lower and upper quartiles.
- b) Draw the corresponding box-and-whisker plot, indicating the values used.
- c) Apply the $1,5$ times interquartile range rule to decide whether there are any outliers, and interpret what that data point might represent in the real context of the health centre.
You can do it on paper and send a photo with your answer.
From a sample to a decision: journeys to school
The question is: "Do we need to organise a wider data collection before proposing walking routes?". The population is the students at the school; each student is a unit. The variables are distance to school (km) and journey time (min). Selecting only those who arrive first or who respond voluntarily can bias the results.
In simple random sampling without replacement, all samples of size n are equally likely; in stratified sampling, a draw is made within each year group, with a quota proportional to its size. The observed mean and proportion are point estimates of population parameters, subject to sampling error. For a real investigation, select students at random from all year groups, also record how many do not respond, and work without names or addresses. The sample must allow us to describe the target population: five people are not enough to justify a measure for the whole school. We will practise with these fictitious data, not with a real survey:
| Distancia (km) | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Tiempo (min) | 12 | 13 | 15 | 14 | 16 |
Reasoned decision: these data are useful for practising the analysis; before proposing routes we need a larger sample and data on the means of transport and the safety of the routes. Hand in a table, a graph, the parameters with units and a conclusion that states who it refers to and what cannot be concluded. Compare the conclusion if the sample included only bus users.
Check on the graph how the data lie on both sides of the fitted line (axes truncated):
Working as a team and reviewing errors
In groups, rotate the roles of sample selection, calculation, review and communication. Before seeing the results, each person writes down their prediction. If two calculations disagree, reproduce one row together and check the units and denominators; criticise the procedure, not the person. When you get stuck, note which part you understand, split up the task and ask for a specific hint. At the end, each member records one error they corrected, the strategy that helped them, and a contribution from a teammate that changed their conclusion. Reviewing and perseverance are part of mathematical work.
Back to the start: When you read about the "average" price of housing or salaries in your neighbourhood, be suspicious if they use only the mean: a few luxury villas or sky-high salaries inflate it completely; the median and the interquartile range reflect much better what most people experience.