@Override
    public double sd() {
        return Math.sqrt(2 * nu);
    }
@Test
    public void testSd() {
        System.out.println("sd");
        ChiSquareDistribution instance = new ChiSquareDistribution(20);
        instance.rand();
        assertEquals(Math.sqrt(40), instance.sd(), 1E-7);
    }