d1_square and d2_square are the combined mean deviation .
var d1_square = ( mean1 - combinedMean ) * ( mean1 - combinedMean ) ; var d2_square = ( mean2 - combinedMean ) * ( mean2 - combinedMean ) ; document . write ( " " + d1_square . toFixed ( 3 ) + " " ) ; document . write ( " " + d2_square . toFixed ( 4 ) + " " ) ;