public class TTest extends Object implements OneSampleTest
StatisticTest.H1
Constructor and Description |
---|
TTest() |
TTest(double hypothMean,
double sampleMean,
double sampleDev,
double sampleSize) |
TTest(StatisticTest.H1 h1,
double hypothMean,
double sampleMean,
double sampleDev,
double sampleSize) |
TTest(StatisticTest.H1 h1,
double hypothMean,
Vec data) |
Modifier and Type | Method and Description |
---|---|
String |
getAltVar() |
String |
getNullVar() |
String[] |
getTestVars() |
double |
pValue() |
void |
setAltHypothesis(StatisticTest.H1 h1) |
void |
setAltVar(double altVar) |
void |
setTestUsingData(Vec data)
Sets the statistics that will be tested against an alternate hypothesis.
|
void |
setTestVars(double[] testVars) |
String |
testName() |
StatisticTest.H1[] |
validAlternate() |
public TTest(StatisticTest.H1 h1, double hypothMean, double sampleMean, double sampleDev, double sampleSize)
public TTest(double hypothMean, double sampleMean, double sampleDev, double sampleSize)
public TTest(StatisticTest.H1 h1, double hypothMean, Vec data)
public TTest()
public void setTestUsingData(Vec data)
OneSampleTest
setTestUsingData
in interface OneSampleTest
public String[] getTestVars()
getTestVars
in interface OneSampleTest
public void setTestVars(double[] testVars)
setTestVars
in interface OneSampleTest
public String getAltVar()
getAltVar
in interface OneSampleTest
public void setAltVar(double altVar)
setAltVar
in interface OneSampleTest
public String getNullVar()
getNullVar
in interface OneSampleTest
public StatisticTest.H1[] validAlternate()
validAlternate
in interface StatisticTest
public void setAltHypothesis(StatisticTest.H1 h1)
setAltHypothesis
in interface StatisticTest
public String testName()
testName
in interface StatisticTest
public double pValue()
pValue
in interface StatisticTest
Copyright © 2017. All rights reserved.