0% found this document useful (0 votes)
86 views

Module 10 - Simple Linear Regression

Researchers investigated the relationship between calories and fat content of coffee drinks from two coffee shops. They collected data on 7 drinks which showed a positive linear relationship between calories and fat. The linear regression equation developed from the data was Y = -1.69 + 0.046X, which means for every increase of one calorie, fat increases by 0.046 grams. 51.78% of the variation in fat can be explained by calories.

Uploaded by

Layla Gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views

Module 10 - Simple Linear Regression

Researchers investigated the relationship between calories and fat content of coffee drinks from two coffee shops. They collected data on 7 drinks which showed a positive linear relationship between calories and fat. The linear regression equation developed from the data was Y = -1.69 + 0.046X, which means for every increase of one calorie, fat increases by 0.046 grams. 51.78% of the variation in fat can be explained by calories.

Uploaded by

Layla Gomez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

A group of independent researchers investigated the relationship between calories and fat of coffee drinks at two

well known coffee shops. The table below shows the result of the experiment. Determine the extend of
relationship of the two variables.

Products Calories (X) Fat (Y) X*Y


K iced mocha swirl latte 240 8.0 1920
Z coffee frappucino blended coffee 260 3.5 910
K coffee coolatta 350 22.0 7700
Z coffee iced coffee mocha expresso 350 20.0 7000
K mocha frappucino blended coffee 420 16.0 6720
Z chocolate brownie frappucino blended coffee 510 22.0 11220
Z chocolate frappucino blended crème 530 19.0 10070
Total 2660 110.5 45540

a. Determine the slope value.


b. Determine the y-intercept value
c. Develop the linear regression equation or model
d. Predict the value of the fat of a coffee drink with calories of 300
e. Describe the coefficient of correlation
f. Describe the coefficient of determination

In this particular module, we will set aside hypotheses, level of significance, critical
values, decision rules, conclusions, and recommendations for the meantime.

7 (45540) - (2660) (110.5)


a. Slope (b or b1) =
7 (1087600) - (2660²)

24850
Slope (b or b1) = 0.046
537600

110.5 - 0.046(2660)
b. Y-intercept (a or bo)=
7

-11.86
Y-intercept (a or bo)= -1.69
7

Linear equation model since it’s a model, we retain the


c. Y = -1.69 + 0.046X
= X

Y = -1.69 + 0.046X
d.
= -1.69 + 0.046*(300)
12.11

e.
e.

r = 0.7196

The r-value of 0.7196 reflects the high positive


relationship of the calories and fat of coffee drinks

f. r² = 0.7196² = 0.5178 or 51.78%


which means 51.78% of the changes in the fat of
the coffee drinks can be explained by its interaction with
the calories of the coffee drinks, and the remaining
48.22% are unexplained factors or factors not included in
this study.
s and fat of coffee drinks at two
ermine the extend of

X² Y²
57600 64.0
67600 12.3
122500 484.0
122500 400.0
176400 256.0
260100 484.0
280900 361.0
1087600 2061.25

al
The store manager wants to determine the relationship between the number of weekend
television commercials shown and the sales of stereo and sound equipment at the store.
The table below shows the gathered data.

Number of TV weekend Sales (Y)


Week X*Y X^2 Y^2
commercial (X) ($100s)
1 3 52 156 9 2704
2 6 58 348 36 3364
3 2 43 86 4 1849
4 4 55 220 16 3025
5 5 56 280 25 3136
6 2 40 80 4 1600
7 5 64 320 25 4096
8 3 49 147 9 2401
9 4 60 240 16 3600
10 1 39 39 1 1521
Total 35 516 1916 145 27296

a. Determine the slope value.


b. Determine the y-intercept value
c. Develop the linear regression equation or model
d. Predict the sales for 8 TV weekend commercials
e. Describe the coefficient of correlation
f. Describe the coefficient of determination

10 (1916) - (35) (516)


a. Slope (b or b1) =
10 (145) - (35²)

1100
Slope (b or b1) = 4.89
225

516 - 4.89 (35)


b. Y-intercept (a or bo)=
10

344.85
Y-intercept (a or bo)= 34.49
10

Linear equation model


c. = Y = 34.49 + 4.89X

Y = 34.49 + 4.89X
d.
= 34.49 + 4.89 (8)
73.61
e.

r = 0.8956

There is a high positive correlation between number of


weekend television commercials and sales of stereo and
sound equipment.

f. r² = 0.8956² = 0.8021 or 80.21%, which means 80.21% of the changes


in the sales of stereo and sound equipment of the store can be
explained by the changes in number of weekend television
commercials and the 19.79% are caused by other unexplained
factors.

You might also like