Package: gips 1.2.3.9000

Adam Przemysław Chojecki

gips: Gaussian Model Invariant by Permutation Symmetry

Find the permutation symmetry group such that the covariance matrix of the given data is approximately invariant under it. Discovering such a permutation decreases the number of observations needed to fit a Gaussian model, which is of great use when it is smaller than the number of variables. Even if that is not the case, the covariance matrix found with 'gips' approximates the actual covariance with less statistical error. The methods implemented in this package are described in Graczyk et al. (2022) <doi:10.1214/22-AOS2174>. Documentation about 'gips' is provided via its website at <https://przechoj.github.io/gips/> and the paper by Chojecki, Morgen, Kołodziejek (2025, <doi:10.18637/jss.v112.i07>).

Authors:Adam Przemysław Chojecki [aut, cre], Paweł Morgen [aut], Bartosz Kołodziejek [aut]

gips_1.2.3.9000.tar.gz
gips_1.2.3.9000.zip(r-4.7)gips_1.2.3.9000.zip(r-4.6)gips_1.2.3.9000.zip(r-4.5)
gips_1.2.3.9000.tgz(r-4.6-x86_64)gips_1.2.3.9000.tgz(r-4.6-arm64)gips_1.2.3.9000.tgz(r-4.5-x86_64)gips_1.2.3.9000.tgz(r-4.5-arm64)
gips_1.2.3.9000.tar.gz(r-4.7-arm64)gips_1.2.3.9000.tar.gz(r-4.7-x86_64)gips_1.2.3.9000.tar.gz(r-4.6-arm64)gips_1.2.3.9000.tar.gz(r-4.6-x86_64)
gips_1.2.3.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
gips/json (API)

# Install 'gips' in R:
install.packages('gips', repos = c('https://przechoj.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/przechoj/gips/issues

Pkgdown/docs site:https://przechoj.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

covariance-estimationmachine-learningnormal-distributioncpp

7.22 score 9 stars 1 packages 34 scripts 711 downloads 16 exports 17 dependencies

Last updated from:1631af2467. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK203
linux-devel-x86_64OK225
source / vignettesOK225
linux-release-arm64OK238
linux-release-x86_64OK165
macos-release-arm64OK145
macos-release-x86_64OK227
macos-oldrel-arm64OK112
macos-oldrel-x86_64OK207
windows-develOK143
windows-releaseOK195
windows-oldrelOK151
wasm-releaseOK152

Exports:calculate_gamma_functioncompare_log_posteriories_of_permscompare_posteriories_of_permsfind_MAPforget_permsget_probabilities_from_gipsget_structure_constantsgipsgips_permlog_posteriori_of_gipsnew_gipsnew_gips_permprepare_orthogonal_matrixproject_matrixvalidate_gipsvalidate_gips_perm

Dependencies:abinddigestdisordRfreealggmplatticemagicMatrixnumberspartitionspermutationspolynomrbibutilsRcppRdpackrlangsets

A Gentle Introduction to Modeling with gips
The problem | Invariance by permutation | Package gips | Practical example | Theoretic example | Further reading

Last update: 2026-06-24
Started: 2022-09-14

Available Optimizers: How to Find Maximum A Posteriori?
What are we optimizing? | Available optimizers | Note on computation time | Brute Force | Example | Metropolis-Hastings | Short description | Notes | Hill climbing | Pseudocode | Continuing the optimization | sigma_matrix is the real covariance matrix, that we want to estimate | Additional parameters | Discussion | References

Last update: 2026-06-24
Started: 2022-09-06

The Theory Behind gips
What the gips is based on | Alternative reference | Basic definitions | Block Decomposition - [1], Theorem 1 | Examples | Project Matrix - [1, Eq. (6)] | Trivial case | Notation | Example | $C_\sigma$ and n0 | Bayesian model selection | General workflow | Details on the prior distribution | gips technical details | Interpretation | Finding the MAP Estimator | Generate example data from a model: | End of prepare model | Information Criterion - AIC and BIC | Estimated mean | References

Last update: 2026-06-24
Started: 2022-09-13