Professional Documents
Culture Documents
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 1 / 76
Sir Ronald Fisher (1890-1962)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 2 / 76
C. R. Rao
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 3 / 76
C. R. Rao
“Không giống như các ngành khoa học khác, khoa học thống kê không
phát triển từ thống kê. Nó cần sự thúc đẩy từ những bài toán mới phát
sinh trong tất cả các hoạt động của con người. Tương lai của thống kê
nằm ở sự giao tiếp trao đổi giữa nhà Thống kê với các nhà nghiên cứu
trong các lĩnh vực khác.”
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 4 / 76
S. R. Srinivasa Varadhan (Jan 2, 1940)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 5 / 76
STATISTICS FOR LIFE AND SOCIAL SCIENCES
CHAPTER 1: DESCRIPTIVE STATISTICS
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 6 / 76
Content
1 Introduction
Variables and Types of Data (Biến và các dạng dữ liệu)
Descriptive and Inferential Statistics
2 Displaying distributions with graphs
Graphs for categorical variables
Steamplots
Histogram
Time plots
3 Describing distributions with numbers
Measuring center: the mean, the median
Measuring spread: the quartiles, the standard deviation
4 Density curves and normal distribution
Density curves
Measuring center and spreed for density curves
Normal distribution
5 Relationship between variable
Scatterplots
Correlation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 7 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 8 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 9 / 76
Introduction
Statistics
Statistics is the science of conducting studies to collect, organize, summarize,
analyze, and draw conclusions from data.
Statistics is the science of learning from data.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 10 / 76
Why statistics?
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 11 / 76
Why statistics?
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 12 / 76
Introduction
Sample (Mẫu)
A sample is a group of subjects selected from a population.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 13 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 14 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 15 / 76
Variables and Types of Data (Biến và các dạng dữ liệu)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 16 / 76
Variables and Types of Data (Biến và các dạng dữ liệu)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 17 / 76
Variables and Types of Data (Biến và các dạng dữ liệu)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 18 / 76
Example
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 19 / 76
Measurement scales (Thang đo)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 20 / 76
Measurement scales
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 21 / 76
Measurement scales
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 22 / 76
Measurement scales
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 23 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 24 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 25 / 76
Introduction
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 26 / 76
Descriptive and Inferential Statistics
Descriptive statistics
Descriptive statistics consists of the collection, organization, summarization, and
presentation of data.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 27 / 76
Descriptive and Inferential Statistics
Inferential statistics
Inferential statistics consists of generalizing from samples to populations,
performing estimations and hypothesis tests, determining relationships among
variables, and making predictions.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 28 / 76
Displaying distributions with graphs
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 29 / 76
Graphs for categorical variables
Example
The distribution of the highest level of education for people aged 25 to 34 years.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 30 / 76
Graphs for categorical variables
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 31 / 76
Graphs for categorical variables
Pie charts require that you include all the categories that make up a whole. Use
them only when you want to emphasize each category’s relation to the whole.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 32 / 76
Displaying distributions with graphs
Steamplots
1 Separate each observation into a stem consisting of all but the final
(rightmost) digit and a leaf, the final digit. Stems may have as many digits as
needed, but each leaf contains only a single digit.
2 Write the stems in a vertical column with the smallest at the top, and draw a
vertical line at the right of this column.
3 Write each leaf in the row to the right of its stem, in increasing order out
from the stem.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 33 / 76
Steamplots
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 34 / 76
Steamplots
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 35 / 76
Histogram
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 36 / 76
Histogram
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 37 / 76
Time plots
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 38 / 76
Time plots
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 39 / 76
Time plots
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 40 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 41 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 42 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 43 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 44 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 45 / 76
Measuring center: the mean, the median
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 46 / 76
Measuring spread: the quartiles, the standard deviation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 47 / 76
Describing distributions with numbers
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 48 / 76
Measuring spread: the quartiles, the standard deviation
Minimum Q1 M Q3 Maximum
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 49 / 76
Measuring spread: the quartiles, the standard deviation
IQR = Q3 − Q1 (3)
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 50 / 76
Describing distributions with numbers
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 51 / 76
Measuring spread: the quartiles, the standard deviation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 52 / 76
Describing distributions with numbers
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 53 / 76
Density curves
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 54 / 76
Density curves
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 55 / 76
Measuring center and spreed for density curves
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 56 / 76
Measuring center and spreed for density curves
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 57 / 76
Normal distribution
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 58 / 76
Normal distribution
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 59 / 76
Normal distribution
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 60 / 76
Normal distribution
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 61 / 76
Standardizing observation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 62 / 76
Standardizing observation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 63 / 76
Normal distribution calculations
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 64 / 76
Normal distribution calculations
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 65 / 76
Normal distribution calculations
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 66 / 76
Normal quantile plot
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 67 / 76
Normal quantile plot
6.5
6.0
Sample Quantiles
5.5
5.0
4.5
−2 −1 0 1 2
Theoretical Quantiles
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 68 / 76
Relationship between variable
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 69 / 76
Scatterplots
Scatterplot
A scatterplot shows the relationship between two quantitative variables measured
on the same individuals. The values of one variable appear on the horizontal axis,
and the values of the other variable appear on the vertical axis.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 70 / 76
Scatterplots
Example
State mean SAT scores plotted against the percent of high school seniors in each
state who take the SAT exams, for Example 2.6. The point for West Virginia
(20% take the SAT, mean score 1032) is highlighted.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 71 / 76
Scatterplots
Examining a scatterplot
In any graph of data, look for the overall pattern and for striking deviations
from that pattern.
You can describe the overall pattern of a scatterplot by the form, direction,
and strength of the relationship.
An important kind of deviation is an outlier, an individual value that falls
outside the overall pattern of the relationship.
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 72 / 76
Correlation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 73 / 76
Correlation
Correlation
The correlation measures the direction and strength of the linear relationship
between two quantitative variables. Correlation is usually written as r.
Suppose that we have data on variables x and y for n individuals. The means and
standard deviations of the two variables are x and s x for the x-values, and y and
sy for the y-values. The correlation r between x and y is
1 X xi − x yi − y
r= (9)
n−1 sx sy
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 74 / 76
Correlation
Thach Thanh Tien (Ton Duc Thang University) STATISTICS FOR LIFE AND SOCIAL SCIENCES 75 / 76