|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.statcato.statistics.inferential.HypothesisTest2MeanSigmaUnknown
public class HypothesisTest2MeanSigmaUnknown
A hypothesis test for 2 population means (population standard deviations sigmas unknown).
| Constructor Summary | |
|---|---|
HypothesisTest2MeanSigmaUnknown(int n1,
int n2,
double xBar1,
double xBar2,
double s1,
double s2,
double diff,
double confidenceLevel,
int testType,
boolean varEqual)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
criticalValue()
Returns the critical value corresponding to the given confidence level and type of test. |
int |
DOF()
Returns the degree of freedom. |
double |
pValue()
Returns the p-value. |
double |
testStatistics()
Returns the test statistics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HypothesisTest2MeanSigmaUnknown(int n1,
int n2,
double xBar1,
double xBar2,
double s1,
double s2,
double diff,
double confidenceLevel,
int testType,
boolean varEqual)
n1 - sample size 1n2 - sample size 2xBar1 - sample mean 1xBar2 - sample mean 2s1 - sample standard deviation 1s2 - sample standard deviation 2diff - hypothesized difference in population meanconfidenceLevel - confidence leveltestType - type of test (as defined in HypothesisTest)varEqual - whether population variances are assumed equal| Method Detail |
|---|
public double testStatistics()
public int DOF()
public java.lang.String criticalValue()
HypothesisTestpublic double pValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||