Professional Documents
Culture Documents
Date: 22/11/2023
Linear Regression
GROUP 3
Group Members
The following table shows the results of a survey investigating the different types of
foods sold in Mongolian restaurants, based on certain criteria.
# Food type Weight (grams) Price ($)
4 Borts 90 2.90
8 Buuz 92 3.40
1. Represent on a graph, the weight (on the x-axis) and the price (on the y-axis)
of the foods surveyed. Is there a relationship between the two variables?
Yes, linear relationship with some few outliers which are not very far from
the estimate as shown by the dotted line.
To calculate β0 + β1.
Price = 3.0148
(price) = β1.(weight) + ε
Price = 0.0188*50
Price =0.94
5. Calculate the:
a. Mean Squared Error (MSE)
b. sum of squares total (SST)
c. sum of squares regression (SSR)
d. sum of squares error (SSE)
e. R2