An Asymptotic Expansion for the Distribution Function of the Classification Statistic W