Package pal.statistics
Class ShimodairaHasegawaStatistics
java.lang.Object
pal.statistics.ShimodairaHasegawaStatistics
- All Implemented Interfaces:
TopologyTestEngine.StatisticsHandler
public class ShimodairaHasegawaStatistics
extends Object
implements TopologyTestEngine.StatisticsHandler
Title: ShimodairaHasegawaStatistics
Description:The Statistics Handler for the ShimodairaHasegawa test
- Version:
- 1.0
- Author:
- Matthew Goode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
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)
-
Constructor Details
-
ShimodairaHasegawaStatistics
public ShimodairaHasegawaStatistics()
-
-
Method Details
-
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
-