This field comparator compares ages which can be given either as a
number (assumed to be an age in years) or as dates in three separate
year. If these fields are
not a valid date, an error is triggered.
Dates are converted into ages relative to a fix date that can be set
with the argument
fix_date. If no fix date is set, ages are
calculated relative to the current system date (today). The
fix_date argument can either be given as a date string, as a
date tuple (in the form
[day,month,year]) or as the string
The comparator allows for a certain percentage difference between two
ages. The argument
max_perc_diff can be used which sets the
maximum tolerated age difference in percentage. The value must be a
number between and . The default is , which means no
age difference is tolerated.
If the percentage difference between two ages is smaller than or equal
max_perc_diff, a partial agreement weight is
calculated using the following formula.
max_perc_diffthe disagreement weight is returned.
u_probabilityarguments can not be used, instead use
In its current version no frequency dependent weight calculation is
possible, thus the arguments
can not be used with this field comparator function.