public class CochranMantelHaenszel
extends java.lang.Object
| Constructor and Description |
|---|
CochranMantelHaenszel(java.lang.String focalCode,
java.lang.String referenceCode,
VariableAttributes groupVariable,
VariableAttributes itemVariable,
boolean etsDelta) |
| Modifier and Type | Method and Description |
|---|---|
double |
cochranMantelHaenszel() |
double |
commonOddsRatio()
Computed only for the first two rows and first two columns in each strata
|
double[] |
commonOddsRatioConfidenceInterval(double commonOddsRatio)
Computes 95% confidence interval for the common odds ratio.
|
double |
commonOddsRatioVariance() |
java.lang.String |
etsBinayClassification(double cochranMantelHaenszel,
double pvalue,
double commonOddsRatio) |
double |
etsDelta(double commonOddsRatio) |
double |
focalTotalSize() |
java.lang.String |
getDatabaseString()
This method provides the results in a form that can be inserted into
a database table.
|
double |
getEffectSize() |
double[] |
getEffectSizeConfidenceInterval() |
java.lang.String |
getETSDifClassification() |
double |
getPValue() |
int |
getSampleSize() |
VariableName |
getVariableName() |
void |
increment(double strataScore,
java.lang.String groupValue,
double itemScore) |
double |
pF()
Computes the standardized mean difference (SMD).
|
java.lang.String |
printHeader() |
java.lang.String |
printTables()
From 1999 South Carolina PACT Technical Documentation
|
double[] |
smdConfidenceInterval(double standardizedMeanDifference)
Computes 95% confidence interval for the standardized mean difference.
|
java.lang.String |
smdDifClass() |
java.lang.String |
toString() |
double |
varianceSMD()
Compute variance of the standardized mean difference (SMD).
|
double |
zSMD()
Returns a Z test of the SMD statistic, Z_H(SMD) on page
194 of Zwick and Thayer (1996).
|
public CochranMantelHaenszel(java.lang.String focalCode,
java.lang.String referenceCode,
VariableAttributes groupVariable,
VariableAttributes itemVariable,
boolean etsDelta)
public void increment(double strataScore,
java.lang.String groupValue,
double itemScore)
strataScore - mathing score i.e. raw score, decile, or quintilegroupValue - examinees group membershipitemScore - examinees response to itempublic double focalTotalSize()
public double cochranMantelHaenszel()
public double commonOddsRatio()
public double commonOddsRatioVariance()
public double[] commonOddsRatioConfidenceInterval(double commonOddsRatio)
commonOddsRatio - public double[] smdConfidenceInterval(double standardizedMeanDifference)
standardizedMeanDifference - public double varianceSMD()
public double etsDelta(double commonOddsRatio)
public double pF()
public double zSMD()
public java.lang.String etsBinayClassification(double cochranMantelHaenszel,
double pvalue,
double commonOddsRatio)
public java.lang.String smdDifClass()
public VariableName getVariableName()
public double getPValue()
public int getSampleSize()
public double getEffectSize()
public double[] getEffectSizeConfidenceInterval()
public java.lang.String getETSDifClassification()
public java.lang.String printTables()
public java.lang.String printHeader()
public java.lang.String getDatabaseString()
public java.lang.String toString()
toString in class java.lang.Object