You are on page 1of 10

DATA ANALYSIS, TOOLS AND

APPLICATION (QHO430)

Seminar 4 – Correlation and Regression Analysis


Activity one
A questionnaire survey was conducted among 13 randomly chosen customers. They were asked two
questions.
Score on
loyalty Number of online visits
Question 1 was on loyalty to the brand “Apple” measured
9 25
from 0=Not loyal at all, to 30=Very loyal.
21 70
6 15
Question 2 was an estimation of the number of times the
16 55
customer visits a website looking for an Apple product.
20 65
26 75
Required: 28 85
Copy and paste the data on an Excel worksheet. 6 10
13 45
Draw a scatter diagram (N° of online visits on vertical axis). 8 20
Label your axes correctly. 11 35
What type of correlation there is between the two variables? 7 30
16 55
Activity two
An experimental survey on online gaming against age was conducted. The following results were found.

Age refers to the age of the player. Age N° of online games


39 18
N° of online games is the estimated number of online 32 28
games played per month. 30 28
45 12
28 30
34 30
43 16
Required:
Copy and paste the data on an Excel worksheet. 37 21
43 16
Draw a scatter diagram. Label your axes correctly. 34 26
42 21
What type of correlation there is between the two variables? 39 24
36 25
42 15
Activity three
Loyalty scores versus online visits

Score on loyalty Number of online visits


9 25
21 70
Required: 6 15
Use Excel to calculate the correlation coefficient. 16 55
20 65
Report the strength of the correlation between the two
Variables. 26 75
28 85
6 10
13 45
8 20
11 35
7 30
16 55
Activity four
An experimental survey on online gaming against age was conducted. The following results were found.
Age N° of online games
39 18
32 28
Required: 30 28
Use Excel to calculate the correlation coefficient. 45 12
28 30
Report the strength of the correlation between the two
Variables. 34 30
43 16
37 21
43 16
34 26
42 21
39 24
36 25
42 15
Activity five
Loyalty scores versus online visits

Score on loyalty Number of online visits


9 25
21 70
Required: 6 15
Find the equation of the linear regression. 16 55
20 65
Predict the number of online visits for a customer with a score
On loyalty equals to 14 out of 30. 26 75
28 85
6 10
13 45
8 20
11 35
7 30
16 55
Activity six
An experimental survey on online gaming against age was conducted. The following results were found.
Age N° of online games
39 18
32 28
Required: 30 28
Find the equation of the linear regression. 45 12
28 30
Predict the number of online games played for someone 34 30
aged 38.
43 16
37 21
43 16
34 26
42 21
39 24
36 25
42 15
Seminar activity Flight N°
Duration of flight N° of passengers
(in minutes) on flight
Revenue (£)
1 80 130 220
2 150 159 290
Select, copy and paste the data on an Excel spreadsheet. 3 100 155 270
4 120 151 255
5 120 151 268
Required: 6 133 150 265
1. Draw the scatter diagrams 7
8
55
85
145
144
255
245
•Revenue v Duration 9 120 135 244
10 63 148 260
•Revenue v N° of passengers 11 160 161 290
12 150 164 300
2. Calculate the correlation coefficients for each relationship. 13 40 145 245
14 70 145 255
Identify the best model for revenue. 15 140 156 280
16 150 182 320
3. For the best model, find the equation of the linear 17
18
165
80
157
130
290
230
regression. 19 90 141 245
20 80 152 261
21 160 161 277
4.Predict the on-flight revenue for a flight that … 22 80 149 255
a) takes 120 minutes or 23 175 175 301
24 90 129 224
b) one that has 157 passengers on board. 25 195 164 301
c) Which is more reliable? 26
27
155
140
157
153
277
255
28 110 141 246
29 150 152 277
30 75 138 255
Reading and Practice
Pearson Product-Moment Correlation:
•Statistics article
•Linkedin Statistics Regression
•Excel HELP in Pearson Correlation
Questions?

You might also like