Package pal.statistics
Class ShimodairaHasegawaStatistics
- java.lang.Object
-
- pal.statistics.ShimodairaHasegawaStatistics
-
- All Implemented Interfaces:
TopologyTestEngine.StatisticsHandler
public class ShimodairaHasegawaStatistics extends java.lang.Object implements TopologyTestEngine.StatisticsHandler
Title: ShimodairaHasegawaStatistics
Description:The Statistics Handler for the ShimodairaHasegawa test
- Version:
- 1.0
- Author:
- Matthew Goode
-
-
Constructor Summary
Constructors Constructor Description ShimodairaHasegawaStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getOriginalTestStatistics(double[] originalOptimisedLogLikelihoods, int numberOfTopologies)
double[]
getPValues(double[] originalOptimisedLogLikelihoods, double[][] replicateLogLikelihoods, int numberOfReplicates, int numberOfTopologies)
The pValue in this case represents the alpha value ( CI 1-alpha) when topology becomes significantly different from the ML topology (or stops being not significantly different)
-
-
-
Method Detail
-
getOriginalTestStatistics
public double[] getOriginalTestStatistics(double[] originalOptimisedLogLikelihoods, int numberOfTopologies)
- Specified by:
getOriginalTestStatistics
in interfaceTopologyTestEngine.StatisticsHandler
-
getPValues
public double[] getPValues(double[] originalOptimisedLogLikelihoods, double[][] replicateLogLikelihoods, int numberOfReplicates, int numberOfTopologies)
The pValue in this case represents the alpha value ( CI 1-alpha) when topology becomes significantly different from the ML topology (or stops being not significantly different)- Specified by:
getPValues
in interfaceTopologyTestEngine.StatisticsHandler
- Parameters:
originalOptimisedLogLikelihoods
- stored as [topology]replicateLogLikelihoods
- store as [replicate][topology]numberOfTopologies
- the number of topologiesnumberOfReplicates
- the number of replicates- Returns:
- the pValue array
-
-