Consider one experiment with two possible results described by a random variable $X$ attaining values $x_1 = 0$ or $x_2 = 1$ to capture the two possible outcomes.
Every such random variable is parametrized by a number $p\in [0,1]$ giving rise to probabilities
$$P(X = x_1)=p,\quad P(X=x_2)=1-p.$$
One such experiment would be a coin being tossed and the results analyzed, or a particle of spin $1/2$ having its intrinsic angular momentum observed.
Now, define the entropy $S_X$ by
$$S_X=-\sum_{i}p_i \log p_i=-p\log p -(1-p)\log (1-p).$$
It has the following properties
- It is minimum when $p =0$ or $p=1$ having value $0$;
- It is maximum when $p=1/2$ on which it attains the value $\log 2$.
- It is monotonicaly increasing in the interval $[0,1/2]$ and monotonicaly decreasing in the interval $[1/2,1]$.
Now, as is usually discussed this clearly is a measure of uncertainty in the results of the experiment. This follows from the above properties:
If $p = 0$ or $p=1$ we are assured of the result already, so there is no uncertainty. If $p =1/2$ both results are equaly likely and we are maximaly uncertain of what result may come out. Any other $p$ in the middle shifts the balance of likeliness towards one result and this reduces our uncertainty, albeit not eliminating it.
That is fine. But one usually says that $S_X$ is a measure of information.
But I fail to get the intuition here. Why is $S_X$ a measure of information? What is the intuition for $p =0,p=1$ giving no information $0 < p < 1$ giving some information and $p = 1$ giving maximal information?
How does one interpret here $S_X$ as a measure of information?