Code

This page contains Stata tools and scripts I’ve written.


rround: random rounding to base 3

rround is a Stata command for random rounding to the nearest multiple of 3. Useful for producing rounded, anonymised counts when working with confidential microdata.

Installation

Download the files manually:

Or, install the command directly from in Stata using:

net install rround, from("https://raw.githubusercontent.com/thomasschober/rround/main/")

Documentation

Once installed, type help rround for information on the syntax and examples.