Package: GaussSuppression 0.9.1

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

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

Peer review:

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

On CRAN:

6.65 score 3 stars 41 scripts 425 downloads 50 exports 13 dependencies

Last updated 13 days agofrom:e5e359f2b9. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winOKNov 08 2024
R-4.5-linuxOKNov 08 2024
R-4.4-winOKNov 08 2024
R-4.4-macOKNov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

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 Nov 08 2024.

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

Magnitude table suppression

Rendered fromMagnitude_table_suppression.Rmdusingknitr::rmarkdownon Nov 08 2024.

Last update: 2024-01-09
Started: 2023-06-06

Small count frequency table suppression

Rendered fromSmall_count_frequency_table_suppression.Rmdusingknitr::rmarkdownon Nov 08 2024.

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

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