Package: GaussSuppression 0.8.8

Ø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. 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.8.8.tar.gz
GaussSuppression_0.8.8.tar.gz(r-4.5-noble)GaussSuppression_0.8.8.tar.gz(r-4.4-noble)
GaussSuppression_0.8.8.tgz(r-4.4-emscripten)GaussSuppression_0.8.8.tgz(r-4.3-emscripten)
GaussSuppression.pdf |GaussSuppression.html
GaussSuppression/json (API)
NEWS

# InstallGaussSuppression 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

50 exports 0.49 score 13 dependencies 340 downloads

Last updated 7 days agofrom:0d7b2ef63b

Exports:AdditionalSuppressionCandidatesDefaultCandidatesNumCandidatesNumWgChainedSuppressionChainedSuppressionHiChainedSuppressionHi1ComputeIntervalsDominanceRuleFixRiskyIntervalsForcedFromSuppressedDataForcedWgGaussSuppressDecGaussSuppressionGaussSuppressionFromDataGaussSuppressionTwoWayGetDefaultHierarchyContributorsIncrementalTimeSuppressionKDisclosurePrimaryLazyLinkedTablesMagnitudeRuleMaxContributionNcontributorsNcontributorsHoldingNcontributorsRuleNContributorsRuleNotPrimaryFromSuppressedDataPackageSpecsPPercentRulePrimaryDefaultPrimaryFromRiskyDefaultPrimaryFromSuppressedDataPrimaryRemoveWgRangeLimitsDefaultRangeOutputFunctionSingletonDefaultSingletonUniqueContributorSingletonUniqueContributor0SSBtoolsDataSuppressDirectDisclosureSuppressDominantCellsSuppressFewContributorsSuppressionFromDecimalsSuppressKDisclosureSuppressSmallCountsX_from_mcX_from_mc_noinnerX_from_mc_removeX_from_mc_remove_noinner

Dependencies:cligluelatticelifecyclemagrittrMASSMatrixRegSDCrlangSSBtoolsstringistringrvctrs

Defining Tables for GaussSuppression

Rendered fromdefine_tables.Rmdusingknitr::rmarkdownon Jun 29 2024.

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

Magnitude table suppression

Rendered fromMagnitude_table_suppression.Rmdusingknitr::rmarkdownon Jun 29 2024.

Last update: 2024-02-03
Started: 2023-06-07

Small count frequency table suppression

Rendered fromSmall_count_frequency_table_suppression.Rmdusingknitr::rmarkdownon Jun 29 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