In Canada there is an election going on and I was pondering about a function in which you have the polling averages for the different parties $x_1, x_2, x_3... x_n$ and then a function $f(x_1), f(x_2)... f(x_n)$. I realized there are $4$ properties that this function must satisfy:
1) It must be in the domain $[0,1]$ and range $(0,1)$. This is true since the best probability is probably $99\%$ and you can't poll better than $100\%$
2) It must be monotonically increasing, since it doesn't make sense for your chance to get worse if you do better in the polls
3) It's must have that as $x \to 1, f(x) \to 1$ and on the same hand as $x \to 0, f(x) \to 0$
And the real tricky requirement
4) Given real numbers $x_1, x_2, x_3 ... x_n = 1$, it must also then be true that $f(x_1) + f(x_2) + f(x_3) + ... + f(x_n) = 1$. This makes sense because all the decided voter preferences combined must equal the whole of decided voters by the same token the sum of the probability of all parties winning must equal $100\%$ or $1$.
The only other requirement is that we disregard the solution $f(x) = x$ because polls are not linear to the likelihood of winning. A party with $80\%$ of the expected vote is more than $80\%$ likely to win.
I started with a logistic because it easily satisfies conditions $1, 2, 3$ but found it hard to get it fit condition $4$. Then thinking that a CDF might make things easier, I tried using the error function, finding that you can work backward and adjust the inflection point; this would be based on the inputs you have, leading it to be invariant with how tight the curve is, but that's lacking. I'm very curious if there is a curve that fits all those properties that comes out of thinking of this social phenomenon.
Love any suggestions or ideas, or proving that such a function is not possible. Thank you for reading.
Suppose $f\colon [0,1]\to[0,1]$ is monotonic increasing and satisfies that whenever $x_1+x_2+\cdots+x_n=1$, we have $f(x_1)+f(x_2)+\cdots+f(x_n)=1$ (for all $n\geq 1$ an integer and non-negative reals $x_i$).
Setting $n=1$ we get $f(1)=1$ and setting $n=2$ we get $f(0)+f(1)=1$ so $f(0)=0$.
More generally, $n\cdot f(\frac1n)=1$, so $f(\frac1n)=\frac1n$.
Also $$\frac rn +(n-r)\frac1n=1.$$
Thus $$f(\frac rn) +(n-r)f(\frac1n)=1,$$ and $$f(\frac rn)=1-(n-r)\frac1n=\frac rn.$$
So $f(x)=x$ for any rational number $x\in [0,1]$.
Suppose $f(y)>y$ for some $y\in [0,1]$. Then we can find a rational number $x$ between $y$ and $f(y)$, so $x>y$ and $f(x)=x<f(y)$, contradicting that $f$ is monotonic increasing.
On the other hand suppose $f(y)<y$ for some $y\in [0,1]$. Then we can find a rational number $x$ between $y$ and $f(y)$, so $x<y$ and $f(x)=x>f(y)$, contradicting that $f$ is monotonic increasing.
We conclude that $f(y)=y$ for all $y\in [0,1]$.