Aggregation Functions: Easy to Characterise?

  • Context: Undergrad 
  • Thread starter Thread starter Gerenuk
  • Start date Start date
  • Tags Tags
    Aggregation Functions
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
11 replies · 2K views
Gerenuk
Messages
1,027
Reaction score
5
Is the set of aggregation functions easy to characterise? I mean functions like addition, multiplication, maximum, minimum, count...
So basically everything that's commutative and associative:
[tex] f(x,y)=f(y,x)[/tex]
[tex] f(f(x,y),z)=f(x,f(y,z))[/tex]

What are other classes of such functions?
I can't all map to just addition, can I? I'd have no idea how to do it with the max(x,y) function?!
 
Physics news on Phys.org
Every function on the set of n-element subsets of X is an aggregation function on X^n in the obvious way, right? Which would imply there's too many of them to characterize easily.
edit: oops, I forgot about associativity.
 
I'm not sure what this means. Can you say it with an example?

(Of course all functions that somehow map to normal addition are one class only.)
 
I noticed that even the max function maps onto addition by
[tex]max(x,y)=\lim_{p\to\infty}\sqrt[p]{x^p+y^p}[/tex]
Are there aggregate functions that do not map to addition?
 
What about something like f(x, y) = x - y? This is not commutative. The function could be thought of as the signed distance between two numbers on the real line.
 
But it is not associative nor commutative. So not an aggregate function I'm considering.
 
Hmm? You mean multiplication?
It easily maps to addition through logarithms.
 
could you be more precise with what you mean by 'maps to addition'?
 
Instead of multiplying, I only need to "translate" the variables by logarithms and then the "structure" is the same as addition.
[tex]b_i=\ln a_i[/tex]
[tex]b_\text{tot}=\sum_{i=1}^n b_i[/tex]
I'm not sure what the mathematical terms are, but with this view all two value functions f(x,y) which can be created with an arbitrary one value function g(x) are "one class" and uninteresting.
[tex]f(x,y)=g^{-1}(g(x)+g(y))[/tex]
Because its obviously easy to use this procedure to generate more aggregate functions.
 
I see, so 2 aggregate functions f(x,y) and g(x,y) are equivalent if there exists a 'translation' t such that

[tex]f(x,y)= t^{-1} \circ g( tx, ty)[/tex]

product is equivalent to addition by setting t=log
max is equivalent to addition by setting [tex]t: x \mapsto x^\infty[/tex]
etc


and we are trying to classify these equivalence classes of aggregate functions.


One aggregation that isn't equivalent to addition is the constant function. Also all the constant functions are in the same class (take t to be any map that takes c to d, then c=t^-1 d).



btw, what is 'count' (your last example in the first post) ?
 
Maybe I shouldn't require for [itex]g^{-1}[/itex] to exist. So it doesn't have to be 1-to-1.
Then the constant function and also COUNT also somehow map onto addition?
I could map constants to infinity. And for COUNT I map all values to 1 and then add.

COUNT counts the number of variables. So
Count(a1,a2,...,aN)=N