Mathematics (Grade 12 Sociology and Economics, Lebanon) · Chapter 8 · Tutorial exercise
Least squares affine fit and economic forecast
One- and two-variable statistics: linear regression · A. Tutorials · level 2
Statement
Over consecutive years, a logistics company records the change in the number of parcels handled (in thousands) as a function of the rank of the year :
| Rank of the year | |||||
|---|---|---|---|---|---|
| Number of parcels (in thousands) |
- Calculate the coordinates of the mean point of the scatter plot.
- Calculate the variances and , the covariance and the linear correlation coefficient (to the nearest ). Interpret the value of .
- Determine the slope-intercept equation of the regression line of on by the least squares method.
- Assuming that this trend continues, estimate the number of parcels handled at rank , and determine from which year rank on the annual volume will exceed parcels.
Solution
- With , the means of the marginal series are: The mean point is therefore .
- Let us calculate the means of the squares and of the products: The linear correlation coefficient is therefore: Since is positive and extremely close to , there is a very strong positive linear correlation between and , which fully justifies an affine fit.
- The coefficients of the regression line are: The slope-intercept equation of is therefore .
- Predictions:
- For , the estimate gives thousand parcels (that is, parcels).
- Exceeding parcels corresponds to : The threshold of parcels will therefore be exceeded from the year () on.
Similar exercises
- Using the two regression lines and together solved
- Finding a missing parameter in a bivariate series solved
- Combining two subpopulations: overall mean and variance solved
- Problem: Comparing an affine model and an exponential model solved
- Time series, linear correlation and least squares line solved
The course of the chapter · All the exercises of the chapter