Executive Summary
Our company recently measured the iris flower and derive the iris
dataset. We would like to know more abou the data.
INtroduction
Our company recently measured the iris flower and derive the iris
dataset. We would like to know more abou the data. - How are the
variables correlated to each other? - What is the distribution of each
variable? - How same are the variables?
Data Source
company recently measured the iris flower and derive the iris
dataset.
Key Findings
How are the variables correlated to each other?
Correlation Matrix
##
## Please cite as:
## Hlavac, Marek (2022). stargazer: Well-Formatted Regression and Summary Statistics Tables.
## R package version 5.2.3. https://CRAN.R-project.org/package=stargazer
## 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 data Petal Length Petal Width
## Warning: package 'pander' was built under R version 4.5.3
## Warning: package 'broom' was built under R version 4.5.3
##
## 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 data SepalLength Spal 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 |
Scatter

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 |
4.976e-27 |
Wilcoxon rank sum test with continuity
correction |
two.sided |
Wilcoxon Sepal Length Sepal Width
| 22199 |
2.084e-50 |
Wilcoxon rank sum test with continuity
correction |
two.sided |
Conclusions