Cox referred to him as William T. Anderson because that is how he read the 1860 census page he was listed on. Most Union commanding officers possessed the 1860 censuses for the area they were working in in order to determine who was "Southern" and who was "Northern".
~Jay~