Continuous statistical variable
Course · Mathematics (Grade 11, Lebanon), chapter 19 · Lebanon, Grade 11 · the beginning of the chapter, the rest on Adloun
When we record the height of the individuals of a population, the waiting time at a highway toll booth, the mass of harvested fruit or the monthly electricity consumption of a set of households, the observed quantity can a priori take any real value within an interval: we say that the statistical variable is continuous quantitative. Unlike the discrete case, where a small number of isolated values are repeated many times, the raw measurements of a continuous variable are almost all distinct from one another.
To analyze and summarize such a series efficiently, we group the observations into adjacent intervals called classes . This chapter presents the complete study of a continuous statistical variable: calculating the measures of position and dispersion (modal class by the density, mean, variance and standard deviation using the class midpoints), determining the median and the quartiles from the cumulative frequencies and by linear interpolation, and constructing the graphical representations (histogram, frequency polygon, cumulative polygons and box plot).
Curriculum: LB-1S · LB-1H
Required skills
- Distinguish a continuous quantitative variable from a discrete quantitative variable and group data into classes of width and midpoint .
- Calculate the density of a class, determine the modal class (equal or unequal widths), the mean , the variance and the standard deviation .
- Draw up the table of increasing (ICF) and decreasing (DCF) cumulative frequencies, as well as of cumulative relative frequencies (ICRF and DCRF).
- Determine the median and the quartiles by linear interpolation within their class and by graphical reading on the cumulative polygons.
- Construct and interpret a histogram (with equal or unequal widths), the frequency polygon, the increasing and decreasing cumulative curves (intersecting at ) and a box plot.
19.1 Continuous variable
On a population with total frequency , a statistical variable is said to be quantitative when its values are measurable numbers on which arithmetic operations (sum, mean, difference) make sense. We distinguish two types of quantitative variables:
- A quantitative variable is discrete when it can only take numerical values that are isolated from one another (most often integers: number of children in a household, number of defective parts in a batch, number of goals scored per match).
- A quantitative variable is continuous when it can a priori take any real value in an interval (up to the precision limits of the measuring instrument).
- Physical and industrial measurements: operating time of a battery (in hours), diameter of a metal rod (in millimeters), speed of a vehicle (in ), monthly rainfall (in ).
- Biometric and medical measurements: height of an adult (in centimeters), mass of a newborn (in kilograms), blood glucose level (in ).
- Economic and demographic quantities: monthly income of a household, area of a farm (in hectares), exact age of an inhabitant.
If we measure to the nearest tenth of a second the time taken by runners to cover meters, we obtain almost distinct decimal numbers, each with frequency or . A table keeping each isolated value would be unreadable and would show no overall trend. We then group nearby values within intervals called classes.
19.2 Grouping values into classes
19.2.1 Classes, bounds, widths and midpoints
When the observed values of a continuous variable lie between a minimum value and a maximum value , we divide the interval into adjacent intervals (usually closed on the left and open on the right) called classes:
where , , , . For each class ():
- the real numbers and (with ) are respectively the lower bound and the upper bound of the class ;
- the positive difference is the width of the class ;
- the half-sum is the midpoint of the class .
For every class with midpoint and width , we have the reciprocal relations:
19.2.2 The hypothesis of uniform distribution within each class
Once the raw data have been grouped into classes, we no longer know the exact value of each of the individuals belonging to the class , but only the fact that these values belong to the interval .
Method : Fundamental hypothesis of uniform distribution
In all calculations on a statistical series grouped into classes, we make the hypothesis that the observations of the class are spread uniformly (that is, regularly) over the whole interval . This hypothesis has two major consequences:
- For calculating the mean: by symmetry about the midpoint of the interval, the sum of the observations of the class is equal to , where is the class midpoint: everything happens as if these observations were all equal to . By convention, we also replace each observation by the midpoint of its class to calculate the variance and the standard deviation; we then obtain only approximate values, since the dispersion within each class is neglected.
- For calculating the median and the quartiles: within a class , the cumulative frequency increases affinely (in proportion to the length covered in the interval), which justifies the process of linear interpolation.
Exercises of the chapter
- Series with classes of equal width, mean, König-Huygens formula and affine transformation solved
- Classes of unequal widths, frequency densities, modal class and histogram solved
- Cumulative frequencies, median, quartiles by linear interpolation and box plot solved
- Reading cumulative polygons backward and the frequency of an arbitrary interval solved
- Determining unknown frequencies from , and solved
- Comparing two subpopulations and combining the indicators solved