### Question:
BasicStandardisedMeanDifference extends AbstractBasicRelativeEffect<ContinuousMeasurement> { @Override public Double getError() { return Math.sqrt(square(getCorrectionJ()) * getCohenVariance()); } BasicStandardisedMeanDifference(ContinuousMeasurement baseline,
			ContinuousMeasurement subject); @Override Double getError(); String getName(); Distribution getDistribution(); @Override AxisType getAxisType();  }### Answer:
@Test public void testGetError() { double firstFactor = (double) d_sampleSize / ((double) s_subjSize * (double) s_baslSize); double secondFactor = square(getSMD()) / (2 * ((double) d_sampleSize - 3.94)); double expected = Math.sqrt(firstFactor + secondFactor); assertEquals(expected, d_smd.getError(), 0.01); }
@Test public void testGetCI() { double t = StudentTTable.getT(d_sampleSize - 2); double upper = d_smd.getConfidenceInterval().getPointEstimate() + d_smd.getError() * t; double lower = d_smd.getConfidenceInterval().getPointEstimate() - d_smd.getError() * t; Interval<Double> interval = d_smd.getConfidenceInterval(); assertEquals(upper, interval.getUpperBound(),0.0001); assertEquals(lower, interval.getLowerBound(),0.0001); }