Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

SmallCountRounding (version 1.0.3)

Small Count Rounding of Tabular Data

Description

A statistical disclosure control tool to protect frequency tables in cases where small values are sensitive. The function PLSrounding() performs small count rounding of necessary inner cells 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. The methodology is described in Langsrud and Heldal (2018) .

Copy Link

Version

Install

install.packages('SmallCountRounding')

Monthly Downloads

321

Version

1.0.3

License

Apache License 2.0

Issues

Pull Requests

Stars

Forks

Maintainer

Oyvind Langsrud

Last Published

November 16th, 2022

Functions in SmallCountRounding (1.0.3)

MakeControl

Make suggested control - input to makeroundtabs()
PLSroundingLoop

PLSrounding on portions of data at a time
PLSrounding

PLS inspired rounding
Round2

Small count rounding by various methods
HD

Hellinger Distance (Utility)
RoundViaDummy2

RoundViaDummy2
SmallCountData

Function that returns a dataset
SmallCountRounding-package

Small Count Rounding of Tabular Data
roundcube

function roundcube
makeroundtabs

function makeroundtabs
redcube

function redcube
aggrtab

function aggrtab
print.PLSrounded

Print method for PLSrounded
FindMaxDiff

Calculate maxdiff nMaxdiff
PLSroundingFits

Small count rounding with post-processing to expected frequencies
PLS2way

Two-way table from PLSrounding output
Lists2formula

Make formula from input parameters to makeroundtabs()
RoundViaDummy

Small Count Rounding of Tabular Data