The formula to calculate the predicted Y value is:
\(Y = \beta1 \times X + \beta0\)
Where:
Example 1:
Calculation:
\(Y = 2 \times 10 + 5 = 20 + 5 = 25\)
Example 2:
\(Y = 3 \times 7 + 2 = 21 + 2 = 23\)