|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.stat.inference.TTestImpl
edu.umbc.cs.maple.utils.PairedTTester
public class PairedTTester
A class to perform a statistical paired T-test on a set of data.
Copyright (c) 2008 Eric Eaton
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Constructor Summary | |
---|---|
PairedTTester()
|
Method Summary | |
---|---|
void |
addSample(double sample1value,
double sample2value)
Adds a matched pair of values. |
void |
addSample1(double value)
Adds the first number of a pair of values. |
void |
addSample2(double value)
Adds the second number of a pair of values. |
double |
pairedTTest()
Returns the significance level of a paired t-test of the two samples |
Methods inherited from class org.apache.commons.math.stat.inference.TTestImpl |
---|
df, getDistributionFactory, homoscedasticT, homoscedasticT, homoscedasticT, homoscedasticTTest, homoscedasticTTest, homoscedasticTTest, homoscedasticTTest, pairedT, pairedTTest, pairedTTest, t, t, t, t, t, t, tTest, tTest, tTest, tTest, tTest, tTest, tTest, tTest, tTest, tTest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PairedTTester()
Method Detail |
---|
public void addSample1(double value)
value
- public void addSample2(double value)
value
- public void addSample(double sample1value, double sample2value)
sample1value
- sample2value
- public double pairedTTest() throws org.apache.commons.math.MathException
org.apache.commons.math.MathException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |