@Override
    public double mean() {
        return mu;
    }
@Test
    public void testMean() {
        System.out.println("mean");
        LogisticDistribution instance = new LogisticDistribution(2.0, 1.0);
        instance.rand();
        assertEquals(2.0, instance.mean(), 1E-7);
    }