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 Statistical Inference

Implements differentially private (DP) versions of common classical statistical procedures, including descriptive statistics (mean, variance, quantiles, histograms), hypothesis tests (t-test, chi-square, Kolmogorov-Smirnov, one-way ANOVA), and regression (closed-form DP linear regression and DP-SGD for generalized linear models). Provides Laplace and Gaussian mechanisms with analytic calibration, exponential mechanism for medians, privacy-aware confidence intervals that account for both sampling and privacy noise, and privacy budget accounting via basic, advanced, and Renyi differential privacy (RDP) composition. Designed for official statistics and privacy-preserving data analysis research.

Version: 0.1.0
Depends: R (≥ 4.0.0)
Imports: stats, MASS, Rcpp
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, ggplot2
Published: 2026-09-08
DOI: 10.32614/CRAN.package.DPrivStats
Author: Mukul Bijalwan [aut, cre]
Maintainer: Mukul Bijalwan <mukulbijalwan555 at gmail.com>
BugReports: https://github.com/MukulBijalwan/DPrivStats/issues
License: MIT + file LICENSE
URL: https://github.com/MukulBijalwan/DPrivStats
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: DPrivStats results

Documentation:

Reference manual: DPrivStats.html , DPrivStats.pdf
Vignettes: Getting Started with DPrivStats (source, R code)
Official Statistics Workflow (source, R code)
Regression Guide (source, R code)

Downloads:

Package source: DPrivStats_0.1.0.tar.gz
Windows binaries: r-devel: DPrivStats_0.1.0.zip, r-release: DPrivStats_0.1.0.zip, r-oldrel: DPrivStats_0.1.0.zip
macOS binaries: r-release (arm64): DPrivStats_0.1.0.tgz, r-oldrel (arm64): DPrivStats_0.1.0.tgz, r-release (x86_64): DPrivStats_0.1.0.tgz, r-oldrel (x86_64): DPrivStats_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DPrivStats to link to this page.

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.