public double getEffectSize(final String method) {
        if ("d".equals(method)) {
            return getCohenD(baselineMetricPerDimension, testMetricPerDimension, false);
        } else if ("dLS".equals(method)) {
            return getCohenD(baselineMetricPerDimension, testMetricPerDimension, true);
        } else if ("pairedT".equals(method)) {
            return getEffectSizePairedT(baselineMetricPerDimension, testMetricPerDimension);
        }
        return Double.NaN;
    }
public double getEffectSize ( final String method ) { if ( "d" . equals ( method ) ) { return getCohenD ( baselineMetricPerDimension , testMetricPerDimension , false ) ; } else if ( "dLS" . equals ( method ) ) { return getCohenD ( baselineMetricPerDimension , testMetricPerDimension , true ) ; } else if ( "pairedT" . equals ( method ) ) { return getEffectSizePairedT ( baselineMetricPerDimension , testMetricPerDimension ) ; } return Double . NaN ; }
Computes the effect size according to different methods: d and dLS are
adequate for not paired samples, whereas pairedT is better for paired
samples.

@param method one of "d", "dLS", "pairedT"
@return the effect size