Skip to content

Piecewise Linear Budget Constraints for microsimulation models

License

Notifications You must be signed in to change notification settings

grahamstark/BudgetConstraints.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piecewise Linear Budget Constraints

This package can be used to generate a complete two-dimensional budget constraint for some unit (person, benefit-unit, household, etc.) for some tax-benefit system. That is, a list points describing the combinations of net income that the unit would get for different values of gross income (or hours worked, wages, etc.). The package takes a user-defined calculator function, and identifies all the points of discontinuity to a high degree of accuracy, even if the system being modelled has large discontinuities (as is common in fiscal systems).

Here is a live example of this algorithm in action.

See: Duncan, Alan, and Graham Stark. [A Recursive Algorithm to Generate Piecewise Linear Budget Contraints, IFS Working Paper 2000/01 May 2, 2000] (https://doi.org/10.1920/wp.ifs.2000.0011).

Stable Dev Build Status Coverage