Lab 04-Data (For Submission)
Lab 04-Data (For Submission)
Tionesta
count 24
20 22 24 26 28 30 32 34 36 38 40
Tionesta
Descriptive statistics
Shefield
count 24
DotPlot
10/20/2020 10:07.55 (1)
20 25 30 35 40 45 50
Shefield
Descriptive statistics
# Attending
count 45
Descriptive statistics
Returns
count 21
Descriptive statistics
Commissions
count 15
low extremes 0
low outliers 0
high outliers 0
high extremes BoxPlot
0
Daily Charges
count 28
mean 253.00
minimum 116
maximum 353
range 237
low extremes 0
low outliers 0
high outliers BoxPlot
0
high extremes 0
3,000
2,500
1,500
1,000
500
0
40 45 50 55 60 65 70 75
Age
Tionesta Shefield
# of vehicles # of vehicles
serviced serviced
23 31
DotPlot
33 35
27 44
28 36
39 34 20 22 24 26 28 30 32 34 36 3
26 37
Tionesta
30 30
32 37
28 43
33 31
DotPlot
35 40
32 31
29 32
25 44 20 25 30 35
36 36 Shefield
31 34
32 43
27 36
35 26 Report Summary statistics
32 38
35 37 In general, Sheffield are serving more customers than Tionesta (44 customers
37 30 Tionesta serviced the fewest cars in any day (23 customers)
36 42 Tionesta serviced 32 cars on 4 different days
30 33 The number of cars serviced cluster is 32 for Tionesta and 36, 37 for sheffield
751 860
Mean (Tionesta) 31.29 Tionesta serviced a mean of 31.29 vehicles per day
Mean (Sheffield) 35.83 Sheffield serviced a mean of 35.83 vehicles per day during the same period (2
So Sheffield serviced 4.54 more vehicles per day
2 34 36 38 40
DotPlot
35 40 45 50
Shefield
d) Manually
min 7.7
max 11.6
We can notice that the values of Q1 & Q2 are different by using Percentile.exc & Percentile.inc
BoxPlot
00 2600
Daily Charges
116
121
157
192
207
209
209
229
232
BoxPlot
236
236
239
243
246 100 150 200 250 300 350 400
260
Daily Charges
264
276
281 Interpretation
283 Shape The shape is slightly skewed negatively towards low charges
289 Center The median around 250…
296 Spread Range= the charges range between 115$ & 360$ with a spread of 245$
307 Interquartile range: (Range inside the box)
309 50% of the charges between 225$ and 300$ with a total spread of 75$
312 Outliers There are no outliers - No extreme charges
317 Q1 25% of the daily charges are below 235$
324 Q3 75% of the daily charges are below 300$
341
353
1st quartile Q1 224.00
median Q2 253.00
3rd quartile Q3 298.75
Mean 7,595,145
Median 3,650,000
std 8231061.23795 8231061.23795032
Profit
48 2,070 Kane SUV 1 1,500
48 2,454 Kane Sedan 1
1,000
49 1,606 Olean Compact 0
49 1,680 Kane SUV 3 500
49 1,827 Tionesta Truck 3
0
49 1,915 Tionesta SUV 1
40 45 50 55 60 65
49 2,084 Tionesta Sedan 0
49 2,639 Sheffield SUV 0 Age
50 842 Kane SUV 0
50 1,963 Sheffield Sedan 1 No relationship whatsoever
50 2,059 Sheffield Sedan 1
50 2,338 Tionesta SUV 0 In scatter plot we have to comment on three things
50 3,043 Kane Sedan 0 Direction Slightly Direct/Positive relationship
51 1,059 Kane SUV 1 Strength the strength is very weak relationship betw
51 1,674 Sheffield Sedan 1 Type Kind of Linear
51 1,807 Tionesta Sedan 1
51 2,056 Sheffield Hybrid 0
51 2,236 Tionesta SUV 2
51 2,928 Kane SUV 0
52 1,269 Tionesta Sedan 1
52 1,717 Sheffield SUV 3
52 1,797 Kane Sedan 1
52 1,955 Olean Hybrid 2
52 2,199 Tionesta SUV 0
52 2,482 Olean Compact 0
52 2,701 Sheffield SUV 0
52 3,210 Olean Truck 4
53 377 Olean SUV 1
53 1,220 Olean Sedan 0
53 1,401 Tionesta SUV 2
53 2,175 Olean Sedan 1
54 1,118 Sheffield Compact 1
54 2,584 Olean Compact 2
54 2,666 Tionesta Truck 0
54 2,991 Tionesta SUV 0
55 934 Sheffield Truck 1
55 2,063 Kane SUV 1
55 2,083 Sheffield Sedan 1
55 2,856 Olean Hybrid 1
55 2,989 Tionesta Compact 1
56 910 Sheffield SUV 0
56 1,536 Kane SUV 0
56 1,957 Sheffield SUV 1
56 2,240 Olean Sedan 0
56 2,695 Kane Sedan 2
57 1,325 Olean Sedan 1
57 2,250 Sheffield Sedan 2
57 2,279 Sheffield Hybrid 1
57 2,626 Sheffield Sedan 2
58 1,501 Sheffield Hybrid 1
58 1,752 Kane Sedan 3
58 2,058 Kane SUV 1
58 2,370 Tionesta Compact 0
58 2,637 Sheffield SUV 1
59 1,426 Sheffield Sedan 0
59 2,944 Olean SUV 2
60 2,147 Olean Compact 2
61 1,973 Kane SUV 3
61 2,502 Olean Sedan 0
62 783 Sheffield Hybrid 1
62 1,538 Olean Truck 1
63 2,339 Olean Compact 1
64 2,700 Kane Truck 0
65 2,222 Kane Truck 1
65 2,597 Sheffield Truck 0
65 2,742 Tionesta SUV 2
68 1,837 Sheffield Sedan 1
69 2,842 Kane SUV 0
70 2,434 Olean Sedan 4
72 1,640 Olean Sedan 1
72 1,821 Tionesta SUV 1
73 2,487 Olean Compact 4
aried data?
ason (Age vs profit),
h point have an X & Y
50 55 60 65 70 75
Age
2100.00
2000.00
1900.00
1800.00
1700.00
1600.00
Kane Olean Sheffield Tion
Total
Average - Profit
annot use contingency table if one data is qualitative & the other is quantitative,
y both have to be qualitative), unless i make a changes in the quantitative data and
ge it to qualitative.
e to divide the profit into categories (like above the median or below the median
vide them low, medium, & high
an compare the profit for the various dealership
not using the contingency table, we use pivot table
Total
0
0
Average - Profit
0
0
Kane Olean Sheffield Tionesta Total Result
Now I have to change the profit from Quantitative to qualitative (above median & below median)
nsert a column called "Profit category" with 0 if below median & 1 if above median
if(B2>$C$2,1,0)
if this value "B2" is greater than median "C2" then this value is 1, otherwise is 0
Now Profit category & Location are both qualitative, so we can do the contingency table
To do the Contingency table, we go to insert pivot table, highlight data
Location
Kane Olean Sheffield Tionesta Total Result
11 7 16 8 42
8 13 10 11 42
19 20 26 19 84
Price cumulative
lower upper midpoint width frequency percent frequency
120 < 140 130 20 3 2.9 3
140 < 160 150 20 3 2.9 6
160 < 180 170 20 16 15.2 22
180 < 200 190 20 20 19.0 42
200 < 220 210 20 14 13.3 56
220 < 240 230 20 14 13.3 70
240 < 260 250 20 13 12.4 83
260 < 280 270 20 8 7.6 91
280 < 300 290 20 7 6.7 98
300 < 320 310 20 4 3.8 102
320 < 340 330 20 2 1.9 104
340 < 360 350 20 1 1.0 105
105 100.0
Descriptive statistics
Price
count 105
mean 221.103
Descriptive statistics
Price
count 105
sample standard deviation 47.105
sample variance 2,218.919
minimum 125
maximum 345.3
range 220.3
cumulative
percent
2.9
5.7
21.0
40.0
53.3
66.7
79.0
86.7
93.3
97.1
99.0
100.0
Histogram
20
15
Percent
10
5
0
0 0 0 0 0 0 0 0 0 0 0 0 0
12 14 16 18 20 22 24 26 28 30 32 34 36
Price
Price Bedrooms Size Pool Distance Twnship Garage Baths
263.1 4 2300 1 17 5 1 2
182.4 4 2100 0 19 4 0 2
242.1 3 2300 0 12 3 0 2
213.6 2 2200 0 16 2 0 2.5
139.9 2 2100 0 28 1 0 1.5
245.4 2 2100 1 12 1 1 2
327.2 6 2500 0 15 3 1 2
271.8 2 2100 0 9 2 1 2.5
221.1 3 2300 1 18 1 0 1.5
266.6 4 2400 0 13 4 1 2
292.4 4 2100 0 14 3 1 2
209 2 1700 0 8 4 1 1.5
270.8 6 2500 0 7 4 1 2
246.1 4 2100 0 18 3 1 2
194.4 2 2300 0 11 3 0 2
281.3 3 2100 0 16 2 1 2
172.7 4 2200 1 16 3 0 2
207.5 5 2300 1 21 4 0 2.5
198.9 3 2200 1 10 4 1 2
209.3 6 1900 1 15 4 1 2
252.3 4 2600 0 8 4 1 2
192.9 4 1900 1 14 2 1 2.5
209.3 5 2100 0 20 5 0 1.5
345.3 8 2600 0 9 4 1 2
326.3 6 2100 0 11 5 1 3 b)
173.1 2 2200 1 21 5 1 1.5
187 2 1900 0 26 4 0 2
257.2 2 2100 0 9 4 1 2
233 3 2200 0 14 3 1 1.5
180.4 2 2000 0 11 5 0 2
234 2 1700 0 19 3 1 2
247.7 5 2400 0 16 2 1 2
166.2 3 2000 1 16 2 1 2
177.1 2 1900 0 10 5 1 2
182.7 4 2000 1 14 4 0 2.5
216 4 2300 0 19 2 0 2
312.1 6 2600 0 7 5 1 2.5
199.8 3 2100 0 19 3 1 2
273.2 5 2200 0 16 2 1 3
206 3 2100 1 9 3 0 1.5
232.2 3 1900 1 16 1 1 1.5
198.3 4 2100 1 19 1 1 1.5
205.1 3 2000 1 20 4 0 2
175.6 4 2300 1 24 4 1 2
307.8 3 2400 1 21 2 1 3
269.2 5 2200 0 8 5 1 3
224.8 3 2200 0 17 1 1 2.5
171.6 3 2000 1 16 4 0 2
216.8 3 2200 0 15 1 1 2
192.6 6 2200 1 14 1 0 2
236.4 5 2200 0 20 3 1 2
172.4 3 2200 0 23 3 0 2
251.4 3 1900 0 12 2 1 2
246 6 2300 0 7 3 1 3
147.4 6 1700 1 12 1 0 2
176 4 2200 0 15 1 1 2
228.4 3 2300 0 17 5 1 1.5
166.5 3 1600 1 19 3 0 2.5
189.4 4 2200 0 24 1 1 2
312.1 7 2400 0 13 3 1 3
289.8 6 2000 0 21 3 1 3
269.9 5 2200 1 11 4 1 2.5
154.3 2 2000 0 13 2 0 2
222.1 2 2100 0 9 5 1 2
209.7 5 2200 1 13 2 1 2
190.9 3 2200 1 18 3 1 2
254.3 4 2500 1 15 3 1 2
207.5 3 2100 1 10 2 0 2
209.7 4 2200 1 19 2 1 2
294 2 2100 0 13 2 1 2.5
176.3 2 2000 1 17 3 0 2
294.3 7 2400 0 8 4 1 2
224 3 1900 1 6 1 1 2
125 2 1900 0 18 4 0 1.5
236.8 4 2600 1 17 5 1 2
164.1 4 2300 0 19 4 0 2
217.8 3 2500 0 12 3 0 2
192.2 2 2400 0 16 2 0 2.5
125.9 2 2400 0 28 1 0 1.5
220.9 2 2300 1 12 1 1 2
294.5 6 2700 0 15 3 1 2
244.6 2 2300 0 9 2 1 2.5
199 3 2500 1 18 1 0 1.5
240 4 2600 0 13 4 1 2
263.2 4 2300 0 14 3 1 2
188.1 2 1900 0 8 4 1 1.5
243.7 6 2700 0 7 4 1 2
221.5 4 2300 0 18 3 1 2
175 2 2500 0 11 3 0 2
253.2 3 2300 0 16 2 1 2
155.4 4 2400 1 16 3 0 2
186.7 5 2500 1 21 4 0 2.5
179 3 2400 1 10 4 1 2
188.3 6 2100 1 15 4 1 2
227.1 4 2900 0 8 4 1 2
173.6 4 2100 1 14 2 1 2.5
188.3 5 2300 0 20 5 0 1.5
310.8 8 2900 0 9 4 1 2
293.7 6 2400 0 11 5 1 3
179 3 2400 0 8 4 1 2
188.3 6 2100 1 14 2 1 2.5
227.1 4 2900 0 20 5 0 1.5
173.6 4 2100 0 9 4 1 2
188.3 5 2300 0 11 5 1 3
Histogram
20
15
Percent
10
5
0
0 0 0 0 0 0 0 0 0 0 0 0 0
12 14 16 18 20 22 24 26 28 30 32 34 36
Price
b) sample standard deviat 47.105 $ Price differs from one to another by 47.1 thousands $
minimum 125 $
maximum 345.3 $
range 220.3 $