### Question:
BasicStandardisedMeanDifference extends AbstractBasicRelativeEffect<ContinuousMeasurement> { double getCohenVariance() { double frac1 = (double) getSampleSize() / ((double) d_subject.getSampleSize() * (double) d_baseline.getSampleSize()); double frac2 = square(getCohenD()) / (2D * (double) getSampleSize()); return (frac1 + frac2); } BasicStandardisedMeanDifference(ContinuousMeasurement baseline,
			ContinuousMeasurement subject); @Override Double getError(); String getName(); Distribution getDistribution(); @Override AxisType getAxisType();  }### Answer:
@Test public void testGetCohenVariance() { double expected = (double) d_sampleSize/((double) s_subjSize * (double) s_baslSize) + square(d_smd.getCohenD()) / (2 * (double) d_sampleSize); assertEquals(expected, d_smd.getCohenVariance(), 0.0001); }