Ripetizioni di Analisi
EN

Theory

Averages, tables, and graphs

How to count and summarize data using frequencies, the mean, the median, the mode, and measures of variability. How the mean changes when a value is added or removed, and how to read two-way tables, bar charts, histograms, pie charts, and line graphs.

On this page
  1. Data and frequencies
  2. Arithmetic mean and weighted mean

Data and frequencies

1. Data and variables

A statistical study collects information about a group of people or objects called a population. The characteristic observed for each member is called a variable, and the value observed is a data value, or a category for categorical data. A variable is quantitative if its values are numbers, such as age or household size, and qualitative if its values are labels, such as favorite color or level of education. This distinction has a practical consequence. The mean can be calculated only for a quantitative variable, while the mode can be found for either type.

2. Absolute frequency

The absolute frequency of a value is the number of times it occurs. The frequencies can be recorded in a table, and their sum is the total number of observations. In a survey of households, the number of people in each household was recorded:

Household sizeTotal
Households

The absolute frequency of the value is , meaning that households have three members. As a check, .

3. Relative frequency and percentage frequency

The relative frequency of a value is the ratio of its absolute frequency to the total :

Multiplying this ratio by gives the percentage frequency. Relative frequencies allow us to compare groups of different sizes. In the household table, the value has relative frequency , or . The value has relative frequency , or . The relative frequencies of all the values add up to , and their percentage frequencies add up to .

4. Cumulative frequencies

For a quantitative variable, the cumulative frequency of a value is the sum of the frequencies of that value and all smaller values. It answers questions such as “How many have at most this many?” For the households, the cumulative frequencies are

Thus of the households, or , have at most three members. The remaining households, , have at least four members.

x F 123456736912151821 O 611151820
Cumulative frequency for the households as a function of household size . At each size, the cumulative frequency increases by the frequency of that size

Arithmetic mean and weighted mean

1. Arithmetic mean

The arithmetic mean of numbers is their sum divided by :

The mean is the value each observation would have if they all had the same value and their sum stayed the same. The scores , , , , , and add up to , so their mean is . Six scores all equal to have the same sum, . The mean always lies between the smallest and largest values, which provides an initial check on the result.

i voto 123456712345678910 O mean 7
The six scores , , , , , and and their mean . The portions of the bars above the dashed line balance the shortfalls below it

2. Weighted mean

When the values do not all have the same importance, assign each value a weight and calculate the weighted mean

Divide by the sum of the weights rather than the number of observations. A student passed four exams with grades of , , , and , worth , , , and credits, respectively. The credit-weighted mean is

The weighted mean can also be used for data in a frequency table, in which case the frequencies are the weights.

Finding the mean from a frequency table

In the table of households, multiply each household size by its frequency:

The mean household size is therefore people. The mean of a variable that takes only integer values can be a decimal because it describes the group as a whole rather than an individual household.

Warning

The mean of two groups combined is generally not the simple mean of the group means. In a class of students the mean is , and in another class of students the mean is . The mean for all students is the weighted mean with weights and :

For these two means, their simple mean, , would be correct only if the groups were the same size. The overall mean is closer to the mean of the larger group.

End of the free preview

The theory of this topic continues with 7 more sections

  1. Median and mode
  2. How the mean changes
  3. Measures of variability
  4. Two-way tables
  5. Statistical graphs
  6. Shortcuts for multiple-choice questions
  7. Keep studying

Full access also includes the other 5 worked examples of this topic and the solutions of the 14 practice exercises.

Unlock Maths for exams · €29

Read the first 3 worked examples in this chapter for free.

Report a mistake

Where:

Ripetizioni di Analisi

Keep studying

With a free account, you can pick up where you left off and see your progress next time you visit.

Sign up for free

Already have an account? Sign in

Contents