Professional Documents
Culture Documents
4 Eda
4 Eda
2021/2022
Luís Paquete
University of Coimbra
Introduction
Homework
Exploratory Data Analysis
Today
EDA: Classical:
EDA: Classical:
An Example of EDA
� A classical example∗
∗
Taken from the Engineering Statistics Handbook website
An Example of EDA
An Example of EDA
� Scatter plots:
An Example of EDA
� Scatter plots:
An Example of EDA
� Scatter plots:
An Example of EDA
� Scatter plots:
An Example of EDA
� Scatter plots:
An Example of EDA
Graphical Techniques
Graphical Techniques
� Box Plot
� Interquartile range is
IQR = Q3 − Q1
Graphical Techniques
� Box Plot
Graphical Techniques
� Box Plot
Graphical Techniques
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
� Symmetric, moderated-tailed
histogram (top plot)
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
� It suggests an extreme-value
distribution, e.g. Weibull
(bottom plot)
Graphical Techniques
� Histogram
Graphical Techniques
� Histogram
The size of the bins may affect the shape of the distribution
Graphical Techniques
Graphical Techniques
� Run Chart
Graphical Techniques
� Run Chart
Graphical Techniques
Run chart for the number of ships in dock (top) and full in route
(bottom) over time.
Luı́s Paquete Quantitative Research Methods
Introduction
Introduction
An Example
Exploratory Data Analysis
Graphical Techniques
Graphical Techniques
Graphical Techniques
Graphical Techniques
Time series overlapping: time series in dock antecipates the full en route
series quite well.
The number of ships in dock predicts the number of ships in route in a
few days.
Graphical Techniques
Graphical Techniques
� Lag plot
Graphical Techniques
� Lag plot
� No correlation
� No outliers
Graphical Techniques
� Lag plot
� No outliers
Graphical Techniques
� Lag plot
� No outliers
Graphical Techniques
� Lag plot
� Sinusoidal model
� Presence of outliers
Graphical Techniques
Graphical Techniques
� Scatter plot
Graphical Techniques
� Scatter plot
Graphical Techniques
� Scatter Plot
No relationship
Graphical Techniques
� Scatter Plot
Graphical Techniques
� Scatter Plot
Graphical Techniques
� Scatter Plot
Quadratic relationship
Graphical Techniques
� Scatter Plot
Exponential relationship
(see logarithm scale in the y axis)
Graphical Techniques
� Scatter Plot
Sinusoidal relationship
Graphical Techniques
� Scatter Plot
Graphical Techniques
� Scatter Plot
Graphical Techniques
� Scatter Plot
Graphical Techniques
� A 3D Scatter plot
Graphical Techniques
� A 4D Scatter plot
Graphical Techniques
Graphical Techniques
Graphical Techniques
� Q-Q plot
Graphical Techniques
� Q-Q plot
� In this case, no
Graphical Techniques
� Q-Q plot
� In this case, no
Graphical Techniques
� Q-Q plot
Graphical Techniques
Graphical Techniques
Graphical Techniques
� ROC curves
� Sensibility = TP
TP+FN
� Specificity = TN
TN+FP
� 1 - Specificity = FP
TN+FP
Graphical Techniques
� ROC curves
Graphical Techniques
Graphical Techniques
Conclusions