Small Count Rounding of Tabular Data
function makeroundtabs
Two-way table from PLSrounding output
PLS inspired rounding
Small count rounding with post-processing to expected frequencies
RoundViaDummy2
Function that returns a dataset
Hellinger Distance (Utility)
function aggrtab
Calculate maxdiff nMaxdiff
FormulaSelection method for PLSrounded
Make formula from input parameters to makeroundtabs()
Make suggested control - input to makeroundtabs()
PLSrounding on portions of data at a time
Print method for PLSrounded
function redcube
Small count rounding by various methods
function roundcube
Small Count Rounding of Tabular Data
Small Count Rounding of Tabular Data
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) <https://www.researchgate.net/publication/327768398_An_Algorithm_for_Small_Count_Rounding_of_Tabular_Data>.
Useful links