03_WEEK2_Statistics_Part2 (2)
03_WEEK2_Statistics_Part2 (2)
Week 2
Part 2
■ Mean
■ Weighted Mean
■ Median
■ Mode
Measures of Location
y i
y= i =1
n
Number of
observations
in the sample
Population Mean m
y i
m= i =1
N
Number of
observations in
the population
Sample Mean
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Sample Mean
y=
y i
=
34, 356
= 490.80
n 70
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
The Weighted Mean and
Working with Grouped Data
■ Weighted Mean
■ Mean for Grouped Data
Weighted Mean
y= Wy
= w y
i i
W i
i i
where:
yi = value of observation i
Wi = weight for observation i
wi = relative weight for observation i
Wi
wi =
Wj
Grouped Data
■ Sample Data
k
fM i i
y i =1
n
■ Population Data
k
fM i i
m i =1
N
where:
k = number of classes
fi = frequency of class i
Mi = midpoint of class i
Sample Mean for Grouped Data
26 18 27 12 14 27 19 7 observations
12 14 18 19 26 27 27 in ascending order
Median = 19
Median
26 18 27 12 14 27 30 19 8 observations
12 14 18 19 26 27 27 30 in ascending order
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
End of Unit 8
Unit 9 Percentiles and
Exploratory Data Analysis
■ Percentiles
■ Five-Number Summary
■ Box Plot
Percentiles
i = (p/100)n
i = (p/100)n = (90/100)×70 = 63
Averaging the 63rd and 64th data values:
90th Percentile = (580 + 590)/2 = 585
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
90th Percentile
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Quartiles
425 430 430 435 435 435 435 435 440 440
440 440 440 445 445 445 445 445 450 450
450 450 450 450 450 460 460 460 465 465
465 470 470 472 475 475 475 480 480 480
480 485 490 490 490 500 500 500 500 510
510 515 525 525 525 535 549 550 570 570
575 575 580 590 600 600 600 600 615 615
Exploratory Data Analysis
■ Five-Number Summary
■ Box Plot
Five-Number Summary
1 Smallest Value
2 First Quartile
3 Median
4 Third Quartile
5 Largest Value
Five-Number Summary
375 400 425 450 475 500 525 550 575 600 625
Q1 = 445 Q3 = 525
Q2 = 475
Box Plot
… continued
Box Plot
375 400 425 450 475 500 525 550 575 600 625