org.apache.commons.math.distribution.DistributionFactory Java Examples

The following examples show how to use org.apache.commons.math.distribution.DistributionFactory. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ChiSquareTestImpl.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * 
 * @return a DistributionFactory
 */
protected DistributionFactory getDistributionFactory() {
    if (distributionFactory == null) {
        distributionFactory = DistributionFactory.newInstance();
    }
    return distributionFactory;
}
 
Example #2
Source File: TTestImpl.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating TDistribution instances.
 * @return a distribution factory.
 */
protected DistributionFactory getDistributionFactory() {
    if (distributionFactory == null) {
        distributionFactory = DistributionFactory.newInstance();
    }
    return distributionFactory;
}
 
Example #3
Source File: Nopol2017_0062_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #4
Source File: SimpleRegression.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #5
Source File: ChiSquareTestImpl_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * @deprecated inject ChiSquaredDistribution instances directly instead of
 *             using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}
 
Example #6
Source File: ChiSquareTestImpl_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * @deprecated inject ChiSquaredDistribution instances directly instead of
 *             using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}
 
Example #7
Source File: Math_102_ChiSquareTestImpl_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * @deprecated inject ChiSquaredDistribution instances directly instead of
 *             using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}
 
Example #8
Source File: Math_102_ChiSquareTestImpl_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * @deprecated inject ChiSquaredDistribution instances directly instead of
 *             using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}
 
Example #9
Source File: Math_105_SimpleRegression_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #10
Source File: Math_105_SimpleRegression_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #11
Source File: TTestImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating TDistribution instances.
 * @return a distribution factory.
 * @deprecated inject TDistribution directly instead of using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}
 
Example #12
Source File: Nopol2017_0062_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #13
Source File: Cardumen_00104_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #14
Source File: Cardumen_00104_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #15
Source File: Cardumen_00160_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #16
Source File: Cardumen_00160_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #17
Source File: Cardumen_0034_s.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #18
Source File: Cardumen_0034_t.java    From coming with MIT License 2 votes vote down vote up
/**
 * Uses distribution framework to get a t distribution instance 
 * with df = n - 2
 *
 * @return t distribution with df = n - 2
 */
private TDistribution getTDistribution() {
    return DistributionFactory.newInstance().createTDistribution(n - 2);
}
 
Example #19
Source File: ChiSquareTestImpl.java    From cacheonix-core with GNU Lesser General Public License v2.1 2 votes vote down vote up
/**
 * Gets a DistributionFactory to use in creating ChiSquaredDistribution instances.
 * @deprecated inject ChiSquaredDistribution instances directly instead of
 *             using a factory.
 */
protected DistributionFactory getDistributionFactory() {
    return DistributionFactory.newInstance();
}