Final answer:
To find the equation of a line that best fits the given data, use least-squares regression method.
Step-by-step explanation:
To find the equation of a line that best fits the given data, we can use the method of least-squares regression. Here are the steps:
- Plot the given points on a scatter plot.
- Draw a line that appears to best fit the data points.
- Calculate the slope (m) and y-intercept (b) of the line using the least-squares regression formula.
- Write the equation of the line in the form y=mx+b.
Using this method, you can find the equation of the line that best represents the relationship between the average temperature and the heating bill in the given data.