Final answer:
To find the equation of the regression line, we calculate the slope and y-intercept using the given data. Finally, we can write the equation in the form ŷ = mx + b.
Step-by-step explanation:
To find the equation of the regression line, we can use the formula: y = mx + b, where y is the dependent variable, x is the independent variable, m is the slope of the line, and b is the y-intercept. In this case, the temperature (t) is the independent variable and the number of ice creams sold (n) is the dependent variable. Therefore, we need to determine the values of m and b.
To find the slope, m, we can use the formula: m = (Σxy - (Σx)(Σy) / n(Σx^2) - (Σx)^2), where Σ represents the sum of the values. We can calculate the sums and substitute them into the formula. Once we have the value of m, we can find b by substituting the values into the formula: b = (Σy - mΣx) / n.
Once we have the values of m and b, we can write the equation of the regression line as: ŷ = mx + b.