Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / PRWP / RR_SEN_2025_468
PRWP

Reproducibility package for Algorithms And Bureaucrats: Evidence From Tax Audit Selection In Senegal

2026
Get Reproducibility Package
Reference ID
RR_SEN_2025_468
Author(s)
Anne Brockmeyer, Pierre Bachas, Alipio Ferreira, Bassirou Sarr
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Jan 08, 2026
Last modified
Feb 03, 2026
  • Project Description
  • Downloads
Download related resources
Other Materials
README for Reproducibility package for Algorithms And Bureaucrats: Evidence From Tax Audit Selection In Senegal
Download [PDF, 343.29 KB]
Download https://reproducibility.worldbank.org//catalog/435/download/1292
Reproducibility package for Algorithms And Bureaucrats: Evidence From Tax Audit Selection In Senegal
Download [ZIP, 46.54 MB]
Download https://reproducibility.worldbank.org//catalog/435/download/1293
Zip preview
RR_SEN_2025_468
LICENSE.txt
README.pdf
Reproducibility-package
READ ME scripts and datasets.xlsx
replication_package
ado
backup.trk
d
dropmiss.ado
dropmiss.hlp
e
estadd.ado
estadd.hlp
estfe.ado
estout.ado
estout.hlp
estpost.ado
estpost.hlp
eststo.ado
eststo.hlp
esttab.ado
esttab.hlp
f
fcollapse.ado
fcollapse.sthlp
fcollapse_functions.mata
fcollapse_main.mata
fegen.ado
fegen.sthlp
fegen_group.ado
fisid.ado
fisid.sthlp
flevelsof.ado
flevelsof.sthlp
fmerge.ado
fmerge.sthlp
forest.ado
forest.sthlp
fre.ado
fre.hlp
freqindex.ado
freqindex.sthlp
freshape.ado
frmttable.ado
frmttable.sthlp
frmt_opts.sthlp
fsort.ado
fsort.sthlp
ftab.ado
ftools.ado
ftools.mata
ftools.sthlp
ftools_common.mata
ftools_experimental.mata
ftools_hash1.mata
ftools_main.mata
ftools_plugin.mata
ftools_type_aliases.mata
g
grc1leg2.ado
grc1leg2.dlg
grc1leg2.sthlp
grc1leg2_examples.ado
greek_in_word.sthlp
j
join.ado
join.sthlp
jar
randomforest.jar
weka.jar
l
local_inlist.ado
local_inlist.sthlp
l_cfrmt.mlib
m
matchit.ado
matchit.sthlp
ms_add_comma.ado
ms_compile_mata.ado
ms_expand_varlist.ado
ms_fvstrip.ado
ms_fvstrip.sthlp
ms_fvunab.ado
ms_get_version.ado
ms_parse_absvars.ado
ms_parse_varlist.ado
ms_parse_vce.ado
o
outreg.ado
outreg.sthlp
outreg2.ado
outreg2.hlp
outreg2.pref
outreg2_prf.ado
outreg_complete.sthlp
outreg_update.sthlp
p
ppmlhdfe.ado
ppmlhdfe.mata
ppmlhdfe.sthlp
ppmlhdfe_functions.mata
ppmlhdfe_header.ado
ppmlhdfe_p.ado
ppmlhdfe_separation_relu.mata
ppmlhdfe_separation_simplex.mata
r
randomforest_predict.ado
reghdfe.ado
reghdfe.mata
reghdfe.sthlp
reghdfe3.ado
reghdfe3.sthlp
reghdfe3_estat.ado
reghdfe3_footnote.ado
reghdfe3_p.ado
reghdfe5.ado
reghdfe5.mata
reghdfe5.sthlp
reghdfe5_estat.ado
reghdfe5_footnote.ado
reghdfe5_header.ado
reghdfe5_p.ado
reghdfe5_parse.ado
reghdfe_estat.ado
reghdfe_footnote.ado
reghdfe_header.ado
reghdfe_p.ado
reghdfe_parse.ado
reghdfe_programming.sthlp
rforest.ado
rforest.sthlp
rforest_examples.ado
rforest_examples.ihlp
s
scheme-tab1.scheme
scheme-tab2.scheme
scheme-tab3.scheme
swindex.ado
swindex.sthlp
stata.trk
u
unique.ado
unique.sthlp
_
_eststo.ado
_eststo.hlp
Code Additional Figures
PFR Data Visualization Tool - Oct 30 2024 version.xlsb
Senegal_Lit_Graph.do
Code Analyse data
1 Summary Statistics.do
2 Regressions main results.do
3 Analysis taxpayer survey.do
4 Prediction exercise.do
5 Deterrence.do
MASTER Analysis.do
Replication R
.Rprofile
00_Main.R
01_Prediction_Quality_Test.R
01_Tuning.R
02_Graph_Desk_Function.R
02_Graph_Function.R
03_Run_RF.R
04_Compare_Predicted_vs_Realized.R
05_Prediction_Quality_Test.R
06_Compare_Algorithm_vs_Inspector.R
06_Compare_Algorithm_vs_Inspector_Desk.R
07_Optimization_Exercise.R
Construct_Data_RF_For_All_Logs.do
renv
.gitignore
activate.R
library
windows
R-4.4
x86_64-w64-mingw32
renv
bin
renv
renv.bat
config.yml
DESCRIPTION
doc
ci.html
ci.R
ci.Rmd
docker.html
docker.R
docker.Rmd
faq.html
faq.R
faq.Rmd
index.html
package-install.html
package-install.R
package-install.Rmd
package-sources.html
package-sources.R
package-sources.Rmd
packages.html
packages.R
packages.Rmd
packrat.html
packrat.R
packrat.Rmd
profiles.html
profiles.R
profiles.Rmd
python.html
python.R
python.Rmd
renv.html
renv.R
renv.Rmd
rsconnect.html
rsconnect.R
rsconnect.Rmd
ext
renv.c
help
aliases.rds
AnIndex
figures
logo.svg
paths.rds
renv.rdb
renv.rdx
html
00Index.html
R.css
INDEX
LICENSE
MD5
Meta
features.rds
hsearch.rds
links.rds
nsInfo.rds
package.rds
Rd.rds
vignette.rds
NAMESPACE
NEWS.md
R
renv
renv.rdb
renv.rdx
repos
src
contrib
PACKAGES
PACKAGES.gz
PACKAGES.rds
renv_1.1.5.tar.gz
resources
activate.R
scripts-git-askpass.cmd
scripts-git-askpass.sh
vendor
renv.R
WELCOME
rstudio
addins.dcf
schema
draft-07.renv.lock.schema.json
sysreqs
sysreqs.json
R-4.5
x86_64-w64-mingw32
renv
bin
renv
renv.bat
config.yml
DESCRIPTION
doc
ci.html
ci.R
ci.Rmd
docker.html
docker.R
docker.Rmd
faq.html
faq.R
faq.Rmd
index.html
package-install.html
package-install.R
package-install.Rmd
package-sources.html
package-sources.R
package-sources.Rmd
packages.html
packages.R
packages.Rmd
packrat.html
packrat.R
packrat.Rmd
profiles.html
profiles.R
profiles.Rmd
python.html
python.R
python.Rmd
renv.html
renv.R
renv.Rmd
rsconnect.html
rsconnect.R
rsconnect.Rmd
ext
renv.c
help
aliases.rds
AnIndex
figures
logo.svg
paths.rds
renv.rdb
renv.rdx
html
00Index.html
R.css
INDEX
LICENSE
MD5
Meta
features.rds
hsearch.rds
links.rds
nsInfo.rds
package.rds
Rd.rds
vignette.rds
NAMESPACE
NEWS.md
R
renv
renv.rdb
renv.rdx
repos
src
contrib
PACKAGES
PACKAGES.gz
PACKAGES.rds
renv_1.1.5.tar.gz
resources
activate.R
scripts-git-askpass.cmd
scripts-git-askpass.sh
vendor
renv.R
WELCOME
rstudio
addins.dcf
schema
draft-07.renv.lock.schema.json
sysreqs
sysreqs.json
settings.json
renv.lock
Code Prepare Analysis Data
1 Selection.do
2 read saisie data.do
3 read suivi data.do
4 merge selection and audits.do
5 Tax declarations data.do
6 Inspector survey.do
7 taxpayer survey.do
8 Make final dataset for analysis.do
AUX Clean verificateur names.do
AUX Manually input nineas with ANSD information.do
AUX Manually input nineas.do
MASTER Prepare Analysis.do
Search coordinates and distances of firms.ipynb
Code Prepare Tax Data
0 Read ANSD data.do
1 Read tax data.do
2 Read TP, customs and treasury data.do
3 Annexes TVA.do
4 Read Repertoires.do
5 Read Past audits.do
6 Collapse and merge datasets.do
7 Cleaning and sanity checks.do
MASTER Tax.do
Documentation
Algorithm_Bureaucrats Data NDA for reproducibility verification.docx
READ ME scripts and datasets.xlsx
README - Replication Package.pdf
README.docx
Output
1 densityconfirmationnotificationdeskauditslump.pdf
1 densityconfirmationnotificationfullauditslump.pdf
1 dispute summary.tex
1 distribution evasion CP evasion_cost1.pdf
1 distribution evasion CP evasion_cost2.pdf
1 distribution evasion CP evasion_cost3.pdf
1 distribution evasion CP y4.pdf
1 distribution evasion CP y7.pdf
1 distribution evasion VG evasion_cost1.pdf
1 distribution evasion VG evasion_cost2.pdf
1 distribution evasion VG evasion_cost3.pdf
1 distribution evasion VG y4.pdf
1 distribution evasion VG y7.pdf
1 fixed effects CP y2.pdf
1 fixed effects CP y3.pdf
1 fixed effects CP y4.pdf
1 information treatment interact.tex
1 plot evasion per cost 1.pdf
1 plot evasion per cost 2.pdf
1 plot evasion per cost 3.pdf
1 plot evasion per cost 4.pdf
1 plot evasion per cost 5.pdf
1 plot evasion per cost 6.pdf
1 plot evasion per cost 7.pdf
1 plot evasion per cost 8.pdf
1 regression cost and resources summarized availability desk.tex
1 regression cost and resources summarized availability.tex
1 regression cost and resources summarized desk.tex
1 regression cost and resources summarized.tex
1 regression detection controls.tex
1 regression evasion controls.tex
1 regression evasion rates.tex
1 regression execution controls coefficients.tex
1 regression execution controls.tex
1 regression infractions and years alternative outcomes.tex
1 regression infractions and years.tex
1 regression main outcomes control experience.tex
1 regression main outcomes placement fe.tex
1 regression main outcomes summarized ITT ppml.tex
1 regression main outcomes summarized ITT.tex
1 regression main outcomes summarized.tex
1 regression main outcomes with Lee.tex
1 regression outcomes robust case inspector char.tex
1 regression robustness 0.tex
1 regression robustness 1.tex
1 regression robustness 2.tex
1 regression robustness 3.tex
1 regression robustness 4.tex
1 regression robustness 5.tex
1 regression robustness 6.tex
1 summary results CP and VG.pdf
1 summary results CP.pdf
10 density Algorithm vs Inspector Desk Audits.png
10 density Algorithm vs Inspector R.png
10 density predicted evasion algorithm R.png
10 density predicted evasion desk audits R quintiles.png
10 density predicted evasion inspector R.png
10 density predicted evasion R.png
10 predicted vs realized desk audits characteristics and filing by bureau.pdf
10 predicted vs realized desk audits characteristics and filing trained on algorithm.pdf
10 predicted vs realized desk audits characteristics and filing.pdf
10 predicted vs realized full audits characteristics and filing by bureau.pdf
10 predicted vs realized full audits characteristics and filing trained on algorithm.pdf
10 predicted vs realized full audits characteristics and filing.pdf
10 prediction coefficients matrix.tex
10 prediction coefficients predict by size only.tex
10 prediction models 3.tex
11 balance CP.tex
11 balance VG.tex
12 count cases.tex
12 count observations by data source.tex
12 regression balancing test position.tex
13 characteristics of selection 1.tex
13 characteristics of selection 2.tex
13 characteristics of selection inspector whole sample 1.tex
13 characteristics of selection inspector whole sample 2.tex
13 counterfactual audit probabilities.pdf
13 deterrence.tex
13 exercise elasticity constant.pdf
13 exercise elasticity depends on turnover.pdf
13 regression elasticities.tex
13 size evasion audits.pdf
14 descriptive CP audit.pdf
14 descriptive CP selection.pdf
14 descriptive VG audit.pdf
14 descriptive VG selection.pdf
2 algorithm effect and overall execution CP.pdf
2 algorithm effect and overall execution VG.pdf
2 regression inspector characteristics selection desk audits.tex
2 regression inspector characteristics VG robustness data availability.tex
2 regression inspector characteristics VG robustness.tex
2 regression inspector characteristics VG.tex
3 regression main outcomes riskscore components.tex
3 regression main outcomes riskscore control.tex
3 regression main outcomes riskscore unweighted.tex
3 regression main outcomes riskscore.tex
4 information treatment balancing tests missing.tex
4 information treatment balancing tests.tex
9_regression_survey_conducted_new.tex
9_regression_survey_report_audit_new.tex
deskaudits_predicted.dta
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_1importance_evasion_plot.pdf
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_1table_opt.tex
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_2importance_evasion_plot.pdf
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_2table_opt.tex
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_Large_table_opt.tex
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_Liberal_table_opt.tex
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_Medium_table_opt.tex
Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_Small_table_opt.tex
Fig_predicted_vs_realized_Drop_predicted_zeros_log_evasion_weights_binary_controle_1.pdf
Fig_predicted_vs_realized_Drop_predicted_zeros_log_evasion_weights_binary_controle_2.pdf
Fig_predicted_vs_realized_Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_1.pdf
Fig_predicted_vs_realized_Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_2.pdf
importance_detection1_plot.pdf
importance_detection2_plot.pdf
IS_audit_objectives.gph
IS_audit_objectives.pdf
IS_audit_objectives.png
IS_Data_Used_for_Selection.gph
IS_Data_Used_for_Selection.pdf
IS_Data_Used_for_Selection.png
IS_evasion_rate_tradeoff.gph
IS_evasion_rate_tradeoff.pdf
IS_evasion_rate_tradeoff.png
msqe_Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_1_quality.csv
msqe_Drop_predicted_zeros_log_evasion_weights_top_quartiles_controle_2_quality.csv
panel_a_contents.tex
panel_b_contents.tex
table_G3_RF.tex
table_opt_desk_offices.tex
table_opt_full_and_desk.tex
reproducibility_report_RR_SEN_2025_468.pdf
Reproducibility verification for Reproducibility package for Algorithms And Bureaucrats: Evidence From Tax Audit Selection In Senegal
Download [PDF, 140.05 KB]
Download https://reproducibility.worldbank.org//catalog/435/download/1303
Back to Catalog
The World Bank Working for a World Free of Poverty
  • IBRD IDA IFC MIGA ICSID

© The World Bank Group, All Rights Reserved.