Class OneSampleTTest

java.lang.Object
dk.alexandra.fresco.stat.tests.OneSampleTTest
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>

public class OneSampleTTest
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Compute a t-test statistics on a sample for the null hypothesis the mean of the sample is equal to mu.
  • Constructor Summary

    Constructors 
    Constructor Description
    OneSampleTTest​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> observed, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> mu)  
  • Method Summary

    Modifier and Type Method Description
    dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)  

    Methods inherited from class java.lang.Object

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

    • OneSampleTTest

      public OneSampleTTest​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> observed, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> mu)
  • Method Details

    • buildComputation

      public dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
      Specified by:
      buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>