graphpcor: 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) <doi:10.48550/arXiv.2312.06289>. 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.

Getting started

Package details

AuthorElias Krainski [cre, aut, cph] (<https://orcid.org/0000-0002-7063-2615>), Denis Rustand [aut, cph] (<https://orcid.org/0000-0001-9708-5220>), Anna Freni-Sterrantino [aut, cph] (<https://orcid.org/0000-0002-6602-6209>), Janet van Niekerk [aut, cph] (<https://orcid.org/0000-0002-4334-2057>), Haavard Rue’ [aut] (<https://orcid.org/0000-0002-0222-1881>)
MaintainerElias Krainski <eliaskrainski@gmail.com>
LicenseGPL (>= 2)
Version0.1.12
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("graphpcor")

Try the graphpcor package in your browser

Any scripts or data that you put into this service are public.

graphpcor documentation built on June 8, 2025, 10:37 a.m.