Learn R Programming

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

SmallCountRounding (version 0.6.0)

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

251

Version

0.6.0

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Oyvind Langsrud

Last Published

October 15th, 2020

Functions in SmallCountRounding (0.6.0)

FindMaxDiff

Calculate maxdiff nMaxdiff
PLS2way

Two-way table from PLSrounding output
Round2

Small count rounding by various methods
RoundViaDummy

Small Count Rounding of Tabular Data
Lists2formula

Make formula from input parameters to makeroundtabs()
HD

Hellinger Distance (Utility)
PLSrounding

PLS inspired rounding
print.PLSrounded

Print method for PLSrounded
roundcube

function roundcube
RoundViaDummy2

RoundViaDummy2
MakeControl

Make suggested control - input to makeroundtabs()
SmallCountData

Function that returns a dataset
sosialFiktiv

Fictitious datasets used in the examples.
SmallCountRounding-package

Small Count Rounding of Tabular Data
makeroundtabs

function makeroundtabs
aggrtab

function aggrtab
ModelMatrix

Overparameterized model matrix
redcube

function redcube