Models for Correlation Matrices Based on Graphs

Implement some models for correlation/covariance matrices including two approaches to model correlation matrices from a graphical structure. One use latent parent variables as proposed in Sterrantino et. al. (2024) . The other uses a graph to specify conditional relations between the variables. The graphical structure makes correlation matrices interpretable and avoids the quadratic increase of parameters as a function of the dimension. In the first approach a natural sequence of simpler models along with a complexity penalization is used. The second penalizes deviations from a base model. These can be used as prior for model parameters, considering C code through the 'cgeneric' interface for the 'INLA' package (< https://www.r-inla.org>). This allows one to use these models as building blocks combined and to other latent Gaussian models in order to build complex data models.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("graphpcor")

0.1.25 by Elias Teixeira Krainski, 5 months ago


Browse source code at https://github.com/cran/graphpcor


Authors: Elias Teixeira Krainski [cre, aut, cph] (ORCID: , Denis Rustand [aut, cph] (ORCID: , Anna Freni-Sterrantino [aut, cph] (ORCID: , Janet van Niekerk [aut, cph] (ORCID: , Haavard Rue’ [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports methods, stats, utils, igraph

Depends on Matrix, INLAtools, numDeriv

Suggests knitr, INLA


See at CRAN