Skip to content

statisticsnorway/ssb-smallcountrounding

Repository files navigation

R package SmallCountRounding

SmallCountRounding on CRAN pkgdown website GitHub Repository

Mentioned in Awesome Official Statistics

Small Count Rounding of Tabular Data

See the package vignette: Introduction to ‘SmallCountRounding’


Installation

You can install SmallCountRounding from CRAN with

install.packages("SmallCountRounding")

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


A statistical disclosure control tool to protect frequency tables in cases where small values are sensitive

The main function, PLSrounding(), performs small count rounding of necessary inner cells (Heldal, 2017) so that all small frequencies of cross-classifications to be published (publishable cells) are rounded. This is equivalent to changing micro data since frequencies of unique combinations are changed. Thus, additivity and consistency are guaranteed. This is performed by an algorithm inspired by partial least squares regression (Langsrud and Heldal, 2018).

References

Heldal, J.: The European Census Hub 2011 Hypercubes - Norwegian SDC Experiences. In: Work Session on Statistical Data Confidentiality (2017), Skopje, The former Yugoslav Republic of Macedonia, September 20-22 , 2017.

Langsrud, Ø. and Heldal, J.: An Algorithm for Small Count Rounding of Tabular Data. To be presented at: Privacy in statistical databases, Valencia, Spain. September 26-28, 2018. Full-text and presentation available at Researchgate.


📌 See the broader list of available functions.


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

About

R package for Small Count Rounding of Tabular Data

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published