|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.statcato.statistics.inferential.HypothesisTest2Var
public class HypothesisTest2Var
A hypothesis test for 2 population variances.
Constructor Summary | |
---|---|
HypothesisTest2Var(int n1,
int n2,
double var1,
double var2,
double confidenceLevel,
int testType)
Constructor |
Method Summary | |
---|---|
java.lang.String |
criticalValue()
Returns the critical value corresponding to the given confidence level and type of test. |
int |
DOF1()
Returns the degree of freedom 1. |
int |
DOF2()
Returns the degree of freedom 2. |
double |
pValue()
Returns the p-value in a F distribution. |
double |
testStatistics()
Returns the test statistics F = var1 / var2. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HypothesisTest2Var(int n1, int n2, double var1, double var2, double confidenceLevel, int testType)
n1
- sample size 1n2
- sample size 2var1
- sample variance 1var2
- sample variance 2confidenceLevel
- confidence leveltestType
- type of test (as defined in HypothesisTest
)Method Detail |
---|
public double testStatistics()
public int DOF1()
public int DOF2()
public java.lang.String criticalValue()
HypothesisTest
public double pValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |