Better Bunching, Nicer Notching

The bunching command uses bunching to partially and point identify the elasticity of a response variable with respect to changes in the slope of the budget set using different assumptions on unobserved heterogeneity according to the procedures of Bertanha, McCallum, and Seegert (2022). The command bunching is a master function that combines three other commands included in the package: bunchbounds for partial identification, bunchtobit for point identification, and bunchfilter to filter out friction errors.


STATA - automatic installation

  1. type "ssc describe bunching" in STATA for a description of the package

  2. type "ssc install bunching" for automatic installation

  3. type "net get bunching" to download a test data file to your current working directory

  4. type "help bunching" for help and examples of how to use the command

STATA - manual installation

  1. download and unzip the file "stata_bunching.zip"

  2. copy the contents of the unzipped folder to your personal-ado directory (except for the DTA file "bunching.dta"). To find out the location of such directory, type "sysdir" in STATA and look for "personal":

    • MAC users: typically ~/Documents/Stata/ado or ~/Library/Application Support/Stata/ado depending on the version of STATA

    • Windows users: typically C:\Program Files\Stata16\ado or C:\ado\personal depending on the version of STATA

  3. copy "bunching.dta" (the test data file) to your current working directory

  4. after installing the files, type "help bunching" for help and examples of how to use the command