Professional Documents
Culture Documents
Linear Regression
Name: Date:
I. Find the model equation for the following data sets using the least-squares regression line
and check the result in the SPSS.
1. The data are the academic performance of the graduate students of BS Chemistry of a
certain university and their performance in the licensure examination.
Model Summary
Adjusted R Std. Error of the
Model R R Square
Square Estimate
1 .957a .916 .906 1.62708
The “R” value represents the simple correlation and is 0.957 (the "R" Column), which indicates a
high degree of correlation. It also indicates the total variation in the dependent variable, that is
91.60%, which is very large.
ANOVAa
Sum of
Model df Mean Square F Sig.
Squares
Regression 231.221 1 231.221 87.340 .000 b
1 Residual 21.179 8 2.647
Total 252.400 9
Here, p < 0.000014, which is less than 0.05, and indicates that, overall, the regression model
statistically significantly predicts the outcome variable (i.e., it is a good fit for the data).
a. 1.5
LE Rating = a + bx
LE Rating = 110.938 + (-12.539) (1.50)
LE Rating = 92.1295 or 92
b. 2.8
LE Rating = a + bx
LE Rating = 110.938 + (-12.539) (2.80)
LE Rating = 75.8288 or 76
c. 2.0
LE Rating = a + bx
LE Rating = 110.938 + (-12.539) (2.0)
LE Rating = 85.86 or 86
2. Let’s assume that you are a small restaurant owner or a very business minded
server/waiter at a nice restaurant. In many restaurant, tips are very important part of a
waiter’s pay. Most of the time the amount of tip is related to the amount of the total bill.
As the waiter or owner, you would like to develop a model that will allow you to make a
prediction about what amount of tip to expect. Therefore one evening, you collect data
for six meals.
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) -.820 3.323 -.247 .817
Total bill in peso .146 .042 .866 3.458 .026
Model Summary
Adjusted R Std. Error of the
Model R R Square
Square Estimate
1 .866a .749 .687 2.74203
a. Predictors: (Constant), Total Bill
The “R” value represents the simple correlation and is 0.866 (the "R" Column), which indicates a
high degree of correlation. It also indicates the total variation in the dependent variable, that is
74.90%, which is very large
ANOVAa
Sum of Mean
Model df F Sig.
Squares Square
Regression 89.925 1 89.925 11.960 .026 b
1 Residual 30.075 4 7.519
Total 120.000 5
The p < 0.026, which is less than 0.05, and indicates that, overall, the regression model
statistically significantly predicts the outcome variable.
Find the tip amount of a waiter with the given total bill:
Find the tip amount of a waiter with the given total bill:
a. 1000
Tip Amount = a + bx
Tip Amount = - 0.820 + 0.146 (1000)
Tip Amount = Php 145.18 or Php 145.00
b. 350
Tip Amount = a + bx
Tip Amount = - 0.820 + 0.146 (350)
Tip Amount = Php 50.28 or Php 50.00
c. 100
Tip Amount = a + bx
Tip Amount = - 0.820 + 0.146 (100)
Tip Amount = Php 13.78 or Php 14.00
3. The data in the table represent the memberships of the students in mathematics club
during the past 5 years. Predict the membership 5 years from now.
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 16.900 3.129 5.401 .012
Number of Years 6.500 .943 .970 6.890 .006
Model Summary
Adjusted R Std. Error of the
Model R R Square
Square Estimate
1 .970a .941 .921 2.98329
The “R” value represents the simple correlation and is 0.970 (the "R" Column), which indicates a
high degree of correlation. It also indicates the total variation in the dependent variable, that is
94.10%, which is very large.
ANOVAa
Sum of Mean
Model df F Sig.
Squares Square
Regression 422.500 1 422.500 47.472 .006b
1 Residual 26.700 3 8.900
Total 449.200 4
Here, p < 0.006, which is less than 0.05, and indicates that, overall, the regression model
statistically significantly predicts the outcome variable.
LE Rating = ax + bx (Years)
LE Rating = 16.900 + 6.500 (5)
LE Rating = 49.4 or 48 memberships 5 years from now.