Package: bunching 0.8.6

bunching: Estimate Bunching

Implementation of the bunching estimator for kinks and notches. Allows for flexible estimation of counterfactual (e.g. controlling for round number bunching, accounting for other bunching masses within bunching window, fixing bunching point to be minimum, maximum or median value in its bin, etc.). It produces publication-ready plots in the style followed since Chetty et al. (2011) <doi:10.1093/qje/qjr013>, with lots of functionality to set plot options.

Authors:Panos Mavrokonstantis [aut, cre]

bunching_0.8.6.tar.gz
bunching_0.8.6.zip(r-4.5)bunching_0.8.6.zip(r-4.4)bunching_0.8.6.zip(r-4.3)
bunching_0.8.6.tgz(r-4.5-any)bunching_0.8.6.tgz(r-4.4-any)bunching_0.8.6.tgz(r-4.3-any)
bunching_0.8.6.tar.gz(r-4.5-noble)bunching_0.8.6.tar.gz(r-4.4-noble)
bunching_0.8.6.tgz(r-4.4-emscripten)bunching_0.8.6.tgz(r-4.3-emscripten)
bunching.pdf |bunching.html
bunching/json (API)
NEWS

# Install 'bunching' in R:
install.packages('bunching', repos = c('https://mavpanos.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mavpanos/bunching/issues

Datasets:

On CRAN:

Conda:

4.70 score 5 stars 5 scripts 303 downloads 12 exports 38 dependencies

Last updated 2 years agofrom:cfba761ae8. Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 20 2025
R-4.5-winNOTEMar 20 2025
R-4.5-macNOTEMar 20 2025
R-4.5-linuxNOTEMar 20 2025
R-4.4-winNOTEMar 20 2025
R-4.4-macNOTEMar 20 2025
R-4.4-linuxNOTEMar 20 2025
R-4.3-winNOTEMar 20 2025
R-4.3-macNOTEMar 20 2025

Exports:bin_databunchitdo_bootstrapdo_correctiondomregionelasticityfit_bunchingmarginal_bunchernotch_equationplot_bunchingplot_histprep_data_for_fit

Dependencies:BBclicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrquadprogR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Introduction to the bunching Package

Rendered frombunching_examples.Rmdusingknitr::rmarkdownon Mar 20 2025.

Last update: 2022-08-16
Started: 2019-08-07

Optimization Theory Behind the bunching Package

Rendered frombunching_theory.Rmdusingknitr::rmarkdownon Mar 20 2025.

Last update: 2022-08-16
Started: 2019-08-07