Note Correlation Matrix generated using Pearson:
Each variable is shown on the diagonal
On the bottom of the diagonal: the bivariate scatter plots with a fitted line are displayed
On the top of the diagonal: the value of the correlation plus the significance level as stars
Each significance level is associated to a symbol: p-values(0, 0.001, 0.01, 0.05, 0.1, 1) <=> symbols('***', '**', '*', '.', ' ')
## SO2 H2S TRS NOX CO THC Flared Vented
## SO2 1.00 0.13 0.31 0.64 0.56 0.48 0.09 0.03
## H2S 0.13 1.00 -0.05 0.22 0.23 -0.09 -0.05 -0.01
## TRS 0.31 -0.05 1.00 0.36 0.29 0.50 -0.21 -0.28
## NOX 0.64 0.22 0.36 1.00 0.80 0.59 0.05 -0.02
## CO 0.56 0.23 0.29 0.80 1.00 0.46 0.08 0.10
## THC 0.48 -0.09 0.50 0.59 0.46 1.00 -0.02 0.05
## Flared 0.09 -0.05 -0.21 0.05 0.08 -0.02 1.00 0.57
## Vented 0.03 -0.01 -0.28 -0.02 0.10 0.05 0.57 1.00
##
## n= 142
##
##
## P
## SO2 H2S TRS NOX CO THC Flared Vented
## SO2 0.1109 0.0001 0.0000 0.0000 0.0000 0.3085 0.6826
## H2S 0.1109 0.5835 0.0098 0.0063 0.2791 0.5873 0.9144
## TRS 0.0001 0.5835 0.0000 0.0004 0.0000 0.0131 0.0006
## NOX 0.0000 0.0098 0.0000 0.0000 0.0000 0.5237 0.8117
## CO 0.0000 0.0063 0.0004 0.0000 0.0000 0.3724 0.2593
## THC 0.0000 0.2791 0.0000 0.0000 0.0000 0.7865 0.5233
## Flared 0.3085 0.5873 0.0131 0.5237 0.3724 0.7865 0.0000
## Vented 0.6826 0.9144 0.0006 0.8117 0.2593 0.5233 0.0000
The output includes:
r: The correlation matrix
n: the matrix of the number of observations used in analyzing each pair of variables
P: the p-values corresponding to the significance levels of correlations
Note Correlation Matrix generated using Pearson:
Each variable is shown on the diagonal
On the bottom of the diagonal: the bivariate scatter plots with a fitted line are displayed
On the top of the diagonal: the value of the correlation plus the significance level as stars
Each significance level is associated to a symbol: p-values(0, 0.001, 0.01, 0.05, 0.1, 1) <=> symbols('***', '**', '*', '.', ' ')
## SO2 H2S TRS NOX CO THC Flared Vented
## SO2 1.00 0.33 0.49 0.53 0.45 0.54 0.14 0.08
## H2S 0.33 1.00 0.26 0.39 0.35 0.26 -0.05 -0.10
## TRS 0.49 0.26 1.00 0.56 0.52 0.68 0.00 0.02
## NOX 0.53 0.39 0.56 1.00 0.81 0.64 0.06 -0.01
## CO 0.45 0.35 0.52 0.81 1.00 0.59 0.10 0.12
## THC 0.54 0.26 0.68 0.64 0.59 1.00 0.03 0.07
## Flared 0.14 -0.05 0.00 0.06 0.10 0.03 1.00 0.57
## Vented 0.08 -0.10 0.02 -0.01 0.12 0.07 0.57 1.00
##
## n= 142
##
##
## P
## SO2 H2S TRS NOX CO THC Flared Vented
## SO2 0.0000 0.0000 0.0000 0.0000 0.0000 0.0854 0.3153
## H2S 0.0000 0.0017 0.0000 0.0000 0.0017 0.5610 0.2143
## TRS 0.0000 0.0017 0.0000 0.0000 0.0000 0.9621 0.8516
## NOX 0.0000 0.0000 0.0000 0.0000 0.0000 0.4569 0.9064
## CO 0.0000 0.0000 0.0000 0.0000 0.0000 0.2383 0.1625
## THC 0.0000 0.0017 0.0000 0.0000 0.0000 0.6854 0.3783
## Flared 0.0854 0.5610 0.9621 0.4569 0.2383 0.6854 0.0000
## Vented 0.3153 0.2143 0.8516 0.9064 0.1625 0.3783 0.0000
The output includes:
r: The correlation matrix
n: the matrix of the number of observations used in analyzing each pair of variables
P: the p-values corresponding to the significance levels of correlations