Variable Variable Variable Variable Variable Variable Variable Variable Variable 5/21/2019... Difference Order SimilarInterval Meaningful zero point Categorical... Categorical vari
Trang 35/21/2019
Trang 55/21/2019
Trang 7Variable
Variable
Variable
Variable Variable
Variable
Variable
Variable Variable
5/21/2019
Trang 95/21/2019
Trang 115/21/2019
Trang 13Difference Order Similar
Interval
Meaningful zero point Categorical
Trang 155/21/2019
Trang 195/21/2019
Trang 20Job Frequency Relative freq
Trang 21?
Trang 235/21/2019
Trang 255/21/2019
Trang 275/21/2019
Trang 295/21/2019
Trang 30Categorical variable
Quantitative variable
Frequency table
Pie chart Bar graph
Dot plot Histogram Distribution
Trang 33× 100
5/21/2019
Trang 34× 586
Trang 355/21/2019
Trang 37Bell shaped Skewed to the right
Trang 395/21/2019
Trang 415/21/2019
Trang 47Categorical variable
Quantitative variable
Mode
Mean Median
5/21/2019
Trang 48The average monthly salary of a couple ?
?
Trang 49x x x x
x x x
x
x
x x
Trang 515/21/2019
Trang 53Mode = 38.5 ; Median = 39.2 ; Mean = 39.3
5/21/2019
Trang 56Q1 Q2 Q3 25%
25% 25%
25%
Trang 59Q1 Q2 Q3 Q1 – 1.5 * IQR
5/21/2019
Trang 60Q2 IQR
Q3 Min (Maximum value in the data, Q3 + 1.5* IQR)
Max (Minimum value in the data, Q1 - 1.5* IQR)
Outlier
Trang 61The variability within the two distributions strongly differs
5/21/2019
Trang 635/21/2019
Trang 675/21/2019
Trang 695/21/2019
Trang 70Group 2
Trang 71> var(group1) [1] 12.252
> sd(group1) [1] 3.500286
> var(group2) [1] 0.714
> sd(group2) [1] 0.8449852
5/21/2019
Trang 735/21/2019
Trang 77- z-score Mom1 32.7 -6.6 -1.89
Original values are above the mean
5/21/2019
Trang 7995%
99%
exceptional exceptional
5/21/2019
Trang 80Skewed to the right Skewed to the left
More extreme values
Large positive
z-score
Large negative
z-score
Trang 8189%
exceptional exceptional
5/21/2019
Trang 83Compute z-score when =41 ?
Trang 84Compute z-score when =41 ?
;
Group 2
Trang 85For conclusion, you can say that
41 weeks of the the baby's gestational age happens more common in Group 1 than in Group 2
More extent …
5/21/2019
Trang 875/21/2019
Trang 895/21/2019
Trang 91Focus on the average grade for Math+, from 0 to 10, we want to know some information :
1 What does the distribution (of the variable) look like ?
2 What is the central tendency of the distribution ?
3 What is the dispersion of the distribution ?
4 What does the box plot look like ?
5 Compute the z-score of the school #3, what story does it
tell you ?
5/21/2019
Trang 92Average grade School 1 7.4
School 2 7.9 School 3 4.1 School 4 8.1 School 5 6.2 School 6 7.1 School 7 7.4
Trang 93Outlier ?!
5/21/2019
Trang 944.1 6.2 6.7 7.1 7.4 7.4 7.9 8.1
Sorting
data
Trang 98Range = 4.0 IQR = 1.2 sd =1.27
Trang 100First: warning outlier !!!