Analysis of covariance revealed a significant difference between the active CES group and the sham CES group on anxiety ( p = 0.001 , d = 0.94 ) and on depression ( p = 0.001 , d = 0.78 ) from baseline to endpoint of study in favor of the active CES group .