What the Clock Knows

Statistics for MLMedium+20 XP+20

What the Clock Knows

A support team wants to predict which tickets get escalated to a senior engineer. One candidate feature is whether the ticket was submitted outside office hours. Over 400 past tickets:

escalatednot escalated
outside office hours6040
during office hours60240

To screen the feature, compute its mutual information with the target. Write XXX for the feature and YYY for the target. Then p(x,y)p(x, y)p(x,y) is the probability of a table cell, and p(x)p(x)p(x) and p(y)p(y)p(y) are the probabilities of a single row or a single column on its own:

I(X;Y)=∑x∑yp(x,y) log⁡2 ⁣p(x,y)p(x) p(y)I(X; Y) = \sum_{x}\sum_{y} p(x, y)\,\log_2\!\frac{p(x, y)}{p(x)\,p(y)}I(X;Y)=x∑​y∑​p(x,y)log2​p(x)p(y)p(x,y)​

The double sum runs over all four cells. Using log⁡2\log_2log2​ measures the result in bits. If XXX and YYY were independent, every ratio inside the log would be 111, and III would be 000.

What is I(X;Y)I(X; Y)I(X;Y) for this feature, in bits?

Carry at least 6 decimal places through the working, and round your answer to 4 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.