public double standardDeviation(boolean bOnlyValue){
  return Math.sqrt(variance(bOnlyValue));
}

public double standardDeviation ( boolean bOnlyValue ) { return Math . sqrt ( variance ( bOnlyValue ) ) ; }
calculates the standard deviation ( square root of the variance ) of the distribution , either for the values only , or taking into account the keys .
