javanpst.tests.multiple.incompleteConcordance
Class IncompleteConcordance
- java.lang.Object
-
- javanpst.tests.StatisticalTest
-
- javanpst.tests.multiple.incompleteConcordance.IncompleteConcordance
-
public class IncompleteConcordance extends StatisticalTest
A concordance coefficient-based test for incomplete classifications This procedure test rankings correlation of k rank procedures applied to incomplete classifications. Q statistic (approximated to a chi-square distribution) and W coefficient (Kendall's coefficient of concordance) are provided. Missing values are expressed as NULL values in the table
-
-
Constructor Summary
Constructors Constructor and Description IncompleteConcordance()Default builderIncompleteConcordance(DataTable newData, double lambda)Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclearData()Clears the data stored in the testvoiddoTest()Performs the testdoublegetPValue()Get p-valuedoublegetQ()Get Q statisticdoublegetW()Get W ratiojava.lang.StringprintData()Prints the data stored in the testjava.lang.StringprintMultipleComparisonsProcedureReport()Prints a report with the results of the multiple comparisons procedurejava.lang.StringprintReport()Prints a report with the results of the testvoidsetData(DataTable newData, double lambda)Sets data to test-
Methods inherited from class javanpst.tests.StatisticalTest
isDataReady, isPerformed
-
-
-
-
Constructor Detail
-
IncompleteConcordance
public IncompleteConcordance()
Default builder
-
IncompleteConcordance
public IncompleteConcordance(DataTable newData, double lambda)
Builder. Load data to test.- Parameters:
newData- data to test.lambda- number of objects ranked by each observer
-
-
Method Detail
-
clearData
public void clearData()
Clears the data stored in the test- Specified by:
clearDatain classStatisticalTest
-
setData
public void setData(DataTable newData, double lambda)
Sets data to test- Parameters:
newData- data to test.lambda- number of objects ranked by each observer
-
doTest
public void doTest()
Performs the test- Specified by:
doTestin classStatisticalTest
-
getQ
public double getQ()
Get Q statistic- Returns:
- Q statistic
-
getW
public double getW()
Get W ratio- Returns:
- W ratio
-
getPValue
public double getPValue()
Get p-value- Returns:
- p-value computed
-
printData
public java.lang.String printData()
Prints the data stored in the test- Specified by:
printDatain classStatisticalTest- Returns:
- Data stored
-
printReport
public java.lang.String printReport()
Prints a report with the results of the test- Specified by:
printReportin classStatisticalTest- Returns:
- Output report
-
printMultipleComparisonsProcedureReport
public java.lang.String printMultipleComparisonsProcedureReport()
Prints a report with the results of the multiple comparisons procedure- Returns:
- Output report
-
-
DMelt 3.0 © DataMelt by jWork.ORG