Package: GaussSuppression 0.9.2

Ø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], Statistics Norway [cph]

GaussSuppression_0.9.2.tar.gz
GaussSuppression_0.9.2.tar.gz(r-4.5-noble)GaussSuppression_0.9.2.tar.gz(r-4.4-noble)
GaussSuppression_0.9.2.tgz(r-4.4-emscripten)GaussSuppression_0.9.2.tgz(r-4.3-emscripten)
GaussSuppression.pdf |GaussSuppression.html
GaussSuppression/json (API)
NEWS

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

Peer review:

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

3.26 score 50 scripts 348 downloads 52 exports 13 dependencies

Last updated 17 days agofrom:be5e08f498. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 09 2024
R-4.5-linuxOKDec 09 2024

Exports:AdditionalSuppressionCandidatesDefaultCandidatesNumCandidatesNumWgChainedSuppressionChainedSuppressionHiChainedSuppressionHi1ComputeIntervalsDominanceRuleFixRiskyIntervalsForcedFromSuppressedDataForcedWgformula_selectionFormulaSelectionGaussSuppressDecGaussSuppressionGaussSuppressionFromDataGaussSuppressionTwoWayGetDefaultHierarchyContributorsIncrementalTimeSuppressionKDisclosurePrimaryLazyLinkedTablesMagnitudeRuleMaxContributionNcontributorsNcontributorsHoldingNcontributorsRuleNContributorsRuleNotPrimaryFromSuppressedDataPackageSpecsPPercentRulePrimaryDefaultPrimaryFromRiskyDefaultPrimaryFromSuppressedDataPrimaryRemoveWgRangeLimitsDefaultRangeOutputFunctionSingletonDefaultSingletonUniqueContributorSingletonUniqueContributor0SSBtoolsDataSuppressDirectDisclosureSuppressDominantCellsSuppressFewContributorsSuppressionFromDecimalsSuppressKDisclosureSuppressSmallCountsX_from_mcX_from_mc_noinnerX_from_mc_removeX_from_mc_remove_noinner

Dependencies:cligluelatticelifecyclemagrittrMASSMatrixRegSDCrlangSSBtoolsstringistringrvctrs

Defining Tables for GaussSuppression

Rendered fromdefine_tables.Rmdusingknitr::rmarkdownon Dec 09 2024.

Last update: 2024-05-23
Started: 2023-03-31

Magnitude table suppression

Rendered fromMagnitude_table_suppression.Rmdusingknitr::rmarkdownon Dec 09 2024.

Last update: 2024-12-09
Started: 2023-06-07

Small count frequency table suppression

Rendered fromSmall_count_frequency_table_suppression.Rmdusingknitr::rmarkdownon Dec 09 2024.

Last update: 2023-06-07
Started: 2023-06-07

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
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 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 range limit functionRangeLimitsDefault
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
Small count frequency table suppression.SuppressSmallCounts