Package: GaussSuppression 1.3.0

Øyvind Langsrud

GaussSuppression: Tabular Data Suppression using Gaussian Elimination

A statistical disclosure control tool to protect tables by suppression using the Gaussian elimination secondary suppression algorithm (Langsrud, 2024) <doi:10.1007/978-3-031-69651-0_6>. 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) <doi:10.1007/s11222-018-9848-9>.

Authors:Øyvind Langsrud [aut, cre], Daniel Lupp [aut], Hege Bøvelstad [ctb], Vidar Norstein Klungre [rev], Jonas Lindblad [ctb], Statistics Norway [cph]

GaussSuppression_1.3.0.tar.gz
GaussSuppression_1.3.0.zip(r-4.7)GaussSuppression_1.3.0.zip(r-4.6)GaussSuppression_1.3.0.zip(r-4.5)
GaussSuppression_1.3.0.tgz(r-4.6-any)GaussSuppression_1.3.0.tgz(r-4.5-any)
GaussSuppression_1.3.0.tar.gz(r-4.7-any)GaussSuppression_1.3.0.tar.gz(r-4.6-any)
GaussSuppression_1.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
GaussSuppression/json (API)

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

Bug tracker:https://github.com/statisticsnorway/ssb-gausssuppression/issues

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

On CRAN:

Conda:

7.30 score 4 stars 62 scripts 340 downloads 54 exports 7 dependencies

Last updated from:7ed7939d7f. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK238
source / vignettesOK200
linux-release-x86_64OK230
macos-release-arm64OK188
macos-oldrel-arm64OK182
windows-develOK199
windows-releaseOK196
windows-oldrelOK194
wasm-releaseOK573

Exports:AdditionalSuppressionCandidatesDefaultCandidatesNumCandidatesNumWgChainedSuppressionChainedSuppressionHiChainedSuppressionHi1ComputeIntervalsdefault_targetingDominanceRuleFixRiskyIntervalsForcedFromSuppressedDataForcedWgformula_selectionFormulaSelectionGaussSuppressDecGaussSuppressionGaussSuppressionFromDataGaussSuppressionTwoWayGetDefaultHierarchyContributorsIncrementalTimeSuppressionIntervalLimitsKDisclosurePrimaryLazyLinkedTablesMagnitudeRuleMaxContributionNcontributorsNcontributorsHoldingNcontributorsRuleNContributorsRuleNotPrimaryFromSuppressedDataPackageSpecsPPercentRulePrimaryDefaultPrimaryFromRiskyDefaultPrimaryFromSuppressedDataPrimaryRemoveWgSingletonDefaultSingletonUniqueContributorSingletonUniqueContributor0SSBtoolsDataSuppressDirectDisclosureSuppressDominantCellsSuppressFewContributorsSuppressionFromDecimalsSuppressKDisclosureSuppressLinkedTablesSuppressSmallCountstables_by_formulasX_from_mcX_from_mc_noinnerX_from_mc_removeX_from_mc_remove_noinner

Dependencies:ellipsislatticeMASSMatrixRegSDCrlangSSBtools

Linked table suppression
Introduction | Input data and examples | Function calls and output | SuppressLinkedTables() with dimVar | SuppressLinkedTables() with hierarchies | SuppressLinkedTables() with formula | SuppressSmallCounts() with formula and linkedGauss | tables_by_formulas() with formula and linkedGauss | The parameters recordAware and collapseAware | Interval protection

Last update: 2025-08-25
Started: 2025-08-25

Magnitude table suppression
Introduction | Initial basic examples | Using few contributors primary suppression | Using dominant cell primary suppression | An hierarchical table and two dominance rules | Using the formula interface | Using the contributorVar parameter (contributorVar = "company") | The singleton problem | Intervals

Last update: 2025-04-24
Started: 2023-06-06

Small count frequency table suppression
Introduction | An initial basic example | An hierarchical table | Using the formula interface | About suppression of zeros | Zeros not suppressed | Secondary suppressed zeros | Both structural and non-structural zeros | The problem of singletons and zeros | The problem of zeros | The problem of singletons | Intervals

Last update: 2025-04-24
Started: 2023-06-06

Defining Tables for GaussSuppression
Introduction and setup | Defining Table Dimensions | Creating tables using dimVar | Creating tables using hierarchies | Creating tables using formula | Tabulating continuous variables

Last update: 2025-02-07
Started: 2023-03-31

Readme and manuals

Help Manual

Help pageTopics
GaussSuppression from data and suppressed dataAdditionalSuppression
Candidates functionsCandidatesDefault CandidatesNum
Repeated GaussSuppression with forwarding of previous resultsChainedSuppression ChainedSuppressionHi ChainedSuppressionHi1
Function for calculating intervals for suppressed tables.ComputeIntervals
Default 'targeting' function for SuppressKDisclosure()default_targeting
Method for finding dominant cells according to (possibly multiple) n,k dominance rules.FindDominantCells
New primary cells to fix risky intervalsFixRiskyIntervals
Cell suppression with synthetic decimal numbersGaussSuppressDec
Cell suppression from input data containing inner cellsGaussSuppressionFromData
Two-way iteration variant of 'GaussSuppressionFromData'GaussSuppressionTwoWay
Construct feasibility interval requirementsIntervalLimits
Construct primary suppressed difference matrixKDisclosurePrimary
Linked tables by full 'GaussSuppressionFromData' iterationsLazyLinkedTables
Dominance (n,k) or p% rule for magnitude tablesDominanceRule MagnitudeRule PPercentRule
Find major contributions to aggregatesMaxContribution
Find the number of unique groups contributing to aggregatesNcontributors
'Ncontributors' with holding-indicatorNcontributorsHolding
Number of contributors suppression ruleNContributorsRule
Function for viewing built-in GaussSuppression specsPackageSpecs
Default primary functionPrimaryDefault
'primary' and 'forced' from suppressed dataForcedFromSuppressedData NotPrimaryFromSuppressedData PrimaryFromSuppressedData
Special functions for the avoidance of suppressionCandidatesNumWg ForcedWg PrimaryRemoveWg
Default singleton functionSingletonDefault
Unique contributor singleton functionSingletonUniqueContributor SingletonUniqueContributor0
Suppression of directly-disclosive cellsSuppressDirectDisclosure
Suppress magnitude tables using dominance (n,k) or p% rule for primary suppression.SuppressDominantCells
Few contributors suppressionSuppressFewContributors
Cell suppression from synthetic decimal numbersSuppressionFromDecimals
K-disclosure suppressionSuppressKDisclosure
Consistent Suppression of Linked TablesSuppressLinkedTables
Small count frequency table suppression.SuppressSmallCounts