BAC 2026 S2 — Mathematics, exercise 2 : Two-variable statistics (mock exam, solved)
Statement
A municipality and a health organization commission a survey on part of the municipal population. The study was carried out on 234 people to investigate the relationship between age $X$ and sleeping time $Y$. The following table was obtained:
Contingency table: the rows correspond to the age classes $X$ and the columns to the sleeping time classes $Y$.
- Columns $Y$ : $[5,7[$, $[7,9[$, $[9,11[$, $[11,15[$.
- Row $X=[1,3[$ : 0, 0, 2, 36.
- Row $X=[3,11[$ : 0, 3, 12, 26.
- Row $X=[11,19[$ : 2, 8, 35, 16.
- Row $X=[19,31[$ : 0, 26, 22, 3.
- Row $X=[31,59[$ : 22, 15, 6, 0.
Instruction: Help the people who commissioned the survey estimate the sleeping time of a 66-year-old person.
Strategy
Use the class centers to replace each interval by one representative value, then compute the least-squares regression line of sleeping time $Y$ on age $X$. Finally, evaluate this line at $X=66$.
Step-by-step solution
1. Choose the class centers
For the age classes, the centers are:
$$[1,3[\to 2,\quad [3,11[\to 7,\quad [11,19[\to 15,\quad [19,31[\to 25,\quad [31,59[\to 45.$$
For the sleeping-time classes, the centers are:
$$[5,7[\to 6,\quad [7,9[\to 8,\quad [9,11[\to 10,\quad [11,15[\to 13.$$
… and 5 more step(s) in the full solution.
🔒 Full solution reserved
Free account: one full past-paper solution per week. Pro: every step-by-step solution, verified by computation, plus timed mock exams.
🔓 Read the full solutionKey concepts
Grouped dataClass centerWeighted meanCovarianceVarianceLeast-squares regressionExtrapolation
Have a similar exercise? Get it solved step by step, for free.
🧮 Solve my exercise