Suppose we want to compute accuracy for a binary classifier (assuming balanced classes):
Acc = (TP+TN)/N
Where N = TP + TN + FP + FN.
For the case of a pure random guesser where each (actual) positive and negative sample has an equal chance of being correctly or incorrectly classified, we have that E(TP)=N/4=E(TN)=N/4, then it is simple to verify that E(Acc)= E[(TP+TN)/N]=(1/N)(N/4+N/4)=1/2.
So, if E(Acc)=1/2 for a pure (uniform) random guesser, How can we compute the theoretical value for Var[Acc]?