bunchr: bunchr: A Package for Bunching Analysis

bunchrR Documentation

bunchr: A Package for Bunching Analysis

Description

The bunchr package is meant to help analyze bunching. Given a vector of earnings (or any other numeric vector), it creates a counter-factual count histogram and calculates the compensated elasticity of earnings w.r.t. the net-of-tax rate.

Main functions

bunchr has three main functions:

bunch

is the main function running the actual analysis.

bunch_viewer

serves as an aid to the second by visualizing some of theuser-specified options without running an analysis. Use it to see what the histogram of your earnings vector looks like when setting specific bin size, where the counter-factual analysis should be done, and the bounds of the excluded area. You can also save the histogram bins and counts.

bunchApp

is an interactive simulator. Use it to explore bunching simulation and estimation of earning elasticity.

See Also

bunch, bunch_viewer


trilnick/bunchr documentation built on Oct. 19, 2023, 11:30 p.m.