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