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
    Constructor
    Description
     
  • Method Summary

    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)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShimodairaHasegawaStatistics

      public ShimodairaHasegawaStatistics()
  • Method Details

    • getOriginalTestStatistics

      public double[] getOriginalTestStatistics(double[] originalOptimisedLogLikelihoods, int numberOfTopologies)
      Specified by:
      getOriginalTestStatistics in interface TopologyTestEngine.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 interface TopologyTestEngine.StatisticsHandler
      Parameters:
      originalOptimisedLogLikelihoods - stored as [topology]
      replicateLogLikelihoods - store as [replicate][topology]
      numberOfReplicates - the number of replicates
      numberOfTopologies - the number of topologies
      Returns:
      the pValue array