| Literature DB >> 32883199 |
Abstract
BACKGROUND: R package mbend was developed for bending symmetric non-positive-definite matrices to positive-definite (PD). Bending is a procedure of transforming non-PD matrices to PD. The covariance matrices used in multi-trait best linear unbiased prediction (BLUP) should be PD. Two bending methods are implemented in mbend. The first is an unweighted bending with small positive values in a descending order replacing negative eigenvalues (LRS14), and the second method is a weighted (precision-based) bending with a custom small positive value (ϵ) replacing smaller eigenvalues (HJ03). Weighted bending is beneficial, as it relaxes low precision elements to change and it reduces or prohibits the change in high precision elements. Therefore, a weighted version of LRS14 was developed in mbend. In cases where the precision of matrix elements is unknown, the package provides an unweighted version of HJ03. Another unweighted bending method (DB88) was tested, by which all eigenvalues are changed (eigenvalues less than ϵ replaced with 100 × ϵ), and it is originally designed for correlation matrices.Entities:
Keywords: Bending; Eigenvalue; Matrix; Positive-definite; R
Mesh:
Year: 2020 PMID: 32883199 PMCID: PMC7469428 DOI: 10.1186/s12863-020-00881-z
Source DB: PubMed Journal: BMC Genet ISSN: 1471-2156 Impact factor: 2.797
Deviation and correlation between the upper triangle elements of V(5 × 5) (the covariance matrix) and its unweighted bent matrix
| Statistics | HJ03–2 | HJ03–4 | LRS14 | DB88–4 |
|---|---|---|---|---|
| Min (dev.) | −5.9320 | −5.9296 | −5.9370 | −10.9546 |
| Max (dev.) | 6.5016 | 6.4973 | 6.5418 | 2.6427 |
| Mean (dev.) | 0.7241 | 0.7235 | 0.7330 | −2.9890 |
| AAD | 3.3754 | 3.3727 | 3.4087 | 3.6937 |
| Correlation | 0.9856 | 0.9856 | 0.9855 | 0.9833 |
| RMSD | 3.9300 | 3.9275 | 3.9542 | 5.0784 |
| Number of iterations | 1 | 1 | 1 | 1 |
dev. = bend(V) – V; AAD = average absolute deviation; RMSD = root of mean squared deviation; Method of Jorjani et al. [4] with ϵ = 10−2; Method of Jorjani et al. [4] with ϵ = 10−4; Method of Schaeffer [3]; Method of Bock et al. [7] with ϵ = 10−4
Deviation and correlation between the upper triangle elements of V(5 × 5) (the covariance matrix) and its weighted (using W(5 × 5)) bent matrix
| Statistics | HJ03–2 | HJ03–4 | LRS14 |
|---|---|---|---|
| Min (dev.) | −20.0068 | −20.0008 | −19.9923 |
| Max (dev.) | 5.8467 | 5.8456 | 5.8638 |
| Mean (dev.) | −1.7167 | −1.7161 | −1.7158 |
| AAD | 3.6262 | 3.6253 | 3.6338 |
| Weighted AAD | 0.6102 | 0.6100 | 0.6122 |
| Correlation | 0.9623 | 0.9623 | 0.9622 |
| Weighted correlation | 0.9955 | 0.9955 | 0.9955 |
| RMSD | 6.3706 | 6.3687 | 6.3748 |
| Weighted RMSD | 0.5328 | 0.5327 | 0.5347 |
| Number of iterations | 248 | 428 | 787 |
dev. = bend(V) – V; AAD = average absolute deviation; RMSD = root of mean squared deviation; Method of Jorjani et al. [4] with ϵ = 10−2; Method of Jorjani et al. [4] with ϵ = 10−4; Method of Schaeffer [3]
Deviation and correlation between the upper triangle (excluding diagonal) elements of C(5 × 5) (the correlation matrix) and its unweighted bent matrix
| Statistics | HJ03–2 | HJ03–4 | LRS14 | DB88–4 |
|---|---|---|---|---|
| Min (dev.) | −0.0826 | −0.0797 | −0.0788 | −0.1095 |
| Max (dev.) | 0.0725 | 0.0702 | 0.0717 | 0.0264 |
| Mean (dev.) | −0.0200 | −0.0194 | −0.0204 | −0.0448 |
| AAD | 0.0490 | 0.0475 | 0.0491 | 0.0554 |
| Correlation | 0.9841 | 0.9853 | 0.9854 | 0.9896 |
| RMSD | 0.0537 | 0.0520 | 0.0530 | 0.0622 |
| Number of iterations | 4 | 13 | 39 | 1 |
dev. = bend(V) – V; AAD = average absolute deviation; RMSD = root of mean squared deviation; Method of Jorjani et al. [4] with ϵ = 10−2; b Method of Jorjani et al. [4] with ϵ = 10−4; Method of Schaeffer [3]; Method of Bock et al. [7] with ϵ = 10−4
Deviation and correlation between the upper triangle (excluding diagonal) elements of C(5 × 5) (the correlation matrix) and its weighted (using W(5 × 5)) bent matrix
| Statistics | HJ03–2 | HJ03–4 | LRS14 |
|---|---|---|---|
| Min (dev.) | −0.2056 | −0.1995 | −0.1994 |
| Max (dev.) | 0.0644 | 0.0630 | 0.0632 |
| Mean (dev.) | −0.0293 | −0.0284 | −0.0284 |
| AAD | 0.0569 | 0.0554 | 0.0555 |
| Weighted AAD | 0.0146 | 0.0142 | 0.0142 |
| Correlation | 0.9428 | 0.9463 | 0.9462 |
| Weighted correlation | 0.9939 | 0.9943 | 0.9942 |
| RMSD | 0.0828 | 0.0803 | 0.0804 |
| Weighted RMSD | 0.0110 | 0.0107 | 0.0108 |
| Number of iterations | 88 | 286 | 694 |
dev. = bend(V) – V; AAD = average absolute deviation; RMSD = root of mean squared deviation; Method of Jorjani et al. [4] with ϵ = 10−2; Method of Jorjani et al. [4] with ϵ = 10−4; Method of Schaeffer [3]
Fig. 1Boxplot of the upper triangle elements of for different methods. = bent G; a Method of Jorjani et al. [4] with ϵ = 10−4; b Method of Schaeffer [3]; c Method of Bock et al. [7] with ϵ = 10−4