Learn R Programming

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

RegSDC (version 0.4.0)

Information Preserving Regression-Based Tools for Statistical Disclosure Control

Description

Implementation of the methods described in the paper with the above title: Langsrud, <98>. (2019) . Open view-only version at . The package can be used to generate synthetic or hybrid continuous microdata, and the relationship to the original data can be controlled in several ways. A function for replacing suppressed tabular cell frequencies with decimal numbers is included.

Copy Link

Version

Install

install.packages('RegSDC')

Monthly Downloads

469

Version

0.4.0

License

Apache License 2.0 | file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Oyvind Langsrud

Last Published

May 8th, 2020

Functions in RegSDC (0.4.0)

RegSDCgen

Regression-based SDC Tools - General data generation
RegSDCnew

Regression-based SDC Tools - Scores from new data
RegSDCipso

Regression-based SDC Tools - Ordinary synthetic data (IPSO)
RegSDCcomp

Regression-based SDC Tools - Component score correlation control
RegSDCdata

Function that returns a dataset
RegSDCromm

Regression-based SDC Tools - Random orthogonal matrix masking (ROMM)
RoundWhole

Round values that are close two whole numbers
RegSDChybrid

Regression-based SDC Tools - Generalized microaggregation
SuppressDec

Suppressed tabular data: Inner cell frequencies as decimal numbers
EnsureMatrix

Ensure that input is matrix (by as.matrix) and check number of rows (and columns)
Z2Yhat

Suppressed tabular data: Yhat from X and Z
CalculateCdirect

Calculation of C by solving equation 10 in the paper
GenQR

Generalized QR decomposition
RegSDCadd

Regression-based SDC Tools - Synthetic addition with residual correlation control
FindAlpha

Calculation of alpha
IpsoExtra

Extended variant of RegSDCipso
ReduceX

Suppressed tabular data: Reduce dummy matrix, X (and estimate Y)
EnsureIntercept

Ensure constant term in matrix
RegSDCaddGen

Regression-based SDC Tools - Synthetic addition
Cdiff

Matrix difference (a-b) including checking for equal columns