Professional Documents
Culture Documents
Stat L2 2021 Fall
Stat L2 2021 Fall
Stat L2 2021 Fall
Research Methods I:
Statistics for Behavioral Science
3 semester credits, Fall- 2021
Lecture 2
measure of central tendency
Instructor : Kelvin Ng
Email : teacherkelvinng@gmail.com
Timetable
Time : 1:45-4:30pm
Recommended Textbook
•Overview
•Types of data
•Measure of central tendency
Types of data
now!
Measure of central tendency
• What is median?
• The middle or centre of a set of data.
• If the data is arranged according to its
size of value in ascending/descending
order, the middle one (or the middle two
divided by 2) is the median.
• e.g. 1, 3, 5, 7, 7, 9. The median is
What’s the median of the
following?
a) 1, 3, 3, 5, 7, 9, 11, 11, 13
b) 140, 150, 160, 170, 180
c) 140, 150, 150, 160, 170, 170, 180
d) 140, 143, 143, 150, 180, 180.
e) Back to the case of passing mark of a class,
20, 30, 40, 40, 40, 45, 45, 45, 100, 100.
Sometimes, median might be equal to mean,
but some are not. It depends on whether there
is extreme values
Things to discuss
• What is the median of income of HK citizens?
• It’s just ~$15,500 in 2016 which is much less
than the mean value of ~$24,000.
• Political bodies say the income of HK citizens is
so less but the government say the income of
HK citizens is quite reasonable.
• Which side would you agree with? Why?
• Which kind of central tendency is more reliable?
• Both are needed!
skewness
• What is skewness?
Income distribution of HK 2006
–
• Income number %
• 1,000 – 1,999 65 534 2.1
• 2,000 – 3,999 149 921 4.7
• 4,000 – 5,999 329 103 9.8
• 6,000 – 7,999 460 953 13.8
• 8,000 – 9,999 418 416 12.5
• 10,000 – 14,999 693 526 20.7
• 15,000 – 19,999 354 073 10.6
• 20,000 – 24,999 222 694 6.7
• 25,000 – 39,999 264 781 7.9
• ≥ 40,000 210 878 6.3
• 總計
• Total 344 986 100%
Income distribution of HK 2011
–
• Income number %
• <2,000 61 935 1.9
• 2,000 – 3,999 110 714 3.4
• 4,000 – 5,999 159 539 4.9
• 6,000 – 7,999 362 962 11.1
• 8,000 – 9,999 452 218 13.9
• 10,000 – 14,999 754 368 23.0
• 15,000 – 19,999 411 534 12.6
• 20,000 – 24,999 284 518 8.7
• 25,000 – 29,999 141 632 4.3
• 30,000 – 39,999 216 234 6.6
• 40,000 – 59,999 173 093 5.3
• ≥ 60,000 147 889 4.5
• 總計
• Total 3 278 665 100%
Income distribution of HK 2016
• Income number %
• <2,000 43 583 1.3
• 2,000 – 3,999 78 813 2.3
• 4,000 – 5,999 99 300 2.9
• 6,000 – 7,999 130 754 3.8
• 8,000 – 9,999 283 102 8.3
• 10,000 – 14,999 891 262 26.1
• 15,000 – 19,999 572 777 16.8
• 20,000 – 24,999 372 665 10.9
• 25,000 – 29,999 190 703 5.6
• 30,000 – 39,999 277 029 8.1
• 40,000 – 59,999 247 662 7.2
• ≥ 60,000 231 457 6.8
• 總計
• Total 3419107 100%
• Are the distribution positively skewed or
negatively skewed?
• Please tabulate the data and plot a graph.
• Income of HK citizens is ______ skewed.
• Another good example is the number of
sex partners in a lifetime.
• Can you think of some examples?
• Example of negatively skewed curve is
retirement age.
• Most people retire between the age of 50-
70 and very few before 40.
• Can you think of some examples?
Income distribution of HK
citizen
1996 2001 2006
• Income number % number % number %
• < 1,000 31 447 1.0 29 659 0.9 26 764 0.8
• 1,000 – 1,999 26 154 0.8 27 410 0.8 39 364 1.2
• 2,000 – 3,999 242 429 8.0 278 579 8.6 324 434 9.7
• 4,000 – 5,999 316 331 10.5 266 587 8.3 329 103 9.8
• 6,000 – 7,999 478 408 15.9 397 899 12.3 460 953 13.8
• 8,000 – 9,999 476 114 15.8 395 476 12.2 418 416 12.5
• 10,000 – 14,999 668 722 22.2 743 033 23.0 693 526 20.7
• 15,000 – 19,999 295 968 9.8 370 981 11.5 354 073 10.6
• 20,000 – 24,999 166 805 5.5 251 116 7.8 222 694 6.7
• 25,000 – 39,999 171 238 5.7 258 035 8.0 264 781 7.9
• ≥ 40,000 142 848 4.7 210 332 6.5 210 878 6.3
• 總計
• Total 3 016 464 100% 3 229 107 100% 3 344 986 100%
• How about GPA? Is it positively skewed or
negatively skewed?
• Sometimes positive and sometimes
negative and most likely it is symmetrically
distributed.
• How about body height?
2006
Income distribution
40
數列1
percentageofeachgroup
20
0
0-5000 5001-10000 10001-15000 15001-20000 20001-25000 25001-30000 30000-35000 35000-40000
數列1 17 31 20 10 7 3 3 2
income
percentage
10
15
20
25
0
5
•<2,000
2011
•2,000
– 3,999
•4,000
– 5,999
•6,000
– 7,999
•8,000
– 9,999
•10,000
–
•15,000
income
–
•20,000
income distribution of HK at 2011
–
•25,000
–
•30,000
–
•40,000
–
•≥
60,000
2016
Income distribution of HK at 2016
30
25
20
percentage
15
10
5
0
•<2,000 •2,000 •4,000 •6,000 •8,000 •10,000 •15,000 •20,000 •25,000 •30,000 •40,000
•≥
– 3,999 – 5,999 – 7,999 – 9,999 – – – – – –
14,999 19,999 24,999 29,999 39,999 59,999 60,000
income
2016
<10,000 18.6
•≥ 60,000 6.8
2016
50
40
30
20
10
0
<10,000 •10,000 •20,000 •30,000 •40,000 •≥ 60,000
– 19,999 – 29,999 – 39,999 – 59,999
Mode
now!
Percentiles and quartiles