Definition : Given a random variable with probability mass function , the self-information of measuring as outcome is defined as :
Self-information quantifies the level of surprise in observing a particular outcome for a random variable that has PMF .
Units : The base of the logarithm determines the units of self-information :
- : Measured in bits.
- : Measured in natural units or nats.
- : Measured in dits, bans or hartleys.
Self-Information and Log-Odds
- Self-information and logit (log-odds) are related concepts.
- For an event , occurring with probability hence the probability of the event not occurring , the logit function is defined as :
Relationship :
where and represent the self-information of events and respectively.