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 (may not be active yet) |
| 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 |
| 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) |
| Package source: | DPrivStats_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: DPrivStats_0.1.0.zip, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): DPrivStats_0.1.0.tgz, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=DPrivStats to link to this page.