Crandore Hub

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 DPrivStats_0.1.0.tar.gz 241.7 KiB
0.1.0 rolling linux/noble R-4.5 DPrivStats_0.1.0.tar.gz 242.2 KiB
0.1.0 rolling source/ R- DPrivStats_0.1.0.tar.gz 78.0 KiB
0.1.0 latest linux/jammy R-4.5 DPrivStats_0.1.0.tar.gz 241.7 KiB
0.1.0 latest linux/noble R-4.5 DPrivStats_0.1.0.tar.gz 242.2 KiB
0.1.0 latest source/ R- DPrivStats_0.1.0.tar.gz 78.0 KiB
0.1.0 2026-04-23 source/ R- DPrivStats_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

LinkingTo

Suggests