The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

DPrivStats — Differentially Private Classical Inference

R-CMD-check

An R package implementing differentially private (DP) versions of common classical statistical procedures, with privacy budget accounting and privacy-aware confidence intervals.

Features

Installation

# install.packages("remotes")
remotes::install_github("MukulBijalwan/DPrivStats")

Or from a local clone:

install.packages("path/to/DPrivStats", repos = NULL, type = "source")

Quick start

library(DPrivStats)

data(example_microdata)

# DP mean income under a Laplace mechanism
m <- dp_mean(example_microdata$income, epsilon = 0.5,
             bounds = c(0, 500000))
print(m)

# DP linear regression with privacy-aware confidence intervals
fit <- dp_lm(income ~ education + age + hours, example_microdata,
             epsilon = 2.0, delta = 1e-6,
             bounds = list(y = c(0, 500000)))
dp_confint(fit)

See the vignettes (browseVignettes("DPrivStats")) for full workflows, including official-statistics tabulation under a shared budget.

Author

Mukul Bijalwan — mukulbijalwan555@gmail.com

License

MIT © Mukul Bijalwan

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.