Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
[2] CHAP.2
2
Outline
Statistical measures
Data analysis using Pivot tables
1
9/17/2019
3
Statistical measures
Box Plots
Dot‐Scale Diagrams
shows a histogram of data
values as dots
corresponding to
individual data points,
along with the mean,
median, first and third
quartiles, and 1, 2, and 3
standard deviation ranges
from the mean.
2
9/17/2019
Outliers
“Mild” outliers are often defined as being
between 1.5*IQR and 3*IQR to the left of Q1 or to
the right of Q3 , and “extreme” outliers as more
than 3*IQR away from these quartiles.
6
Review
3
9/17/2019
7
Data analysis using PivotTables
8
PivotTable in
Excel
Given the dataset,
Insert a PivotTable
Select row and column
labels
Adjust Value Field
Settings
4
9/17/2019
9
PivotTable in R
https://www.rforexcelusers.com/make-pivottable-in-r/
10
PivotTable in Python
https://pandas.pydata.org/pandas-
docs/stable/reference/api/pandas.pivot_table.html
https://pbpython.com/pandas-pivot-table-explained.html
10
5
9/17/2019
11
Exercises
11
12
Reading
[1] 1
[2] 2
[3] 2, 3
12