When we look at a scatter graph, we often see that the data points follow a general direction. To show this trend clearly, we draw a straight line called a line of best fit. This line does not have to pass through every single point, and it does not even have to start at the origin $(0,0)$. Instead, it should pass as close as possible to all the points, leaving roughly the same number of points above the line as below it.
Когда мы смотрим на диаграмму рассеяния, мы часто видим, что точки данных следуют в одном общем направлении. Чтобы наглядно показать эту тенденцию, мы проводим прямую линию, которая называется линией тренда (или линией наилучшего соответствия). Эта линия не обязана проходить через каждую точку, и ей даже не нужно начинаться в начале координат $(0,0)$. Вместо этого она должна проходить как можно ближе ко всем точкам, оставляя примерно одинаковое количество точек над линией и под ней.
Before drawing your line of best fit, check the graph for any outliers. An outlier is a single data point that lies far away from the main group of points and does not fit the general pattern. Outliers are often caused by measurement mistakes or unusual events, so you should ignore them when positioning your ruler to draw the line.
Прежде чем проводить линию тренда, проверьте график на наличие выбросов. Выброс — это отдельная точка данных, которая лежит далеко от основной группы точек и не вписывается в общую закономерность. Выбросы часто возникают из-за ошибок измерения или необычных событий, поэтому их следует игнорировать, когда вы прикладываете линейку для построения линии.
The main purpose of a line of best fit is to make estimates or predictions. To estimate a $y$-value from a given $x$-value, find the $x$-value on the horizontal axis, move straight up to the line of best fit, and then move horizontally to read the value on the vertical axis. You can also do the reverse: start on the vertical axis to estimate an $x$-value. Always draw dashed guide lines on your graph to show how you found your estimate.
Главная цель линии тренда — делать оценки или прогнозы. Чтобы оценить значение $y$ по заданному значению $x$, найдите значение $x$ на горизонтальной оси, поднимитесь строго вверх до линии тренда, а затем перейдите горизонтально влево, чтобы прочитать значение на вертикальной оси. Можно сделать и наоборот: начать с вертикальной оси, чтобы оценить значение $x$. Всегда рисуйте пунктирные вспомогательные линии на графике, чтобы показать, как вы получили свою оценку.
When making predictions, we must consider whether our estimate is reliable. Using the line of best fit to predict values inside the range of your given data is called interpolation, and it is usually quite accurate. Using the line to predict values outside the range of your data is called extrapolation. Extrapolation is much less reliable because the trend might change beyond the data you collected. Furthermore, predictions are always more reliable when the original points are clustered tightly around the line rather than widely scattered.
Делая прогнозы, мы должны учитывать, насколько надежна наша оценка. Использование линии тренда для предсказания значений внутри диапазона имеющихся данных называется интерполяцией, и обычно она довольно точна. Использование линии для предсказания значений за пределами диапазона данных называется экстраполяцией. Экстраполяция гораздо менее надежна, так как тенденция может измениться за границами собранных вами данных. Кроме того, прогнозы всегда надежнее, когда исходные точки плотно сгруппированы вокруг линии, а не сильно разбросаны.
Task 1. A straight line of best fit is described by the equation $y = 2x + 5$, where $x$ is the number of hours worked and $y$ is the number of boxes packed. a) Estimate the number of boxes packed in $4\text{ hours}$. b) Estimate the time needed to pack $21\text{ boxes}$. Solution: a) Substitute $x = 4$ into the equation: $$y = 2(4) + 5 = 8 + 5 = 13\text{ boxes}.$$ b) Substitute $y = 21$ into the equation and solve for $x$: $$21 = 2x + 5$$ $$2x = 16 \implies x = 8\text{ hours}.$$
Task 2. A gardener records the age of $7$ apple trees ($x$, in years) and their annual apple yield ($y$, in $\text{kg}$): $(2, 8)$, $(3, 12)$, $(4, 15)$, $(5, 38)$, $(6, 22)$, $(7, 25)$, $(8, 29)$. a) Identify the outlier and give a possible reason for it. b) After ignoring the outlier, a line of best fit passes through $(2, 8)$ and $(8, 29)$. Estimate the yield for a $5\text{-year-old}$ tree. Solution: a) The outlier is $(5, 38)$ because $38\text{ kg}$ is much higher than the trend of the other trees. A possible reason is that the gardener accidentally weighed apples from two trees together or recorded the number incorrectly. b) At $x = 5$, which is halfway between $2$ and $8$, the line of best fit gives a $y$-value halfway between $8$ and $29$: $$y = \frac{8 + 29}{2} = 18.5\text{ kg}.$$
Task 3. Two students, Maya and Leo, test how far a toy car travels ($y$, in $\text{cm}$) depending on the ramp height ($x$, in $\text{cm}$). Both test heights from $5\text{ cm}$ to $25\text{ cm}$. Maya's points all lie within $1\text{ cm}$ of her line of best fit. Leo's points are scattered up to $8\text{ cm}$ away from his line. a) Maya uses her line to estimate the distance for a ramp height of $15\text{ cm}$. Is this interpolation or extrapolation? b) Whose line will give a more reliable estimate for a height of $15\text{ cm}$? Give a reason. Solution: a) It is interpolation because $15\text{ cm}$ is inside the tested range of $5\text{ cm}$ to $25\text{ cm}$. b) Maya's line will give a more reliable estimate because her data points are much closer to the line of best fit, showing a stronger correlation.
Prepare for Thursday, 19 November
A cafe tracks the daily midday temperature ($x$, in $^\circ\text{C}$) and the number of iced teas sold ($y$) over $8$ days: $(16, 12)$, $(18, 17)$, $(20, 21)$, $(22, 26)$, $(24, 9)$, $(25, 32)$, $(28, 38)$, $(30, 43)$. a) Draw a scatter graph for this data on grid paper. b) Circle the outlier on your graph and suggest a practical reason why this data point does not fit the trend. c) Ignoring the outlier, draw a line of best fit and use it to estimate the number of iced teas sold when the temperature is $24^\circ\text{C}$.
A scientist measures the length of a metal spring ($L$, in $\text{cm}$) when different masses ($m$, in $\text{g}$) are hung from it. The masses tested range from $50\text{ g}$ to $300\text{ g}$. a) Using a line of best fit, the scientist estimates the length of the spring for a mass of $180\text{ g}$ and for a mass of $600\text{ g}$. State which estimate is interpolation and which is extrapolation. b) Explain why the estimate for $600\text{ g}$ might be very inaccurate in a real-world experiment.