From 0e4c5d2fcb5c645219e869b06ad9d0967804bfcc Mon Sep 17 00:00:00 2001 From: matthias-da Date: Mon, 26 Jul 2021 14:54:27 +0200 Subject: [PATCH] new Rd files --- man/addNoise.Rd | 1 - man/dRisk.Rd | 6 ++++-- man/dUtility.Rd | 6 ++++-- man/dataGen.Rd | 5 ++--- man/il_additional.Rd | 16 ++++++++++------ src/RcppExports.cpp | 5 ----- 6 files changed, 20 insertions(+), 19 deletions(-) diff --git a/man/addNoise.Rd b/man/addNoise.Rd index 13f36bdf..f8659b3d 100644 --- a/man/addNoise.Rd +++ b/man/addNoise.Rd @@ -72,7 +72,6 @@ security of noise addition for privacy in statistical databases}, Lecture Notes in Computer Science, vol. 3050, pp. 149-161, 2004. ISSN 0302-9743. Vol. Privacy in Statistical Databases, eds. J. Domingo-Ferrer and V. Torra, Berlin: Springer-Verlag. -\url{https://crises-deim.urv.cat/webCrises/publications/isijcr/lncs3050OntheSec.pdf}, Ting, D. Fienberg, S.E. and Trottini, M. \dQuote{ROMM Methodology for Microdata Release} Joint UNECE/Eurostat work session on statistical data diff --git a/man/dRisk.Rd b/man/dRisk.Rd index efabc00f..3b9e834e 100644 --- a/man/dRisk.Rd +++ b/man/dRisk.Rd @@ -46,8 +46,10 @@ sdc <- createSdcObj(testdata2, ## and already stored in sdc } \references{ -see method SDID in -\url{https://crises-deim.urv.cat/webCrises/publications/isijcr/lncs3050Outlier.pdf} +see method SDID in Mateo-Sanz, Sebe, Domingo-Ferrer. +Outlier Protection in Continuous Microdata Masking. +International Workshop on Privacy in Statistical Databases. +PSD 2004: Privacy in Statistical Databases pp 201-215. Templ, M. Statistical Disclosure Control for Microdata: Methods and Applications in R. \emph{Springer International Publishing}, 287 pages, 2017. ISBN 978-3-319-50272-4. diff --git a/man/dUtility.Rd b/man/dUtility.Rd index 07d4f62a..840cd120 100644 --- a/man/dUtility.Rd +++ b/man/dUtility.Rd @@ -67,8 +67,10 @@ sdc <- createSdcObj(testdata2, } \references{ -for IL1 and IL1s: see -\url{https://crises-deim.urv.cat/webCrises/publications/isijcr/lncs3050Outlier.pdf}, +for IL1 and IL1s: see Mateo-Sanz, Sebe, Domingo-Ferrer. +Outlier Protection in Continuous Microdata Masking. +International Workshop on Privacy in Statistical Databases. +PSD 2004: Privacy in Statistical Databases pp 201-215. Templ, M. and Meindl, B., \verb{Robust Statistics Meets SDC: New Disclosure Risk Measures for Continuous Microdata Masking}, Lecture Notes in Computer Science, Privacy in Statistical Databases, vol. 5262, pp. 113-126, 2008. diff --git a/man/dataGen.Rd b/man/dataGen.Rd index 0b78675a..cddd57bc 100644 --- a/man/dataGen.Rd +++ b/man/dataGen.Rd @@ -47,8 +47,8 @@ sdc <- createSdcObj(testdata2, sdc <- dataGen(sdc) } \references{ -Have a look at -\url{https://crises-deim.urv.cat/web/docs/publications/lncs/443.pdf} +Mateo-Sanz, Martinez-Balleste, Domingo-Ferrer. Fast Generation of Accurate Synthetic Microdata. +International Workshop on Privacy in Statistical Databases PSD 2004: Privacy in Statistical Databases, pp 298-306. } \seealso{ \code{\link{sdcMicroObj-class}}, \code{\link{shuffle}} @@ -56,4 +56,3 @@ Have a look at \author{ Matthias Templ } -\keyword{manip} diff --git a/man/il_additional.Rd b/man/il_additional.Rd index 91738052..d34d0bd0 100644 --- a/man/il_additional.Rd +++ b/man/il_additional.Rd @@ -28,7 +28,7 @@ IL_variables(x, xm) the corresponding information-loss measure } \description{ -Measures \code{\link[=IL_correl]{IL_correl()}} and \code{\link[=IL_variables]{IL_variables()}} were proposed by Dr. Andrzej Mlodak and are (theoretically) bounded between \code{0} and \code{1}. +Measures \code{\link[=IL_correl]{IL_correl()}} and \code{\link[=IL_variables]{IL_variables()}} were proposed by Andrzej Mlodak and are (theoretically) bounded between \code{0} and \code{1}. } \details{ \itemize{ @@ -39,11 +39,7 @@ specifically these functions are different for numeric variables, ordered-factor are summed up and scaled by \code{n * m} with \code{n} being the number of records and \code{m} being the number of (common) variables. } -Details can be found in (abstracts are in english) -\itemize{ -\item \href{https://bit.ly/3gvr0qd}{Mlodak, A. (2020). Information loss resulting from statistical disclosure control of output data} -\item \href{https://bit.ly/3tDy9Z5}{Mlodak, A. (2019). Using the Complex Measure in an Assessment of the Information Loss Due to the Microdata Disclosure Control} -} +Details can be found in the references below The implementation of \code{\link[=IL_correl]{IL_correl()}} differs slightly with the original proposition from Mlodak, A. (2020) as the constant multiplier was changed to \code{1 / sqrt(2)} instead of \code{1/2} for better efficiency and interpretability @@ -70,6 +66,14 @@ xm$v2 <- rnorm(n, mean = 5) xm$v4[1:5] <- "A" IL_variables(x, xm) } +\references{ +Mlodak, A. (2020). Information loss resulting from statistical disclosure control of output data, +Wiadomosci Statystyczne. The Polish Statistician, 2020, 65(9), 7-27, DOI: 10.5604/01.3001.0014.4121 + +Mlodak, A. (2019). Using the Complex Measure in an Assessment of the Information Loss Due to the Microdata Disclosure Control, +PrzeglÄ…d Statystyczny, 2019, 66(1), 7-26, +DOI: 10.5604/01.3001.0013.8285 +} \author{ Bernhard Meindl \href{mailto:bernhard.meindl@statistik.gv.at}{bernhard.meindl@statistik.gv.at} } diff --git a/src/RcppExports.cpp b/src/RcppExports.cpp index 5933b769..32738cee 100644 --- a/src/RcppExports.cpp +++ b/src/RcppExports.cpp @@ -5,11 +5,6 @@ using namespace Rcpp; -#ifdef RCPP_USE_GLOBAL_ROSTREAM -Rcpp::Rostream& Rcpp::Rcout = Rcpp::Rcpp_cout_get(); -Rcpp::Rostream& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get(); -#endif - // cpp_calcSuppInds List cpp_calcSuppInds(NumericMatrix inp, NumericVector checkVals, List params); RcppExport SEXP _sdcMicro_cpp_calcSuppInds(SEXP inpSEXP, SEXP checkValsSEXP, SEXP paramsSEXP) {