Class SimpleLinearRegressionTTest

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

public class SimpleLinearRegressionTTest
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<dk.alexandra.fresco.lib.fixed.SFixed,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Test for the null hypothesis H0: β = β0 where β is a coefficient in a linear model. The result is t-distributed with v = n-2 degrees of freedom, where n is the number of observations.
  • Constructor Summary

    Constructors 
    Constructor Description
    SimpleLinearRegressionTTest​(dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> estimate, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> b0, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> seSquared)  
  • 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

    • SimpleLinearRegressionTTest

      public SimpleLinearRegressionTTest​(dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> estimate, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> b0, dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed> seSquared)
  • 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>