TITLE: Is conditional entropy ever taken to be a random variable?
QUESTION [5 upvotes]: In probability theory, the conditional expectation $E(X|Y)$ and variance $V(X|Y)$ er usually taken to be random variables, st. the value of $E(X|Y)$ depends on what value $Y$ ends up taking. 
I've just started learning information theory, but I get the impression that conditionals are usually "averaged out", st. $H(X|Y)$ really means $EH(X|Y)$. I suppose because it just turns out more practical that way. 
Is that a correct distinction to make? Are there ever examples in information theory where the conditional entropy (or divergence etc.) is taken to be a random variable and not "averaged out"?

REPLY [3 votes]: Actually $H(X|Y=Y)$ is a random variable, and $H(X|Y=y)$ is a number, namely, the entropy of the conditional distribution $p_{X|Y=y}$. In older textbooks you see the more accurate notation 
$$ EH(X|Y) = \sum_y p_Y(y)H(X|Y=y)$$
which means that the conditional entropy is an expectation over the random variable $H(X|Y=Y)$. In newer textbooks this is now abbreviated as $H(X|Y)$.