Find the total deviation for city 23 in the sample.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Freshcrim specializes in the sales of ice cream from street trolleys in the centers of many cities. Some factors
that may determine the sales of ice cream are: the atmospheric temperature, the location of the trolley, the
rain and the humidity. However, there exists a hypothesis that the sales of ice cream during the summer are
significantly correlated only with atmospheric temperature. They defined two variables: X : the mean
atmospheric temperature and Y : the sales. They considered the month of July of this year in a random
sample of 30 cities. For each city in the sample, let x be the mean temperature in degrees Fahrenheit and y
the mean sales per day in dollars per 100,000 residents. The data are given below. A regression model was
run, with Y as the dependent variable and X as the independent variable.

City
1
2
3
4
5
6
7
8
9
10
11
×›
y
92.8 37.62
84.0
73.8
74.5
83.0
78.4
82.0
75.1
39.18
85.0
45.57
25.53
31.62
30.66
91.5 44.83
34.45
33.48
45.63
71.3 38.84
City
12
13
14
15
16
17
18
19
20
21
22
X
80.0 33.07
93.0 46.64
97.4
92.0
32
81.0 28.25
91.0
80.3
41.40
81.5 45.24
73.2
36.26
38.38
41.55
41.61
90.0 35.34
85.2 48.04
City
23
24
25
26
27
28
29
30
31
32
33
96.6
88.0
87.8 35.20
98.3
77.0
90.6
94.4
99.2
95.0
y
86.0
51.11
48.91
40.47
45.54
49.81
38.79
46.71
53.01
34.23
72.6 33.03
Transcribed Image Text:City 1 2 3 4 5 6 7 8 9 10 11 ×› y 92.8 37.62 84.0 73.8 74.5 83.0 78.4 82.0 75.1 39.18 85.0 45.57 25.53 31.62 30.66 91.5 44.83 34.45 33.48 45.63 71.3 38.84 City 12 13 14 15 16 17 18 19 20 21 22 X 80.0 33.07 93.0 46.64 97.4 92.0 32 81.0 28.25 91.0 80.3 41.40 81.5 45.24 73.2 36.26 38.38 41.55 41.61 90.0 35.34 85.2 48.04 City 23 24 25 26 27 28 29 30 31 32 33 96.6 88.0 87.8 35.20 98.3 77.0 90.6 94.4 99.2 95.0 y 86.0 51.11 48.91 40.47 45.54 49.81 38.79 46.71 53.01 34.23 72.6 33.03
Find the total deviation for city 23 in the sample.
Transcribed Image Text:Find the total deviation for city 23 in the sample.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman