Executive Summary
Our company recently measured the iris flower and get the iris
dataset. We would like to….
Introduction
Our company recently measured the iris flower and get the iris
dataset. We would like to…. - 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
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: 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 With
##
## 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 |
Plot

- What is the distribution of each variable
Normality: Sepal Length
##
## ---------------
## Variable: sepal_length
## ---------------
##
## Normality Test
| 0.9756 |
0.009234 |
Shapiro-Wilk normality test |
Normality: Sepal With
##
## ---------------
## Variable: sepal_width
## ---------------
##
## Normality Test
| 0.985 |
0.1062 |
Shapiro-Wilk normality test |
Normality: Petal Length
##
## ---------------
## Variable: petal_length
## ---------------
##
## Normality Test
| 0.8768 |
8.635e-10 |
Shapiro-Wilk normality test |
Normality: Petal With
##
## ---------------
## Variable: petal_width
## ---------------
##
## Normality Test
| 0.9019 |
1.853e-08 |
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 |