You are on page 1of 4

Assignment 10

Linear Regression

Name: Date:

Section: BS ARCHITECTURE Score:


____________________

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.

Academic Licensure Exam


Performance (GWA) Rating
2.5 80
2.75 75
2.45 82
2.11 86
1.89 88
1.52 89
2.01 87
2.05 86
2.62 77
2.70 76
Coefficientsa
Unstandardized Coefficients Standardized Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 110.938 3.076 36.070 .000
GWA -12.539 1.342 -.957 -9.346 .000

a. Dependent Variable: LE Rating

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).

Find the LE rating of a student with the given GWA:

a) 1.5 b) 2.8 c) 2.0

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.

Total bill Tip amount


34 5
108 17
64 11
88 8
99 14
51 5

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

a. Dependent Variable: Tip Amount

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

a. Dependent Variable: Tip Amount


b. Predictors: (Constant), Total Bill

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:

a) 1000 b) 350 c) 100

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.

Number of years Membership


1 25
2 30
3 32
4 45
5 50

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

a. Dependent Variable: Membership

Model Summary
Adjusted R Std. Error of the
Model R R Square
Square Estimate
1 .970a .941 .921 2.98329

a. Predictors: (Constant), Years

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

a. Dependent Variable: Membership


b. Predictors: (Constant), Years

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.

You might also like