One-Variable Descriptive Statistics
A news story says the "average" home in your town costs $\$640{,}000$. But nobody you know lives in a house that expensive. Is the story lying, or is "average" the wrong number to use? To answer that, you need to know how to summarize data with the right numbers and how those numbers react when the data change. That is what one-variable descriptive statistics is about.
Populations, Samples, and Types of Data
In a study on the use of social networks in a high school, the following variables have been identified. Classify each of them as qualitative, discrete quantitative, or…
In a study on the use of social networks in a high school, the following variables have been identified. Classify each of them as qualitative, discrete quantitative, or continuous quantitative:
- a) Favorite social network (TikTok, Instagram, Twitter, etc.).
- b) Number of followers on the main account.
- c) Daily time (in minutes) spent using the cell phone.
- d) Brand of the mobile device (Apple, Samsung, Xiaomi, etc.).
- e) Numerical score obtained in the last Math exam.
A city council wants to know the opinion of teenagers about the new skate parks in the city. To do this, it randomly selects $200$ young people between $14$ and $18$…
A city council wants to know the opinion of teenagers about the new skate parks in the city. To do this, it randomly selects $200$ young people between $14$ and $18$ years old who attend the youth centers in the different neighborhoods.
Indicate what the population under study is and what the chosen sample is. Do you think the sample is representative if they only ask in the youth centers?
Frequency Tables
A group of $20$ 11th-grade students have been asked how many books they have read for pleasure during the last year. The data obtained are as follows:…
A group of $20$ 11th-grade students have been asked how many books they have read for pleasure during the last 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 that includes the absolute frequency ($n_i$), the relative frequency ($f_i$) and the cumulative absolute frequency ($N_i$).
A survey has been carried out on the number of siblings the students in a class have. The cumulative absolute frequency table ($N_i$) is as follows: | No. of siblings…
A survey has been carried out 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, justifying 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?
Bar Graphs and Pie Charts
Tables are precise, but graphs let you see the shape of the data in one glance.
-
A bar graph shows categorical or discrete data. Bars have gaps between them, and the height of each bar is $n_i$ (or $f_i$).
-
A pie chart (circle graph) shows how a whole splits into parts. A category with relative frequency $f_i$ gets a sector with central angle $f_i \times 360^\circ$.
Observe the following graph representing the favorite sport of a group of students in your grade: From the bar chart: a) What is the mode of this distribution? b) How…
Observe the following graph representing the favorite sport of a group of students in your grade:
From the bar chart:
- a) What is the mode of this distribution?
- b) How many students prefer basketball or swimming in total?
- c) If a total of $30$ students were surveyed, how many chose swimming (knowing that the bar reaches halfway between 4 and 8)?
A music band wants to know in which format their fans prefer to listen to their songs. They have created a pie chart with the results of $400$ surveys: If $10 \%$ of the…
A music band wants to know in which format their fans prefer to listen to their songs. They have created a pie chart with the results of $400$ surveys:
If $10 \%$ of the fans prefer the physical format, $30 \%$ digital download and $60 \%$ streaming:
- a) Calculate the absolute frequency of fans who prefer each format (knowing that $N=400$).
- b) What is the relative frequency ($f_i$) of the streaming format?
A group of researchers has carried out a survey of 40 high school juniors on the number of weekly hours they spend watching content on streaming platforms. The data…
A group of researchers has carried out a survey of 40 high school juniors on the number of weekly hours they spend watching content on streaming platforms. The data collected are as follows:
$12, 15, 10, 8, 12, 14, 20, 18, 15, 12, 10, 9, 14, 15, 12, 18, 22, 15, 12, 10,$
$14, 16, 12, 15, 18, 12, 10, 14, 15, 12, 16, 14, 12, 15, 10, 18, 12, 14, 15, 12$
- a) Classify the statistical variable studied.
- b) Create a frequency table that includes absolute, relative, cumulative, and relative cumulative frequencies.
- c) Represent the data using a bar chart.
Grouped Data and Histograms
When a variable is continuous (time, weight, spending), almost every value is different, so we group the data into class intervals such as $[20, 40)$. The bracket means $20$ is included and $40$ is not.
Histograms with different widths
A histogram is a bar graph for grouped continuous data: the bars touch. If all intervals have the same width, the height is just $n_i$ (or $f_i$). If widths differ, area must represent frequency, so the height is the frequency density.
In a video game competition, the times (in seconds) taken by participants to complete the first level have been recorded. As it is a continuous variable, the data has…
In a video game competition, the times (in seconds) taken by participants to complete the first level have been recorded. As it is a continuous variable, the data has been grouped into intervals:
| Time (s) | Frequency ($n_i$) |
|---|---|
| $[30, 40)$ | $12$ |
| $[40, 50)$ | $25$ |
| $[50, 60)$ | $18$ |
| $[60, 70)$ | $5$ |
Calculate the class midpoints ($x_i$) of each interval and determine the total sample size ($N$).
A telephone company has measured the duration (in minutes) of 50 calls made during the morning. Since it is a continuous variable, the data have been grouped into the…
A telephone company has measured the duration (in minutes) of 50 calls made during the morning. Since 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 midpoint of each interval.
- b) Calculate the arithmetic mean and the standard deviation of the duration of the calls.
- c) What percentage of calls last 10 minutes or more?
A city council analyzes the water consumption per household using a relative frequency histogram. Due to the nature of the data, the intervals have different widths:…
A city council analyzes the water consumption per household using a relative frequency histogram. Due to the nature of the data, the intervals have different widths: $[0, 10)$, $[10, 20)$, $[20, 40)$, and $[40, 70)$ cubic feet per month. The heights of the rectangles of the histogram (frequency density) are $0,03$; $0,04$; $0,015$; and $0,0033$ respectively.
- a) Calculate the relative frequency of each interval.
- b) What is the mean consumption per household in this municipality?
- c) Determine the value of the $80$ percentile and interpret its meaning in the context of water conservation.
Measures of Center: Mean, Median, and Mode
The grades obtained by $7$ friends in an Economics assignment 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 grades obtained by $7$ friends in an Economics assignment 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 grades.
A study has been carried out on the number of children in a sample of families in a neighborhood. Some data from the frequency table have been lost: | No. of children…
A study has been carried out on the number of children in a sample of families in a neighborhood. Some data from the frequency table have been lost:
| No. of children ($x_i$) | $0$ | $1$ | $2$ | $3$ | $4$ |
|---|---|---|---|---|---|
| Absolute freq. ($n_i$) | $8$ | $a$ | $12$ | $b$ | $2$ |
| Relative freq. ($f_i$) | $0,20$ | $0,35$ | $c$ | $d$ | $0,05$ |
- a) Find the sample size ($N$).
- b) Calculate the values of $a, b, c$ and $d$ to complete the table.
- c) Determine the mode and the median of the number of children.
A study has been carried out on the weekly leisure spending of students at a high school. The data are presented grouped into intervals of the same width in the…
A study has been carried out on the weekly leisure spending of students at a high school. The data are presented grouped into intervals of the same width in the following table, but the absolute frequencies of two middle intervals ($n_2$ and $n_3$) are missing:
| Spending ($\$$) | $x_i$ (Midpoint) | $n_i$ |
|---|---|---|
| $[0, 20)$ | $10$ | $8$ |
| $[20, 40)$ | $30$ | $n_2$ |
| $[40, 60)$ | $50$ | $n_3$ |
| $[60, 80)$ | $70$ | $12$ |
Knowing that the sample size is $N = 60$ and that the arithmetic mean of the spending is $\$\bar{x} = 44$, calculate the values of $n2$ and $n3$. Once the table is completed, determine the exact value of the median by linear interpolation.
Quartiles, Percentiles, and Box Plots
Box plots and outliers
A box plot (box-and-whisker plot) draws a box from $Q_1$ to $Q_3$, a line at the median, and whiskers out to the smallest and largest values that are not outliers. Each of the four pieces (whisker, left of the median, right of the median, whisker) holds about $25\%$ of the data.
Reading and comparing box plots
When a problem gives you a box plot and no list of data, the picture is the data. Follow each edge of the box, each whisker end, and the median line straight down to the number line, and read the value there. If an edge falls between two tick marks, estimate with the scale. Then you can find the range, the $IQR$, and compare two groups.
An entrance exam for a vocational program has been held and the scores obtained by the candidates are summarized in the following cumulative frequency table: | Score…
An entrance exam for a vocational program has been held and the scores obtained by the candidates are summarized in the following cumulative frequency table:
| Score ($x_i$) | $3$ | $4$ | $5$ | $6$ | $7$ | $8$ | $9$ |
|---|---|---|---|---|---|---|---|
| Cumulative Freq. ($N_i$) | $4$ | $10$ | $25$ | $42$ | $56$ | $64$ | $70$ |
- a) How many students took the exam?
- b) Calculate the median, the first quartile and the third quartile. Explain the meaning of the third quartile in this context.
- c) Calculate the 40th percentile ($P_{40}$) and interpret it.
From the following box plot representing the reaction time (in milliseconds) of a group of people to a visual stimulus: a) Identify the values corresponding to the…
From the following box plot representing 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 ends 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 the answer.
In an archery competition, the scores of two archers, Emily and Sophia, are recorded after 40 shots. Emily has a mean score of $8,2$ with a standard deviation of $1,3$.…
In an archery competition, the scores of two archers, Emily and Sophia, are recorded after 40 shots. Emily has a mean score of $8,2$ with a standard deviation of $1,3$. Sophia presents the following cumulative frequencies of her scores: $25\%$ of her shots were $7$ points or less, $50\%$ were $8$ points or less, and $75\%$ were $9$ points or less.
- a) Assuming Sophia's scores follow an approximately normal distribution (for which $\sigma \approx \frac{IQR}{1,35}$), determine with reasoning which of the two archers is more consistent.
- b) If winning a tournament requires that at least $30\%$ of the shots have a score of $10$, and we know that Emily has obtained a $10$ on $12$ occasions, does Emily meet the requirement? Can it be known if Sophia meets it with the data from her quartiles?
Measures of Spread: Standard Deviation and Coefficient of Variation
Two classes can both have a mean of $80$ on a test and still be very different: in one everyone scored near $80$, in the other scores ranged from $50$ to $100$. Spread measures that difference.
Two basketball players, Ashley and Brandon, have scored the following amounts of points in their last 8 games: Ashley: $18, 22, 15, 20, 25, 14, 19, 23$ Brandon:…
Two basketball players, Ashley and Brandon, have scored the following amounts of points in their last 8 games:
-
Ashley: $18, 22, 15, 20, 25, 14, 19, 23$
-
Brandon: $20, 21, 19, 22, 20, 20, 21, 17$
- a) Calculate the mean and the range of points for each player.
- b) Calculate the standard deviation of both.
- c) Use the coefficient of variation to determine which of the two players is more consistent in their scoring. Justify your answer.
We want to compare the homogeneity of the prices of lunch specials in two different areas of a city. The data obtained (in dollars) are: Area A:…
We want to compare the homogeneity of the prices of lunch specials in two different areas of a city. The data obtained (in dollars) 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 the 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 fl oz) of two brands of "zero" soft drinks, A and B. The results are summarized in the following box plots.…
A nutritionist analyzes the sugar content (in grams per 100 fl oz) of two brands of "zero" soft drinks, A and B. The results are summarized in the following box plots. Observing the graphs:
- a) Which of the two brands presents a more dispersed distribution in the central $50\%$ of its data? Justify your answer by calculating the interquartile range visually.
- b) If brand A presents 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 constant in its production? Use the appropriate statistical parameter to compare both brands.
Linear Transformations of Data
What happens to the mean and standard deviation when every data value is changed by the same rule, like a raise, a unit conversion, or a pricing formula?
In a small company, the mean salary of the 10 employees is $\$1450$ per month with a standard deviation of $\$120$. Due to the good results of the year, the management…
In a small company, the mean salary of the 10 employees is $\$1450$ per month with a standard deviation of $\$120$. Due to the good results of the year, the management decides to apply a linear increase to all workers consisting of a fixed part of $\$50$ and a variable part of $3\%$ on the current base salary ($yi = 1,03 \cdot xi + 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.
A courier company uses electric vans for its deliveries. The monthly maintenance cost $C$ per van depends on the number of miles driven $x$ according to the linear…
A courier company uses electric vans for its deliveries. The monthly maintenance cost $C$ per van depends on the number of miles driven $x$ according to the linear function $C(x) = 0,15x + 40$. In the last month, the mean mileage of its fleet of 25 vans was $1200$ miles with a variance of $14400$ miles$^2$.
- a) Calculate the mean monthly maintenance cost and its standard deviation.
- b) Due to a rise in the price of components, the company decides to apply a fixed surcharge of an extra $\$10$ to each van and, in addition, the variable cost per mile increases by $20\%$. What will be the new coefficient of variation of the maintenance costs?
An investor analyzes the daily return of two crypto assets over a month ($30$ days). Asset $X$ has a mean return of $2\%$ and a variance of $9\%$. Asset $Y$ has a daily…
An investor analyzes the daily return of two crypto assets over a month ($30$ days). Asset $X$ has a mean return of $2\%$ and a variance of $9\%$. Asset $Y$ has a daily return that can be summarised as follows: for $10$ days it lost $1\%$, for $15$ days it gained $3\%$ and for $5$ days it gained $5\%$.
- a) Calculate the mean return and the standard deviation of asset $Y$.
- b) Using the coefficient of variation, determine which of the two assets is more volatile (less predictable).
- c) If the investor decides to create a combined portfolio with $60\%$ of the capital in asset $X$ and $40\%$ in asset $Y$, what would be the expected mean return of the portfolio?
Adding or Correcting Data
Sometimes you know $\bar{x}$ and $\sigma$ but not the original list, and then a value is added, removed, or fixed. Rebuild the two sums that the formulas use.
In a prestigious esports academy, the team of analysts studies the reaction time (in milliseconds) of 50 professional players. When reviewing the final report, they…
In a prestigious esports academy, the team of analysts studies the reaction time (in milliseconds) of 50 professional players. When reviewing the final report, they realize that a coffee stain has erased part of the records in the frequency table. Only the following data are preserved: the arithmetic mean of the distribution is $\bar{x} = 182$ ms, the standard deviation is $\sigma = 12$ ms, and it is known that the reaction time follows an approximately symmetric distribution. If it is decided to add a new player whose reaction time is $160$ ms, reason mathematically how the coefficient of variation of the original sample will vary and determine the exact value of the new variance after the addition of these data.
A series of 10 numerical data is available whose mean is $\bar{x} = 15$ and whose variance is $s^2 = 20$. Due to a transcription error, one of the data values which was…
A series of 10 numerical data is available whose mean is $\bar{x} = 15$ and whose variance is $s^2 = 20$. Due to a transcription error, one of the data values which was a $12$ was recorded as a $22$.
- a) Calculate the true mean of the data set 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$).
Back to the start: When a story reports the "average" home price in your town, ask whether it is a mean or a median. A few mansions can drag the mean far above what most families pay, while the median and the IQR describe what the typical home really costs.