420 likes | 435 Views
Learn about the Statistics Presenter Tool in EUROMOD for generating indicators and statistics like poverty rates and income distribution. Understand how to implement reforms and handle errors effectively.
E N D
Running EUROMOD select countries select datasets select systems
Running EUROMOD control display of run log and error log status run dialog data and systems running run/ error log
Output files • Content manipulated in policy output_std_cc • Usually including: • All variables present in the input microdata file • Simulated variables (i.e. simulated taxes and benefits) • Standardized income lists • (optional) non-standard income lists • (optional) temporary variables • (optional) Tax unit identification info • Control level at which info is outputted (ex: individual, household etc.)
Statistics Presenter Tool • Output of EUROMOD= micro-data • Process using a statistical software package (ex. Stata) • Statistics Presenter Tool: quick way of generating some indicators • Computes a range of commonly used indicators and statistics: • poverty rates for the overall population and for selected groups and the Gini coefficient • distribution of household income, taxes and benefits by income group • demographic information on households by income group • Selection of default indicators with the possibility of new templates • 8 tables produced by the plug-in
Statistics presenter tool folder where your output file is stored
Statistics Presenter tool country and system on which statistics calculated 8 tables with ‘fixed’ statistics one sheet per output file
Implementing a simple reform • Where: • Simpleland • What: • make the child benefit more generous • How: • Open Simpleland • Add a new system where your reform will be implemented
Implementing a simple reform • How: • Open the child benefit policy • Make the changes in the new (reform) system • Run EUROMOD • Analyze results with the Statistics Presenter tool
Error handling produce an error
Error handling info on nature and location of the error
Error handling • Output folder-error log file (text format) • Same info as in the running dialog box • Error logs contain time stamp of their creation • Info about EUROMOD version, policy system where error occurred and dataset used
Documentation • Manuals • Euromod Terminology all in built-in help • Running Euromod and Basic Concepts • Euromod Functions • Country Reports (CR) (https://www.euromod.ac.uk/using-euromod/country-reports) • EUROMOD Modelling Conventions (EMC) • Data Requirement Document (DRD)-1 per dataset • EM Working Paper series (https://www.euromod.ac.uk/publications/type/EUROMOD%20Working%20Paper%20Series)
Country report • Basic information • background information • brief description of all policies • Simulation of taxes and benefits in EUROMOD • scope and order of simulation • detailed information on simulated policies (incl. assumptions) • Data • general description and references to original data documentation • data adjustment, imputations and assumptions • Validation • policy validation • income distribution validation: poverty and inequality • “health warnings”
Exercise 1 • Running EUROMOD and producing summary statistics
EUROMOD functions • Building blocks to implement policies • Parameters stored in XML and manipulated via the UI • Calculation in EUROMOD executable (C++ code) • ‘EUROMOD language’ • Standardised simulation language • Flexibility • Harmonisation • Parameterisation • Consistency (e.g., errors handling) • Sufficiency (any country any policy) • Transparent and documented • In-built HELP • EMM_Functions manual (same info)
Structure of a function Function name/ type Switch: on/off/ toggle Parameter names Parameter values Parameters are either compulsory or optional
Policies • = block of functions that complete a ‘real’ policy simulation • can be manipulated independently • switch –affects all functions in the policy • same policy may be repeated by simple referencing • can be copied / moved • order of policies is called ‘spine’ • policy names end (usually) with the country acronym • each policy will have some explanation on what it is intended to simulate in the comment columns • policies can have any name • ...but in practice we use some conventions • can be: • common to all countries (ex: defining uprating factors) • country specific (ex: means-tested child benefit for single parents)
Policies policy switch policy name policy description social insurance contribution policy made up of 3 functions
Manipulating functions and policies right-click on policy name to activate menu right-click on function/ parameter names to activate menu
Type of functions System functions functions used to define some general settings that are common across countries (ex: uprating, default values for datasets etc.) Policy functions functions used to implement tax-benefit policies Special functions more advanced functions that perform more complicated tasks (loops, changing parameters at run-time etc.) not covered in this course 23
Function Elig • implements conditions • sets a variable (by default sel_s) to 0 or 1, based on the condition in elig_cond. Subsequent functions use this information via parameter who_must_be_elig
Function ArithOp • Arithmetical calculator. The result of the parameter formula is stored as output variable
Parameters • May be: • Common to several functions • Specific to one function • May be: • Compulsory (i.e. error generated if not used) • Optional • Which parameters are compulsory/ optional depends on the function • Order of parameters in a function is not important • (but order of functions in a policy is!!!!!!) • Manipulated via context menu • Only relevant parameters for the given function are shown • Drag & drop can be used
Common “eligibility” parameters (1) • who_must_be_elig: function’s calculations are carried out if… • one_member (or one): one member of the assessment unit is eligible • one_adult: one adult member of the assessment unit is eligible • all_members (or all or taxunit): all members of the assessment unit are eligible • all_adults: all adult members of the assessment unit are eligible • nobody: calculations are carried out for each assessment unit (default) • “eligibility” is determined by the variable indicated by the parameter elig_var (by default sel_s) • 0: person is not eligible • 1: person is eligible
Common output parameters • Output_var, output_add_var, result_var • func_Elig sel_s • Either output_var or output_add_var must be indicated
Common parameter TAX_UNIT • TAX_UNIT allows for the definition of the assessment unit a function refers to: • Individuals • Various definitions of family units • Household units • Compulsory for most policy functions
Common “limiting” parameters • Lowlim (lower limit) • Uplim (upper limit) • Threshold (threshold)
Interactions between functions (1) • The functions interact in three ways (+ replacement): • Condition: one function (usually functionElig) evaluates a condition and a subsequent function operates on the basis of the result of this evaluation
Interactions between functions (2) • Input: one function calculates a variable, which is used as an input by a subsequent function.
Interactions between functions (3) • Addition: one function calculates a part of a policy and a subsequent function calculates another part of the policy and therefore needs to add to the first part.
Result of a function • It is always assigned to the head of the assessment unit • For all other members of the unit and for those in not eligible units (defined by who_must_be_elig): • output_var is set to zero. • output_add_var not changed or set to 0 if undefined before • result_var is set to zero.
Exercise 2 • Reforming Child Allowance in Estonia