javanpst.tests.multiple.pageTest
Class PageTest
- java.lang.Object
-
- javanpst.tests.StatisticalTest
-
- javanpst.tests.multiple.pageTest.PageTest
-
public class PageTest extends StatisticalTest
The Page's test. This test can be applied to reject as null hypothesis that the n medians of the treatments (columns) are equal when applied to k blocks (rows). Alternative states that treatments' median are set in increasing order Ties are broken by the midrank method (e.g. a tie in ranks 6 and 7 is assumed as a 6.5 rank for both values).
-
-
Constructor Summary
Constructors Constructor and Description PageTest()Default builderPageTest(DataTable newData)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 testdoublegetAsymptoticPValue()Get asymptotic p-valuedoublegetExactPValue()Get exact p-valuedoublegetL()Get L statisticjava.lang.StringprintData()Prints the data stored in the testjava.lang.StringprintReport()Prints a report with the results of the testvoidsetData(DataTable newData)Sets data to test-
Methods inherited from class javanpst.tests.StatisticalTest
isDataReady, isPerformed
-
-
-
-
Constructor Detail
-
PageTest
public PageTest()
Default builder
-
PageTest
public PageTest(DataTable newData)
Builder. Load data to test.- Parameters:
newData- data to test.
-
-
Method Detail
-
clearData
public void clearData()
Clears the data stored in the test- Specified by:
clearDatain classStatisticalTest
-
setData
public void setData(DataTable newData)
Sets data to test- Parameters:
newData- data to test.
-
doTest
public void doTest()
Performs the test- Specified by:
doTestin classStatisticalTest
-
getL
public double getL()
Get L statistic- Returns:
- L statistic
-
getAsymptoticPValue
public double getAsymptoticPValue()
Get asymptotic p-value- Returns:
- asymptotic p-value
-
getExactPValue
public double getExactPValue()
Get exact p-value- Returns:
- exact p-value
-
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
-
-
DMelt 3.0 © DataMelt by jWork.ORG