Class LinearRegression

java.lang.Object
dk.alexandra.fresco.stat.regression.linear.LinearRegression
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<LinearRegression.LinearRegressionResult,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>

public class LinearRegression
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<LinearRegression.LinearRegressionResult,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Fit a linear model to the given dataset and output estimates for the coefficients and some model diagnostics (see LinearRegression.LinearRegressionResult).
  • Constructor Details

    • LinearRegression

      public LinearRegression​(List<ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>>> observations, ArrayList<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.lib.fixed.SFixed>> y)
  • Method Details