I'm reading Field (2013), in which there is an ANCOVA example with a categorical predictor Viagra, a continuous covariate, and a continuous outcome variable libido.
I understand that in ANCOVA we are hoping for situation B in the diagram, in which the covariate reduces the unexplained variance but doesn't reduce the variance explained by the categorical predictor.
In the book example, the values are as follows.
Original model: SSviagra = 16.844, SSerror = 94.123, SStotal = 110.967
Model with covariate added: SSviagra = 25.185, SScovariate = 15.076, SSerror = 79.047, SStotal = 110.967
I can understand why SSerror went down. However, I don't understand why the SSviagra (the SS for the categorical predictor) went up.
Field, A. (2013). Discovering statistics using IBM SPSS statistics. Sage.