@Test public void testSd() { System.out.println("sd"); TDistribution instance = new TDistribution(20); instance.rand(); assertEquals(Math.sqrt(10/9.0), instance.sd(), 1E-7); }
@Override public double sd() { return Math.sqrt(nu / (nu - 2.0)); }
TDistribution extends AbstractDistribution { @Override public double sd() { return Math.sqrt(nu / (nu - 2.0)); } }
TDistribution extends AbstractDistribution { @Override public double sd() { return Math.sqrt(nu / (nu - 2.0)); } TDistribution(int nu); }
TDistribution extends AbstractDistribution { @Override public double sd() { return Math.sqrt(nu / (nu - 2.0)); } TDistribution(int nu); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override String toString(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); double cdf2tiled(double x); double quantile2tiled(double p); }
TDistribution extends AbstractDistribution { @Override public double sd() { return Math.sqrt(nu / (nu - 2.0)); } TDistribution(int nu); @Override int length(); @Override double mean(); @Override double variance(); @Override double sd(); @Override double entropy(); @Override String toString(); @Override double rand(); @Override double p(double x); @Override double logp(double x); @Override double cdf(double x); @Override double quantile(double p); double cdf2tiled(double x); double quantile2tiled(double p); final int nu; }