Skip to content

Commit

Permalink
update pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
PHS-Meantrix committed Aug 26, 2024
1 parent 7d43e48 commit fa37007
Showing 1 changed file with 28 additions and 13 deletions.
41 changes: 28 additions & 13 deletions paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,26 @@ library("corrp")
results = corrp(iris, cor.nn = 'mic', cor.nc = 'pps', cor.cc = 'uncoef', n.cores = 2, verbose = FALSE)

head(results$data)
# infer infer.value stat stat.value isig msg varx vary
# Maximal Information Coefficient 0.9994870 P-value 0.0000000 TRUE Sepal.Length Sepal.Length
# Maximal Information Coefficient 0.2770503 P-value 0.0000000 TRUE Sepal.Length Sepal.Width
# Maximal Information Coefficient 0.7682996 P-value 0.0000000 TRUE Sepal.Length Petal.Length
# Maximal Information Coefficient 0.6683281 P-value 0.0000000 TRUE Sepal.Length Petal.Width
# Predictive Power Score 0.5591864 F1_weighted 0.7028029 TRUE Sepal.Length Species
# Maximal Information Coefficient 0.2770503 P-value 0.0000000 TRUE Sepal.Width Sepal.Length

| | infer | infer.value | stat | stat.value |
|------|---------------------------------|-------------|------------|------------|
| 1 | Maximal Information Coefficient | 0.9994870 | P-value | 0.0000000 |
| 2 | Maximal Information Coefficient | 0.2770503 | P-value | 0.0000000 |
| 3 | Maximal Information Coefficient | 0.7682996 | P-value | 0.0000000 |
| 4 | Maximal Information Coefficient | 0.6683281 | P-value | 0.0000000 |
| 5 | Predictive Power Score | 0.5591864 | F1_weighted| 0.7028029 |
| 6 | Maximal Information Coefficient | 0.2770503 | P-value | 0.0000000 |


| | isig | msg | varx | vary |
|------|-------|-------|--------------|--------------|
| 1 | TRUE | | Sepal.Length | Sepal.Length |
| 2 | TRUE | | Sepal.Length | Sepal.Width |
| 3 | TRUE | | Sepal.Length | Petal.Length |
| 4 | TRUE | | Sepal.Length | Petal.Width |
| 5 | TRUE | | Sepal.Length | Species |
| 6 | TRUE | | Sepal.Width | Sepal.Length |

```


Expand All @@ -96,12 +109,14 @@ Using the previous result, we can create a correlation matrix as follows:
```r
m = corr_matrix(results, col = 'infer.value', isig = TRUE)
m
# Sepal.Length Sepal.Width Petal.Length Petal.Width Species
# Sepal.Length 0.9994870 0.2770503 0.7682996 0.6683281 0.4075487
# Sepal.Width 0.2770503 0.9967831 0.4391362 0.4354146 0.2012876
# Petal.Length 0.7682996 0.4391362 1.0000000 0.9182958 0.7904907
# Petal.Width 0.6683281 0.4354146 0.9182958 0.9995144 0.7561113
# Species 0.5591864 0.3134401 0.9167580 0.9398532 0.9999758
| | Sepal.Length | Sepal.Width | Petal.Length | Petal.Width | Species |
|----------------|--------------|-------------|--------------|-------------|------------|
| Sepal.Length | 0.9994870 | 0.2770503 | 0.7682996 | 0.6683281 | 0.4075487 |
| Sepal.Width | 0.2770503 | 0.9967831 | 0.4391362 | 0.4354146 | 0.2012876 |
| Petal.Length | 0.7682996 | 0.4391362 | 1.0000000 | 0.9182958 | 0.7904907 |
| Petal.Width | 0.6683281 | 0.4354146 | 0.9182958 | 0.9995144 | 0.7561113 |
| Species | 0.5591864 | 0.3134401 | 0.9167580 | 0.9398532 | 0.9999758 |

# attr(,"class")
# [1] "cmatrix" "matrix"

Expand Down

0 comments on commit fa37007

Please sign in to comment.