PING
0.9
Statistical data handling and processing in production environment
|
Compute the per-capita benefits and taxes (benefits/allowances; taxes and social security contributions) for given geographical area(s) and period(s).
geo
: a list of countries or a geographical area; default: geo=EU28
;year
: year of interest;varaddh
: (option) list of social benefits, at household level; default: varaddh
is empty; The fiscal aggregate is attributed to each family member proportionally to their gross total personal incomevaraddp
: (option) list of social benefits, at personal level;default: varaddp
is empty;vartaxes
: (option) list of tax/income;default: vartaxes
is empty;breakdowns1
:(option) list of tax and contribution component;breakdowns2
:(option) list of breakdowns variable: default: age and sex.weight
: (option) personal weight variable used to weighting the distribution; default: weight=RES_WGT
;type
: (option) flag set to 'N' or 'G' to consider net and gross values respectively; default: type=G
;yes_or_not
:(option) flag set to 'YES' or 'NOT' to consider ZERO and NOT ZERO values for benefits/taxes variables respectively;odsn
: (option) generic name of the output datasets; default: odsn=Ben_taxes
;olib
: (option) name of the output library; by default, when not set, olib=WORK
;odsn
: (option) name of the output datasets; default: odsn=Ben_taxes.&zero
;olib
: (option) name of the output library; by default, when not set, olib=WORK
;Let us consider the following configuration parameters:
we implicitely compute the Benefits and taxes, normally expressed as:
so as to produce the following Ben_taxes.NotZero
table in WORK
library:
GEO | TIME | AGE | SEX | BENEFIT_TAX | MEAN | FLAG | N | NTOT | NTOTWGH |
---|---|---|---|---|---|---|---|---|---|
AT | 2015 | Y15-19 | T | HY050 | 350.4 | 742 | 742 | 518055.49 |
In practice, the example above realises the following stepwise calculations:
where the datasets &idb
, &Hpdb
, and &Ppdb
that appear above store the input personal and household data. These datasets, as well as the libraries bdb
and idb
, can be retrieved using the macro %silc_db_locate.
varaddp/h
and vartaxes
variables) are to be chosen among:varaddp
): -PY090G
: unemployment benefits,PY100G
: old-age benefits,PY110G
: survivors' benefits,PY120G
: sickness benefits,PY130G
: disability benefits,PY140G
: education-related allowances,varaddh
): -HY050G
: family/children-related allowances), -HY060G
: social exclusion not elsewhere classified), -HY070G
: housing allowances),vartaxes
): -HY140G
: tax on income and social insurance contributions, tax vs. benefit components separately, -HY120G
: regular taxes on wealth, -PY030G
: employers' social insurance contributions.breakdowns1
: all benefits and taxes variables,breakdowns2:
age(0-4, ........., 95+) and
sex`, e.g. using the following formats: