Subject: ICSE Class 9 Mathematics Chapter: Statistics Topic: 5.5 Variables and Frequency – Understand discrete continuous variables and frequency
Every statistical investigation begins with a variable, which is a quantity that can take different values from one observation to another, and with frequency, which tells us how often each value occurs. The whole of statistics is essentially the study of variables through the frequencies of their values. In the ICSE Class 9 syllabus, this section sharpens the ideas introduced in the earlier sections: the student must be able to recognise whether a variable is discrete or continuous, and must understand exactly what frequency means and how it is used. These two ideas, variable and frequency, are the building blocks of every table, formula and diagram that appears in the remaining part of the chapter.
The variable in a statistical problem can be anything that changes, such as the marks of students, the heights of plants, the number of children in families or the number of goals scored in a match. When we collect the values of a variable, we obtain data, and when we count how many times each value occurs, we obtain the frequencies. The variable decides what kind of arithmetic we can do; for example, we can add and average marks and heights, but we cannot meaningfully average the eye colour of a class. Understanding the nature of the variable is therefore the first step towards choosing the correct statistical method.
In this chapter we study the two types of variables, discrete and continuous, in detail with many examples, and we study the concept of frequency, including frequency distributions and the important properties of frequencies such as their sum being equal to the total number of observations. We also see how continuous variables are handled in grouped tables through class intervals, and how discrete variables are usually kept ungrouped. By the end of this section the student should be able to identify the type of any given variable at a glance and interpret any frequency distribution correctly.
A discrete variable is a variable whose values are obtained by counting and which can take only certain distinct values, usually whole numbers. For example, the number of students in a class can be 35 or 36 but never 35.5, the number of children in a family can be 1 or 2 but never 2.7, and the number of goals scored in a match is always a whole number. A discrete variable changes by jumps; between any two of its values there is a gap in which the variable can take no value. This is the defining characteristic of a discrete variable.
Discrete variables arise in situations where we count objects or events, and this is why their values are usually whole numbers. Examples include the number of cars in a parking lot, the number of books on a shelf, the number of students absent on a given day and the number of heads obtained when a coin is tossed ten times. Because the values are distinct and few in number, discrete data is often presented in an ungrouped frequency table in which each separate value is listed with its frequency, as long as the number of distinct values is not too large.
For a discrete variable, the frequency distribution can be written directly value by value. For example, if a die is rolled twenty times and the results are 1, 3, 2, 1, 5, 6, 3, 1, 4, 2, 5, 3, 6, 1, 2, 4, 3, 5, 1, 2, then the values 1 to 6 can each be listed with their frequencies. This ungrouped presentation is possible precisely because a discrete variable takes only a limited set of separate values, so every value can be shown individually.
A continuous variable is a variable whose values are obtained by measuring and which can take any value within a given range. For example, the height of a student could be 150 cm, 152.4 cm or 150.37 cm, the weight of a bag of rice can be any value within a range, and the temperature of a city on a day can take any value between its highest and lowest points. A continuous variable changes continuously; between any two of its values there are infinitely many other possible values, so there is no gap in which the variable cannot take a value.
Continuous variables arise from measurement, and their values are approximate, depending on the accuracy of the measuring instrument. Examples include height, weight, temperature, time, distance, rainfall and the speed of a vehicle. Because a continuous variable can take infinitely many values, it is impossible to list every value in a frequency table, so continuous data is always presented in grouped form using class intervals. For example, instead of listing every possible height, we group heights into classes such as 140 to 145 cm, 146 to 150 cm and so on.
The distinction between discrete and continuous variables is one of the most frequently tested ideas in the ICSE statistics paper. The examiner may give a mixed list of quantities and ask which are discrete and which are continuous, or may ask why continuous data must be grouped. The safe method is to ask one question about each quantity: is it counted or is it measured? If it is counted, it is discrete; if it is measured, it is continuous. This single test resolves almost every confusion.
Frequency is the number of times a particular value of a variable occurs in the given data. If the value 7 occurs four times in a data set, we say that the frequency of 7 is 4. Frequency is always a whole number, and it can never be negative, because it is a count. The table that shows the values of the variable together with their frequencies is called a frequency distribution, and it is the most compact way of presenting a data set, because it reduces many repeated observations into a single table.
The frequencies of a distribution satisfy important properties. The sum of all the frequencies is always equal to the total number of observations n, because each observation contributes exactly one count to its value. The frequency of any value is never greater than the total number of observations, and the value with the highest frequency is called the mode, which will be studied in a later class. The frequency of a class in a grouped table is the number of observations lying in that class.
Frequency is used in almost every formula of this chapter. The mean of grouped data is found by multiplying each class mark by its frequency and dividing by the sum of frequencies, and the median is located using cumulative frequencies, which are obtained by adding the frequencies step by step. A clear understanding of frequency as a count, and of the fact that the sum of frequencies equals n, is therefore necessary for every numerical calculation in the statistics unit.
Example 1: Classify the following variables as discrete or continuous: (a) number of students in a school; (b) weight of a student; (c) number of pages in a book; (d) time taken to run a race.
Solution: The number of students and the number of pages are obtained by counting, so they are discrete variables. The weight of a student and the time taken to run a race are obtained by measuring, so they are continuous variables. Hence (a) and (c) are discrete while (b) and (d) are continuous.
Example 2: The marks scored by 12 students are 4, 6, 5, 4, 7, 6, 4, 5, 6, 6, 7, 5. Construct the frequency distribution and find the sum of the frequencies.
Solution: The values 4, 5, 6 and 7 occur in the data. Counting, the value 4 occurs three times, the value 5 occurs three times, the value 6 occurs four times and the value 7 occurs two times. The frequency distribution has the values 4, 5, 6, 7 with frequencies 3, 3, 4 and 2. The sum of the frequencies is 3 plus 3 plus 4 plus 2, which equals 12, and this matches the number of students, confirming the distribution is correct.
| Feature | Discrete variable | Continuous variable |
|---|---|---|
| Obtained by | Counting | Measuring |
| Values | Only distinct, usually whole | Any value in a range |
| Example | Number of students | Height of a student |
| Presentation | Often ungrouped table | Always grouped classes |
| Change | Changes by jumps | Changes continuously |
| Property | Statement | Example |
|---|---|---|
| Whole number | Frequency is always a count | Frequency 4, never 4.5 |
| Sum equals n | Total of all frequencies is n | 3 + 3 + 4 + 2 = 12 |
| Mode link | Highest frequency gives mode | Value 6 has frequency 4 |
| Non-negative | Frequency is never negative | 0 or more |
flowchart TD
A[Variables and Frequency] --> B[Variables]
A --> C[Frequency]
B --> D[Discrete variable]
B --> E[Continuous variable]
D --> D1[Counting, whole numbers]
D --> D2[Example: number of students]
E --> E1[Measuring, any value]
E --> E2[Example: height, weight]
C --> C1[Count of occurrence of a value]
C --> C2[Sum of frequencies = n]
C --> C3[Frequency distribution table]
C --> C4[Highest frequency gives mode]
The first diagram compares discrete and continuous variables, and the second shows a frequency distribution with the mode marked at the highest frequency.
This section has clarified the two fundamental ideas on which all of statistics stands, the variable and the frequency. We have seen that a discrete variable is obtained by counting and takes only distinct values, usually whole numbers, while a continuous variable is obtained by measuring and can take any value within a range, and that this difference decides how the data is presented: discrete data often ungrouped, continuous data always grouped into classes. We have also studied frequency as the number of times a value occurs, its essential properties, especially the fact that the sum of all frequencies equals the total number of observations, and the frequency distribution table in which values and frequencies are arranged together. These ideas will be used constantly in the rest of the chapter. The frequency distribution is the starting point for calculating the mean, the cumulative frequencies built from it locate the median, and the class marks derived from its classes are used to draw the frequency polygon. A student who can classify variables instantly and interpret frequencies correctly will find every remaining section of the statistics unit straightforward and highly scoring.