To write a linear regression equation for the "full service" restaurant, we need to determine the slope and y-intercept.
First, we need to calculate the slope (m) using the formula:
m = (change in y) / (change in x)
For the years 1995 to 2004, the change in x is 9 (2004-1995) and the change in y is 143 - 81 = 62.
So, the slope (m) is:
m = 62 / 9 ≈ 6.889
Next, we need to determine the y-intercept (b). We can choose any point from the data to plug into the equation once we have b.
Let's choose the point (0, 81) for our calculations.
Using the slope-intercept form of the linear regression equation:
y = mx + b
81 = 6.889 * 0 + b
81 = b
So, the y-intercept (b) is 81.
Now we can write the linear regression equation for the "full service" restaurant:
y = 6.889x + 81