MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / cdf

Method cdf

JSAT/src/jsat/distributions/Beta.java:38–46  ·  view source on GitHub ↗
(double x)

Source from the content-addressed store, hash-verified

36 }
37
38 @Override
39 public double cdf(double x)
40 {
41 if(x <= 0)
42 return 0;
43 else if(x >= 1)
44 return 1;
45 return betaIncReg(x, alpha, beta);
46 }
47
48 @Override
49 public double invCdf(double p)

Callers 6

testCdfMethod · 0.45
testCdfMethod · 0.45
pValueMethod · 0.45
pValueMethod · 0.45
dCalcMethod · 0.45
pValueMethod · 0.45

Calls 1

betaIncRegMethod · 0.80

Tested by 6

testCdfMethod · 0.36
testCdfMethod · 0.36
pValueMethod · 0.36
pValueMethod · 0.36
dCalcMethod · 0.36
pValueMethod · 0.36