Information content (source code)

= Information content
{title2=$I(x)=-\log_2p(x)$}
{wiki}

= Self-information
{synonym}

The self-information of a positive-probability outcome is the negative logarithm of its probability. Independent outcomes have additive self-information. Its expectation is <Shannon entropy>.

// Target: probability-and-statistics.bigb