Skip to contents
GaussSuppression on CRAN pkgdown website GitHub Repository

Mentioned in Awesome Official Statistics

R-package to protect tables by suppression using the Gaussian elimination algorithm

A statistical disclosure control tool to protect tables by suppression using the Gaussian elimination secondary suppression algorithm (Langsrud, 2024). A suggestion is to start by working with functions SuppressSmallCounts() and SuppressDominantCells(). These functions use primary suppression functions for the minimum frequency rule and the dominance rule, respectively. Novel functionality for suppression of disclosive cells is also included. General primary suppression functions can be supplied as input to the general working horse function, GaussSuppressionFromData(). Suppressed frequencies can be replaced by synthetic decimal numbers as described in Langsrud (2019).


📌 See the broader list of available functions.


See the package vignettes: Magnitude table suppression, Small count frequency table suppression, Defining tables for GaussSuppression.


Installation

You can install GaussSuppression from CRAN with

install.packages("GaussSuppression")

Alternatively install from GitHub bydevtools::install_github("statisticsnorway/ssb-gausssuppression") if you want to test the newest changes.


Official version on CRAN: https://cran.r-project.org/package=GaussSuppression