Executive Summary
Our company recently measured the iris flower and get the iris
dataset.
Introduction
Our company recently measured the iris flower and get the iris
dataset. - How are the variables correlated to each other? - What is the
distribution of each variable? - How same are the variables?
Data Source
measured the iris flower and get the iris dataset.
Key Findings
- How are the variables correlated to each other?
Correlation matrix
## sepal_length sepal_width petal_length petal_width
## sepal_length 1.0000000 -0.1181293 0.8737381 0.8206195
## sepal_width -0.1181293 1.0000000 -0.4260283 -0.3628942
## petal_length 0.8737381 -0.4260283 1.0000000 0.9627723
## petal_width 0.8206195 -0.3628942 0.9627723 1.0000000
Correlation: Petal Length, Petal Width
##
## Pearson
## [1] 0.9627723
##
## Spearman
## [1] 0.9376545
##
## Kendall
## [1] 0.8065882
Table continues below
| 0.9628 |
43.18 |
2.082e-85 |
147 |
0.9489 |
0.9729 |
| Pearson’s product-moment correlation |
two.sided |
Correlation: Sepal Length, Sepal Width
##
## Pearson
## [1] -0.1181293
##
## Spearman
## [1] -0.1681023
##
## Kendall
## [1] -0.0786184
Table continues below
| -0.1181 |
-1.442 |
0.1513 |
147 |
-0.2737 |
0.0435 |
| Pearson’s product-moment correlation |
two.sided |
Plots

What is the distribution of each variable?
Normality: Petal Length
##
## ---------------
## Variable: petal_length
## ---------------
##
## Normality Test
| 0.8768 |
8.635e-10 |
Shapiro-Wilk normality test |
Normality: Petal Width
##
## ---------------
## Variable: petal_width
## ---------------
##
## Normality Test
| 0.9019 |
1.853e-08 |
Shapiro-Wilk normality test |
Normality: Sepal Length
##
## ---------------
## Variable: sepal_length
## ---------------
##
## Normality Test
| 0.9756 |
0.009234 |
Shapiro-Wilk normality test |
Normality: Sepal Width
##
## ---------------
## Variable: sepal_width
## ---------------
##
## Normality Test
| 0.985 |
0.1062 |
Shapiro-Wilk normality test |
- How same are the variables?
Wilcoxon: Petal Length, Petal Width
| 19099 |
0 |
Wilcoxon rank sum test with continuity
correction |
two.sided |
Wilcoxon: Sepal Length, Sepal Width
| 22199 |
0 |
Wilcoxon rank sum test with continuity
correction |
two.sided |