Restaurant X Restaurant Y 84 120 119 146 263 106 127 150 111 170 176 122 155 165 211 132 114 128 128 122 329 312 181 108 161 138 133 226 211 295 145 94 239 244 184 130 91 133 241 143 150 200 173 117 65 147 197 152 142 132 206 175 116 146 176 143 152 130 172 131 192 203 236 189 351 239 231 252 236 230 302 212 194 177 190 168 82 105 57 170 108 147 179 155 174 78 147 141 99 126 155 171 126 140 312 152 135 180 147 130 Service Times (seconds)
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
Refer to the accompanying data set of
![Restaurant X
Restaurant Y
84
120
119
146
263
106
127
150
111
170
176
122
155
165
211
132
114
128
128
122
329
312
181
108
161
138
133
226
211
295
145
94
239
244
184
130
91
133
241
143
150
200
173
117
65
147
197
152
142
132
206
175
116
146
176
143
152
130
172
131
192
203
236
189
351
239
231
252
236
230
302
212
194
177
190
168
82
105
57
170
108
147
179
155
174
78
147
141
99
126
155
171
126
140
312
152
135
180
147
130
Service Times (seconds)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F85bf7f3c-ff95-43c3-bd3d-2d5f0e1a5741%2F06e9914d-28cf-4f1f-86d0-3b03f68283fa%2F86egks.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
![Elementary Statistics: Picturing the World (7th E…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
![Introduction to the Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)