Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

journalprivacyconfidentiality/BayesLCM

 
 

Repository files navigation

R-CMD-check

The PrivLCM package

Welcome to the PrivLCM package. Here, we implement the approach of Nixon et. al (2022).

Here, we provide the code to fit our differentially-private Bayesian latent class model for synthetic data creation or posterior inference. The main steps of our approach are:

  1. Subselect a set of marginal counts and add noise using the Geometric mechanism for differential privacy.
  2. Post-process these counts to be able to estimate probabilities for any table cell. This is done using ideas from composite likelihood and the Dirichlet Process Mixture of Product Multinomials model.

Please see the small vignette (example.Rmd) to get started!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 74.9%
  • R 24.4%
  • Python 0.7%