Home
last modified time | relevance | path

Searched refs:degreesOfFreedom (Results 1 – 7 of 7) sorted by relevance

/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DTDistributionImpl.java48 private double degreesOfFreedom; field in TDistributionImpl
62 public TDistributionImpl(double degreesOfFreedom, double inverseCumAccuracy) { in TDistributionImpl() argument
64 setDegreesOfFreedomInternal(degreesOfFreedom); in TDistributionImpl()
72 public TDistributionImpl(double degreesOfFreedom) { in TDistributionImpl() argument
73 this(degreesOfFreedom, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); in TDistributionImpl()
82 public void setDegreesOfFreedom(double degreesOfFreedom) { in setDegreesOfFreedom() argument
83 setDegreesOfFreedomInternal(degreesOfFreedom); in setDegreesOfFreedom()
96 this.degreesOfFreedom = newDegreesOfFreedom; in setDegreesOfFreedomInternal()
104 return degreesOfFreedom; in getDegreesOfFreedom()
116 final double n = degreesOfFreedom; in density()
[all …]
DFDistributionImpl.java210 public void setNumeratorDegreesOfFreedom(double degreesOfFreedom) { in setNumeratorDegreesOfFreedom() argument
211 setNumeratorDegreesOfFreedomInternal(degreesOfFreedom); in setNumeratorDegreesOfFreedom()
220 private void setNumeratorDegreesOfFreedomInternal(double degreesOfFreedom) { in setNumeratorDegreesOfFreedomInternal() argument
221 if (degreesOfFreedom <= 0.0) { in setNumeratorDegreesOfFreedomInternal()
223 LocalizedFormats.NOT_POSITIVE_DEGREES_OF_FREEDOM, degreesOfFreedom); in setNumeratorDegreesOfFreedomInternal()
225 this.numeratorDegreesOfFreedom = degreesOfFreedom; in setNumeratorDegreesOfFreedomInternal()
244 public void setDenominatorDegreesOfFreedom(double degreesOfFreedom) { in setDenominatorDegreesOfFreedom() argument
245 setDenominatorDegreesOfFreedomInternal(degreesOfFreedom); in setDenominatorDegreesOfFreedom()
254 private void setDenominatorDegreesOfFreedomInternal(double degreesOfFreedom) { in setDenominatorDegreesOfFreedomInternal() argument
255 if (degreesOfFreedom <= 0.0) { in setDenominatorDegreesOfFreedomInternal()
[all …]
DChiSquaredDistributionImpl.java92 public void setDegreesOfFreedom(double degreesOfFreedom) { in setDegreesOfFreedom() argument
93 setDegreesOfFreedomInternal(degreesOfFreedom); in setDegreesOfFreedom()
99 private void setDegreesOfFreedomInternal(double degreesOfFreedom) { in setDegreesOfFreedomInternal() argument
100 gamma.setAlpha(degreesOfFreedom / 2.0); in setDegreesOfFreedomInternal()
DFDistribution.java39 void setNumeratorDegreesOfFreedom(double degreesOfFreedom); in setNumeratorDegreesOfFreedom() argument
53 void setDenominatorDegreesOfFreedom(double degreesOfFreedom); in setDenominatorDegreesOfFreedom() argument
DTDistribution.java39 void setDegreesOfFreedom(double degreesOfFreedom); in setDegreesOfFreedom() argument
DChiSquaredDistribution.java39 void setDegreesOfFreedom(double degreesOfFreedom); in setDegreesOfFreedom() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
DTTestImpl.java989 double degreesOfFreedom = 0; in tTest() local
990 degreesOfFreedom = df(v1, v2, n1, n2); in tTest()
991 distribution.setDegreesOfFreedom(degreesOfFreedom); in tTest()
1014 double degreesOfFreedom = n1 + n2 - 2; in homoscedasticTTest() local
1015 distribution.setDegreesOfFreedom(degreesOfFreedom); in homoscedasticTTest()